com.u2d.type
Class AbstractChoiceEO
java.lang.Object
com.u2d.model.AbstractEObject
com.u2d.model.AbstractComplexEObject
com.u2d.type.AbstractChoiceEO
- All Implemented Interfaces:
- Searchable, ChangeNotifier, ComplexEObject, EObject, PostChangeNotifier, PropertyChangeNotifier, Typed, Viewable, PersistorListener, AppEventNotifier, Choice, ValidationNotifier, java.awt.datatransfer.Transferable, java.io.Serializable, javax.swing.ComboBoxModel, javax.swing.ListModel
- Direct Known Subclasses:
- ContactMethod, MarritalStatus, Sex, USState
public abstract class AbstractChoiceEO
- extends AbstractComplexEObject
- implements Choice, javax.swing.ComboBoxModel
- Author:
- Eitan Suez
- See Also:
- Serialized Form
| Fields inherited from class com.u2d.model.AbstractComplexEObject |
_associations, _changeSupport, _createdOn, _currentState, _editState, _nullState, _readState, _stateMap, _transientState, _type, commandOrderEditState, commandOrderReadState, commandOrderTransientState, readOnly |
| Methods inherited from class com.u2d.model.AbstractComplexEObject |
addAppEventListener, addPropertyChangeListener, addPropertyChangeListener, association, cancelTransition, childFields, cleanCGILibEnhancer, clearEditor, command, command, commands, createInstance, defaultCommand, defaultCommandName, delete, doSave, field, fieldSublist, fireAppEventNotification, fireAppEventNotification, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreatedOn, getDeleted, getDeletedOn, getExpandableView, getFormView, getIconView, getID, getInequalities, getListItemView, getMainView, getState, getTabBodyView, getTransferData, getTransferDataFlavors, getTreeView, iconLg, iconSm, initialize, isDataFlavorSupported, isEditableState, isEditState, isEmpty, isMeta, isNullState, isTransientState, log, makeCopy, onBeforeCreate, onBeforeSave, onCreate, onDelete, onLoad, onSave, popState, pushState, removeAppEventListener, removePropertyChangeListener, removePropertyChangeListener, restoreCopy, restoredState, restoreState, save, saveCopy, setEditor, setEditState, setID, setNullState, setReadState, setStartState, setState, setState, setTransientState, setValue, setValue, startState, treeModel, 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 |
AbstractChoiceEO
public AbstractChoiceEO()
getCode
public abstract StringEO getCode()
getCaption
public abstract StringEO getCaption()
choiceType
public abstract ComplexType choiceType()
code
public java.lang.String code()
- Specified by:
code in interface Choice
caption
public java.lang.String caption()
- Specified by:
caption in interface Choice
title
public Title title()
- Specified by:
title in interface EObject- Specified by:
title in class AbstractComplexEObject
toString
public java.lang.String toString()
- Overrides:
toString in class AbstractComplexEObject
getView
public EView getView()
- Specified by:
getView in interface Viewable- Overrides:
getView in class AbstractComplexEObject
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class AbstractComplexEObject
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
list
public AbstractListEO list()
first
public AbstractChoiceEO first()
get
public AbstractChoiceEO get(java.lang.String code)
getSelectedItem
public java.lang.Object getSelectedItem()
- Specified by:
getSelectedItem in interface javax.swing.ComboBoxModel
setSelectedItem
public void setSelectedItem(java.lang.Object anItem)
- Specified by:
setSelectedItem in interface javax.swing.ComboBoxModel
getElementAt
public java.lang.Object getElementAt(int index)
- Specified by:
getElementAt in interface javax.swing.ListModel
getSize
public int getSize()
- Specified by:
getSize in interface javax.swing.ListModel
addListDataListener
public void addListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
addListDataListener in interface javax.swing.ListModel
removeListDataListener
public void removeListDataListener(javax.swing.event.ListDataListener l)
- Specified by:
removeListDataListener in interface javax.swing.ListModel