com.u2d.type.atom
Class ChoiceEO

java.lang.Object
  extended by com.u2d.model.AbstractEObject
      extended by com.u2d.model.AbstractAtomicEO
          extended by com.u2d.type.atom.ChoiceEO
All Implemented Interfaces:
Searchable, AtomicEObject, ChangeNotifier, EObject, Viewable, Choice, ValidationNotifier, java.io.Serializable
Direct Known Subclasses:
FieldRestrictionType, LogEventType

public abstract class ChoiceEO
extends AbstractAtomicEO
implements Searchable, Choice

Author:
Eitan Suez
See Also:
Serialized Form

Field Summary
protected  java.lang.String _value
           
 
Fields inherited from class com.u2d.model.AbstractEObject
_listenerList, _postListeners, _validationEvent, _validationListenerList, changeEvent
 
Constructor Summary
ChoiceEO()
           
 
Method Summary
 java.lang.String caption()
           
 java.lang.String code()
           
abstract  java.util.Collection entries()
           
 boolean equals(java.lang.Object obj)
           
static java.lang.Class getCustomTypeImplementorClass()
           
 AtomicEditor getEditor()
           
 java.util.List getInequalities()
           
 AtomicRenderer getRenderer()
           
 int hashCode()
           
 boolean isEmpty()
           
 EObject makeCopy()
           
 void parseValue(java.lang.String value)
           
 void setValue(EObject value)
           
 void setValue(java.lang.String value)
           
 Title title()
           
 java.lang.String toString()
           
 
Methods inherited from class com.u2d.model.AbstractAtomicEO
commands, getMainView, getView, iconLg, iconSm, type, validate
 
Methods inherited from class com.u2d.model.AbstractEObject
addChangeListener, addPostChangeListener, addValidationListener, currentUser, field, fireStateChanged, fireValidationException, fireValidationException, hbmPersistor, parentObject, persistor, removeChangeListener, removePostChangeListener, removeValidationListener, setField, vmech
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.u2d.model.EObject
field, parentObject, setField
 
Methods inherited from interface com.u2d.validation.ValidationNotifier
addValidationListener, fireValidationException, fireValidationException, removeValidationListener
 
Methods inherited from interface com.u2d.model.ChangeNotifier
addChangeListener, fireStateChanged, removeChangeListener
 

Field Detail

_value

protected java.lang.String _value
Constructor Detail

ChoiceEO

public ChoiceEO()
Method Detail

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface EObject
Specified by:
isEmpty in class AbstractEObject

parseValue

public void parseValue(java.lang.String value)
                throws java.text.ParseException
Specified by:
parseValue in interface AtomicEObject
Throws:
java.text.ParseException

caption

public java.lang.String caption()
Specified by:
caption in interface Choice

code

public java.lang.String code()
Specified by:
code in interface Choice

entries

public abstract java.util.Collection entries()

title

public Title title()
Specified by:
title in interface EObject
Specified by:
title in class AbstractEObject

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getRenderer

public AtomicRenderer getRenderer()
Specified by:
getRenderer in interface AtomicEObject

getEditor

public AtomicEditor getEditor()
Specified by:
getEditor in interface AtomicEObject

makeCopy

public EObject makeCopy()
Specified by:
makeCopy in interface EObject
Specified by:
makeCopy in class AbstractEObject

setValue

public void setValue(java.lang.String value)

setValue

public void setValue(EObject value)
Specified by:
setValue in interface EObject
Specified by:
setValue in class AbstractEObject

getInequalities

public java.util.List getInequalities()
Specified by:
getInequalities in interface Searchable

getCustomTypeImplementorClass

public static java.lang.Class getCustomTypeImplementorClass()