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 MoSynchronizedValueContainer implements IMoValueContainer {
042: private IMoValueContainer pem_moVal = null;
043:
044: public MoSynchronizedValueContainer(IMoValueContainer xValue) {
045: this .pem_moVal = xValue;
046: }
047:
048: public synchronized MoChildDescriptor pcmf_addDesc(String xName,
049: MoChildDescriptor xDesc) {
050: return pem_moVal.pcmf_addDesc(xName, xDesc);
051: }
052:
053: public synchronized IMoObserver pcmf_addObserver(IMoObserver xObserv) {
054: return pem_moVal.pcmf_addObserver(xObserv);
055: }
056:
057: public synchronized IMoValue pcmf_addValue(String xName,
058: IMoValue xValue) {
059: return pem_moVal.pcmf_addValue(xName, xValue);
060: }
061:
062: public synchronized IMoValue pcmf_cloneModelValue(boolean xChilds,
063: boolean xFull) {
064: return pem_moVal.pcmf_cloneModelValue(xChilds, xFull);
065: }
066:
067: public synchronized IMoValue pcmf_cloneModelValue(boolean xChilds) {
068: return pem_moVal.pcmf_cloneModelValue(xChilds);
069: }
070:
071: public synchronized Object pcmf_getAdditionalnfo() {
072: return pem_moVal.pcmf_getAdditionalnfo();
073: }
074:
075: public synchronized MoChildDescriptor pcmf_getDesc(String xName) {
076: return pem_moVal.pcmf_getDesc(xName);
077: }
078:
079: public synchronized IMoValue pcmf_getModelValue(String xName) {
080: return pem_moVal.pcmf_getModelValue(xName);
081: }
082:
083: public synchronized String pcmf_getMyTemplate() {
084: return pem_moVal.pcmf_getMyTemplate();
085: }
086:
087: public synchronized IMoValue pcmf_getMyTemplateObj() {
088: return pem_moVal.pcmf_getMyTemplateObj();
089: }
090:
091: public synchronized IMoValue pcmf_getNewModelValue(String xName,
092: boolean xChilds) {
093: return pem_moVal.pcmf_getNewModelValue(xName, xChilds);
094: }
095:
096: public synchronized Vector pcmf_getObservers() {
097: return pem_moVal.pcmf_getObservers();
098: }
099:
100: public synchronized IMoValueContainer pcmf_getParent() {
101: return pem_moVal.pcmf_getParent();
102: }
103:
104: public synchronized IMoReader pcmf_getReader() {
105: return pem_moVal.pcmf_getReader();
106: }
107:
108: public synchronized IMoSingleValue pcmf_getSingleValue(String xName) {
109: return pem_moVal.pcmf_getSingleValue(xName);
110: }
111:
112: public synchronized Iterator pcmf_getSubValueIt() {
113: return pem_moVal.pcmf_getSubValueIt();
114: }
115:
116: public synchronized Iterator pcmf_getSubValueNameIt() {
117: return pem_moVal.pcmf_getSubValueNameIt();
118: }
119:
120: public synchronized IUnTransformer pcmf_getTransformer() {
121: return pem_moVal.pcmf_getTransformer();
122: }
123:
124: public synchronized IMoMappingErrorHandler pcmf_getUiErrorGW() {
125: return pem_moVal.pcmf_getUiErrorGW();
126: }
127:
128: public synchronized UnComponent pcmf_getUiMap() {
129: return pem_moVal.pcmf_getUiMap();
130: }
131:
132: public synchronized Object pcmf_getValue() {
133: return pem_moVal.pcmf_getValue();
134: }
135:
136: public synchronized IMoValueContainer pcmf_getValueContainer(
137: String xName) {
138: return pem_moVal.pcmf_getValueContainer(xName);
139: }
140:
141: public synchronized IMoWriter pcmf_getWriter() {
142: return pem_moVal.pcmf_getWriter();
143: }
144:
145: public synchronized boolean pcmf_model2UI() {
146: return pem_moVal.pcmf_model2UI();
147: }
148:
149: public synchronized boolean pcmf_read(IMoValue xTpl) {
150: return pem_moVal.pcmf_read(xTpl);
151: }
152:
153: public synchronized IMoObserver pcmf_removeObserver(IMoObserver xObs) {
154: return pem_moVal.pcmf_removeObserver(xObs);
155: }
156:
157: public synchronized IMoValue pcmf_removeValue(String xName) {
158: return pem_moVal.pcmf_removeValue(xName);
159: }
160:
161: public synchronized void pcmf_setAdditionalInfo(Object xInfo) {
162: pem_moVal.pcmf_setAdditionalInfo(xInfo);
163: }
164:
165: public synchronized String pcmf_setMyTemplate(String xTpl) {
166: return pem_moVal.pcmf_setMyTemplate(xTpl);
167: }
168:
169: public synchronized IMoValue pcmf_setMyTemplateObj(IMoValue xTpl) {
170: return pem_moVal.pcmf_setMyTemplateObj(xTpl);
171: }
172:
173: public synchronized IMoReader pcmf_setReader(IMoReader xReader) {
174: return pem_moVal.pcmf_setReader(xReader);
175: }
176:
177: public synchronized IUnTransformer pcmf_setTransformer(
178: IUnTransformer xTr) {
179: return pem_moVal.pcmf_setTransformer(xTr);
180: }
181:
182: public synchronized IMoMappingErrorHandler pcmf_setUiErrorGW(
183: IMoMappingErrorHandler xGw) {
184: return pem_moVal.pcmf_setUiErrorGW(xGw);
185: }
186:
187: public synchronized UnComponent pcmf_setUiMap(UnComponent xMap) {
188: return pem_moVal.pcmf_setUiMap(xMap);
189: }
190:
191: public synchronized IUnValidator pcmf_setValidator(
192: IUnValidator xValidator) {
193: return pem_moVal.pcmf_setValidator(xValidator);
194: }
195:
196: public synchronized void pcmf_setValue(Object xValue) {
197: pem_moVal.pcmf_setValue(xValue);
198: }
199:
200: public synchronized IMoWriter pcmf_setWriter(IMoWriter xWriter) {
201: return pem_moVal.pcmf_setWriter(xWriter);
202: }
203:
204: public synchronized boolean pcmf_UI2Model() {
205: return pem_moVal.pcmf_UI2Model();
206: }
207:
208: public synchronized boolean pcmf_validate() {
209: return pem_moVal.pcmf_validate();
210: }
211:
212: public synchronized boolean pcmf_write() {
213: return pem_moVal.pcmf_write();
214: }
215: }
|