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 interface IMoValue {
042: /**
043: * <p>
044: * Does ...
045: * </p>
046: * <p>
047: *
048: *
049: *
050: * @return a IUnValidator with ...
051: * </p>
052: * <p>
053: * @param xValidator
054: * ...
055: * </p>
056: */
057: public IUnValidator pcmf_setValidator(IUnValidator xValidator);
058:
059: /**
060: * <p>
061: * Does ...
062: * </p>
063: * <p>
064: *
065: *
066: *
067: * @return a boolean with ...
068: * </p>
069: */
070: public boolean pcmf_validate();
071:
072: /**
073: * <p>
074: * Does ...
075: * </p>
076: * <p>
077: *
078: *
079: *
080: * @return a boolean with ...
081: * </p>
082: */
083: public boolean pcmf_UI2Model();
084:
085: /**
086: * <p>
087: * Does ...
088: * </p>
089: * <p>
090: *
091: *
092: *
093: * @return a boolean with ...
094: * </p>
095: */
096: public boolean pcmf_model2UI();
097:
098: /**
099: * <p>
100: * Does ...
101: * </p>
102: * <p>
103: *
104: *
105: *
106: * @return a UnComponent with ...
107: * </p>
108: * <p>
109: * @param xMap
110: * ...
111: * </p>
112: */
113: public UnComponent pcmf_setUiMap(UnComponent xMap);
114:
115: /**
116: * <p>
117: * Does ...
118: * </p>
119: * <p>
120: *
121: *
122: * @return a IMoValue with ...
123: * </p>
124: */
125: public IMoValue pcmf_cloneModelValue(boolean xChilds);
126:
127: public IMoValue pcmf_cloneModelValue(boolean xChilds, boolean xFull);
128:
129: /**
130: * <p>
131: * Does ...
132: * </p>
133: * <p>
134: *
135: *
136: *
137: * @return a IUnTransformer with ...
138: * </p>
139: * <p>
140: * @param xTr
141: * ...
142: * </p>
143: */
144: public IUnTransformer pcmf_setTransformer(IUnTransformer xTr);
145:
146: /**
147: * <p>
148: * Does ...
149: * </p>
150: * <p>
151: *
152: *
153: *
154: * @return a IMoObserver with ...
155: * </p>
156: * <p>
157: * @param xObserv
158: * ...
159: * </p>
160: */
161: public IMoObserver pcmf_addObserver(IMoObserver xObserv);
162:
163: /**
164: * <p>
165: * Does ...
166: * </p>
167: * <p>
168: *
169: *
170: *
171: * @return a IMoObserver with ...
172: * </p>
173: * <p>
174: * @param xObserv
175: * ...
176: * </p>
177: */
178: public IMoObserver pcmf_removeObserver(IMoObserver xObs);
179:
180: /**
181: * <p>
182: * Does ...
183: * </p>
184: * <p>
185: *
186: *
187: *
188: * @return a Type with ...
189: * </p>
190: * <p>
191: * @param ...
192: * </p>
193: */
194: public IMoMappingErrorHandler pcmf_setUiErrorGW(
195: IMoMappingErrorHandler xGw);
196:
197: /**
198: * <p>
199: * Does ...
200: * </p>
201: * <p>
202: *
203: *
204: *
205: * @return a Type with ...
206: * </p>
207: * <p>
208: * @param ...
209: * </p>
210: */
211: public boolean pcmf_write();
212:
213: /**
214: * <p>
215: * Does ...
216: * </p>
217: * <p>
218: *
219: *
220: *
221: * @return a Type with ...
222: * </p>
223: * <p>
224: * @param ...
225: * </p>
226: */
227: public boolean pcmf_read(IMoValue xTpl);
228:
229: /**
230: * <p>
231: * Does...
232: * </p>
233: * <p>
234: *
235: * @return a Type with
236: * </p>
237: * <p>
238: * @param
239: * </p>
240: */
241: public IMoReader pcmf_setReader(IMoReader xReader);
242:
243: /**
244: * <p>
245: * Does...
246: * </p>
247: * <p>
248: *
249: * @return a Type with
250: * </p>
251: * <p>
252: * @param
253: * </p>
254: */
255: public IMoWriter pcmf_setWriter(IMoWriter xWriter);
256:
257: /**
258: * <p>
259: * Does...
260: * </p>
261: * <p>
262: *
263: * @return a Type with
264: * </p>
265: * <p>
266: * @param
267: * </p>
268: */
269: public IMoReader pcmf_getReader();
270:
271: /**
272: * <p>
273: * Does ...
274: * </p>
275: * <p>
276: *
277: *
278: *
279: * @return a IUnTransformer with ...
280: * </p>
281: * <p>
282: * @param xTr
283: * ...
284: * </p>
285: */
286: public IUnTransformer pcmf_getTransformer();
287:
288: /**
289: * <p>
290: * Does ...
291: * </p>
292: * <p>
293: *
294: *
295: *
296: * @return a Type with ...
297: * </p>
298: * <p>
299: * @param ...
300: * </p>
301: */
302: public IMoMappingErrorHandler pcmf_getUiErrorGW();
303:
304: /**
305: * <p>
306: * Does ...
307: * </p>
308: * <p>
309: *
310: *
311: *
312: * @return a UnComponent with ...
313: * </p>
314: * <p>
315: * @param xMap
316: * ...
317: * </p>
318: */
319: public UnComponent pcmf_getUiMap();
320:
321: /**
322: * <p>
323: * Does ...
324: * </p>
325: * <p>
326: *
327: *
328: *
329: * @return a UnComponent with ...
330: * </p>
331: * <p>
332: * @param xMap
333: * ...
334: * </p>
335: */
336: public Vector pcmf_getObservers();
337:
338: /**
339: * <p>
340: * Does...
341: * </p>
342: * <p>
343: *
344: * @return a Type with
345: * </p>
346: * <p>
347: * @param
348: * </p>
349: */
350: public IMoWriter pcmf_getWriter();
351:
352: /**
353: * <p>
354: * Does...
355: * </p>
356: * <p>
357: *
358: * @return a Type with
359: * </p>
360: * <p>
361: * @param
362: * </p>
363: */
364: public String pcmf_getMyTemplate();
365:
366: /**
367: * <p>
368: * Does...
369: * </p>
370: * <p>
371: *
372: * @return a Type with
373: * </p>
374: * <p>
375: * @param
376: * </p>
377: */
378: public String pcmf_setMyTemplate(String xTpl);
379:
380: /**
381: * <p>
382: * Does...
383: * </p>
384: * <p>
385: *
386: * @return a Type with
387: * </p>
388: * <p>
389: * @param
390: * </p>
391: */
392: public IMoValue pcmf_getMyTemplateObj();
393:
394: /**
395: * <p>
396: * Does...
397: * </p>
398: * <p>
399: *
400: * @return a Type with
401: * </p>
402: * <p>
403: * @param
404: * </p>
405: */
406: public IMoValue pcmf_setMyTemplateObj(IMoValue xTpl);
407:
408: public Object pcmf_getAdditionalnfo();
409:
410: public void pcmf_setAdditionalInfo(Object xInfo);
411:
412: public Object pcmf_getValue();
413:
414: public void pcmf_setValue(Object xValue);
415:
416: public IMoValueContainer pcmf_getParent();
417: } // end IMoValue
|