com.u2d.model
Class AbstractEObject
java.lang.Object
com.u2d.model.AbstractEObject
- All Implemented Interfaces:
- ChangeNotifier, EObject, Viewable, ValidationNotifier, java.io.Serializable
- Direct Known Subclasses:
- AbstractAtomicEO, AbstractComplexEObject, AbstractInequality, AbstractListEO
public abstract class AbstractEObject
- extends java.lang.Object
- implements java.io.Serializable, EObject
- Author:
- Eitan Suez
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
changeEvent
protected transient javax.swing.event.ChangeEvent changeEvent
_listenerList
protected transient javax.swing.event.EventListenerList _listenerList
_postListeners
protected transient javax.swing.event.EventListenerList _postListeners
_validationEvent
protected transient ValidationEvent _validationEvent
_validationListenerList
protected transient javax.swing.event.EventListenerList _validationListenerList
AbstractEObject
public AbstractEObject()
title
public abstract Title title()
- Specified by:
title in interface EObject
isEmpty
public abstract boolean isEmpty()
- Specified by:
isEmpty in interface EObject
validate
public abstract int validate()
- Specified by:
validate in interface EObject
getView
public abstract EView getView()
- Specified by:
getView in interface Viewable
commands
public abstract Onion commands()
- Specified by:
commands in interface EObject
setField
public void setField(Field field,
ComplexEObject parent)
- Specified by:
setField in interface EObject
field
public Field field()
- Specified by:
field in interface EObject
parentObject
public ComplexEObject parentObject()
- Specified by:
parentObject in interface EObject
makeCopy
public abstract EObject makeCopy()
- Specified by:
makeCopy in interface EObject
setValue
public abstract void setValue(EObject value)
- Specified by:
setValue in interface EObject
vmech
protected ViewMechanism vmech()
persistor
protected PersistenceMechanism persistor()
hbmPersistor
protected HBMSingleSession hbmPersistor()
currentUser
protected User currentUser()
addChangeListener
public void addChangeListener(javax.swing.event.ChangeListener l)
- Specified by:
addChangeListener in interface ChangeNotifier
addPostChangeListener
public void addPostChangeListener(javax.swing.event.ChangeListener l)
removeChangeListener
public void removeChangeListener(javax.swing.event.ChangeListener l)
- Specified by:
removeChangeListener in interface ChangeNotifier
removePostChangeListener
public void removePostChangeListener(javax.swing.event.ChangeListener l)
fireStateChanged
public void fireStateChanged()
- Specified by:
fireStateChanged in interface ChangeNotifier
addValidationListener
public void addValidationListener(ValidationListener l)
- Specified by:
addValidationListener in interface ValidationNotifier
removeValidationListener
public void removeValidationListener(ValidationListener l)
- Specified by:
removeValidationListener in interface ValidationNotifier
fireValidationException
public void fireValidationException(java.lang.String errorMsg,
boolean statusType)
- Specified by:
fireValidationException in interface ValidationNotifier
fireValidationException
public void fireValidationException(java.lang.String errorMsg)
- Specified by:
fireValidationException in interface ValidationNotifier