001: // @@
002: // @@
003: /*
004: * Wi.Ser Framework
005: *
006: * Version: 1.8.1, 20-September-2007
007: * Copyright (C) 2005 Dirk von der Weiden <dvdw@imail.de>
008: *
009: * This library is free software; you can redistribute it and/or
010: * modify it under the terms of the GNU Lesser General Public
011: * License as published by the Free Software Foundation; either
012: * version 2 of the License, or (at your option) any later version.
013: *
014: * This library is distributed in the hope that it will be useful,
015: * but WITHOUT ANY WARRANTY; without even the implied warranty of
016: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
017: * Lesser General Public License for more details.
018: *
019: * You should have received a copy of the GNU Lesser General Public
020: * License along with this library located in LGPL.txt in the
021: * license directory; if not, write to the
022: * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
023: * Boston, MA 02111-1307, USA.
024: *
025: * If this agreement does not cover your requirements, please contact us
026: * via email to get detailed information about the commercial license
027: * or our service offerings!
028: *
029: */
030: // @@
031: package de.ug2t.model.values;
032:
033: import java.util.*;
034:
035: import de.ug2t.model.*;
036: import de.ug2t.model.persistence.*;
037: import de.ug2t.unifiedGui.*;
038: import de.ug2t.unifiedGui.transformer.*;
039: import de.ug2t.unifiedGui.validator.*;
040:
041: public class MoSynchronizedSingleValue implements IMoValue {
042: private IMoValue pem_moVal = null;
043:
044: public MoSynchronizedSingleValue(IMoValue xValue) {
045: this .pem_moVal = xValue;
046: }
047:
048: public synchronized IMoObserver pcmf_addObserver(IMoObserver xObserv) {
049: return pem_moVal.pcmf_addObserver(xObserv);
050: }
051:
052: public synchronized IMoValue pcmf_cloneModelValue(boolean xChilds,
053: boolean xFull) {
054: return pem_moVal.pcmf_cloneModelValue(xChilds, xFull);
055: }
056:
057: public synchronized IMoValue pcmf_cloneModelValue(boolean xChilds) {
058: return pem_moVal.pcmf_cloneModelValue(xChilds);
059: }
060:
061: public synchronized Object pcmf_getAdditionalnfo() {
062: return pem_moVal.pcmf_getAdditionalnfo();
063: }
064:
065: public synchronized String pcmf_getMyTemplate() {
066: return pem_moVal.pcmf_getMyTemplate();
067: }
068:
069: public synchronized IMoValue pcmf_getMyTemplateObj() {
070: return pem_moVal.pcmf_getMyTemplateObj();
071: }
072:
073: public synchronized Vector pcmf_getObservers() {
074: return pem_moVal.pcmf_getObservers();
075: }
076:
077: public synchronized IMoValueContainer pcmf_getParent() {
078: return pem_moVal.pcmf_getParent();
079: }
080:
081: public synchronized IMoReader pcmf_getReader() {
082: return pem_moVal.pcmf_getReader();
083: }
084:
085: public synchronized IUnTransformer pcmf_getTransformer() {
086: return pem_moVal.pcmf_getTransformer();
087: }
088:
089: public synchronized IMoMappingErrorHandler pcmf_getUiErrorGW() {
090: return pem_moVal.pcmf_getUiErrorGW();
091: }
092:
093: public synchronized UnComponent pcmf_getUiMap() {
094: return pem_moVal.pcmf_getUiMap();
095: }
096:
097: public synchronized Object pcmf_getValue() {
098: return pem_moVal.pcmf_getValue();
099: }
100:
101: public synchronized IMoWriter pcmf_getWriter() {
102: return pem_moVal.pcmf_getWriter();
103: }
104:
105: public synchronized boolean pcmf_model2UI() {
106: return pem_moVal.pcmf_model2UI();
107: }
108:
109: public synchronized boolean pcmf_read(IMoValue xTpl) {
110: return pem_moVal.pcmf_read(xTpl);
111: }
112:
113: public synchronized IMoObserver pcmf_removeObserver(IMoObserver xObs) {
114: return pem_moVal.pcmf_removeObserver(xObs);
115: }
116:
117: public synchronized void pcmf_setAdditionalInfo(Object xInfo) {
118: pem_moVal.pcmf_setAdditionalInfo(xInfo);
119: }
120:
121: public synchronized String pcmf_setMyTemplate(String xTpl) {
122: return pem_moVal.pcmf_setMyTemplate(xTpl);
123: }
124:
125: public synchronized IMoValue pcmf_setMyTemplateObj(IMoValue xTpl) {
126: return pem_moVal.pcmf_setMyTemplateObj(xTpl);
127: }
128:
129: public synchronized IMoReader pcmf_setReader(IMoReader xReader) {
130: return pem_moVal.pcmf_setReader(xReader);
131: }
132:
133: public synchronized IUnTransformer pcmf_setTransformer(
134: IUnTransformer xTr) {
135: return pem_moVal.pcmf_setTransformer(xTr);
136: }
137:
138: public synchronized IMoMappingErrorHandler pcmf_setUiErrorGW(
139: IMoMappingErrorHandler xGw) {
140: return pem_moVal.pcmf_setUiErrorGW(xGw);
141: }
142:
143: public synchronized UnComponent pcmf_setUiMap(UnComponent xMap) {
144: return pem_moVal.pcmf_setUiMap(xMap);
145: }
146:
147: public synchronized IUnValidator pcmf_setValidator(
148: IUnValidator xValidator) {
149: return pem_moVal.pcmf_setValidator(xValidator);
150: }
151:
152: public synchronized void pcmf_setValue(Object xValue) {
153: pem_moVal.pcmf_setValue(xValue);
154: }
155:
156: public synchronized IMoWriter pcmf_setWriter(IMoWriter xWriter) {
157: return pem_moVal.pcmf_setWriter(xWriter);
158: }
159:
160: public synchronized boolean pcmf_UI2Model() {
161: return pem_moVal.pcmf_UI2Model();
162: }
163:
164: public synchronized boolean pcmf_validate() {
165: return pem_moVal.pcmf_validate();
166: }
167:
168: public synchronized boolean pcmf_write() {
169: return pem_moVal.pcmf_write();
170: }
171:
172: }
|