com.u2d.model
Interface ComplexEObject

All Superinterfaces:
AppEventNotifier, ChangeNotifier, EObject, PersistorListener, PostChangeNotifier, PropertyChangeNotifier, Searchable, java.awt.datatransfer.Transferable, Typed, ValidationNotifier, Viewable
All Known Subinterfaces:
Calendarable, Query, Schedulable
All Known Implementing Classes:
AbstractChoiceEO, AbstractComplexEObject, AggregateField, AssociationField, AtomicField, Business, BusinessContact, CalendarEO, Calendrier, CalEvent, Command, CommandRestriction, ComplexType, CompositeField, CompositeIndexedField, CompositeQuery, Contact, ContactMethod, DetailedPerson, EmploymentInfo, EOCommand, Field, FieldRestriction, Folder, IndexedField, LoggedEvent, MarritalStatus, Member, Name, Note, NullAssociation, NullComplexEObject, OverloadedEOCmd, Person, ProgrammingElement, QueryCommandAdapter, QuerySpecification, Restriction, Role, Schedule, ScheduleEO, Sex, SimpleQuery, SimpleReport, USAddress, User, USState

public interface ComplexEObject
extends EObject, AppEventNotifier, PersistorListener, Searchable, java.awt.datatransfer.Transferable, PropertyChangeNotifier, Typed, PostChangeNotifier

Author:
Eitan Suez

Method Summary
 Association association(java.lang.String propName)
           
 void cancelTransition()
           
 java.util.List childFields()
           
 void clearEditor()
           
 Command command(java.lang.String commandName)
           
 Command defaultCommand()
           
 java.lang.String defaultCommandName()
           
 void delete()
           
 boolean doSave()
           
 Field field(java.lang.String propName)
           
 DateTime getCreatedOn()
           
 ComplexEView getExpandableView()
           
 ComplexEView getFormView()
           
 ComplexEView getIconView()
           
 java.lang.Long getID()
           
 ComplexEView getListItemView()
           
 State getState()
           
 ComplexEView getTabBodyView()
           
 ComplexEView getTreeView()
           
 void initialize()
           
 boolean isEditableState()
           
 boolean isEditState()
           
 boolean isMeta()
           
 boolean isNullState()
           
 boolean isTransientState()
           
 void restoreState()
           
 void save()
           
 void setEditor(Editor editor)
           
 void setEditState()
           
 void setID(java.lang.Long id)
           
 void setNullState()
           
 void setReadState()
           
 void setStartState()
           
 void setState(State state)
           
 void setTransientState()
           
 void setValue(EObject value, boolean forCopy)
           
 javax.swing.tree.TreeModel treeModel()
           
 ComplexType type()
           
 
Methods inherited from interface com.u2d.model.EObject
commands, field, iconLg, iconSm, isEmpty, makeCopy, parentObject, setField, setValue, title, validate
 
Methods inherited from interface com.u2d.validation.ValidationNotifier
addValidationListener, fireValidationException, fireValidationException, removeValidationListener
 
Methods inherited from interface com.u2d.model.ChangeNotifier
addChangeListener, fireStateChanged, removeChangeListener
 
Methods inherited from interface com.u2d.model.Viewable
getMainView, getView
 
Methods inherited from interface com.u2d.pubsub.AppEventNotifier
addAppEventListener, fireAppEventNotification, removeAppEventListener
 
Methods inherited from interface com.u2d.persist.PersistorListener
onBeforeCreate, onBeforeSave, onCreate, onDelete, onLoad, onSave
 
Methods inherited from interface com.u2d.find.Searchable
getInequalities
 
Methods inherited from interface java.awt.datatransfer.Transferable
getTransferData, getTransferDataFlavors, isDataFlavorSupported
 
Methods inherited from interface com.u2d.model.PropertyChangeNotifier
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface com.u2d.model.PostChangeNotifier
addPostChangeListener, fireStateChanged, removePostChangeListener
 

Method Detail

type

ComplexType type()
Specified by:
type in interface Typed

initialize

void initialize()

setStartState

void setStartState()

restoreState

void restoreState()

setReadState

void setReadState()

isEditState

boolean isEditState()

setEditState

void setEditState()

isTransientState

boolean isTransientState()

setTransientState

void setTransientState()

isEditableState

boolean isEditableState()

isNullState

boolean isNullState()

setNullState

void setNullState()

getState

State getState()

setState

void setState(State state)

cancelTransition

void cancelTransition()

childFields

java.util.List childFields()

field

Field field(java.lang.String propName)

association

Association association(java.lang.String propName)

command

Command command(java.lang.String commandName)

defaultCommandName

java.lang.String defaultCommandName()

defaultCommand

Command defaultCommand()

setEditor

void setEditor(Editor editor)

clearEditor

void clearEditor()

getIconView

ComplexEView getIconView()

getListItemView

ComplexEView getListItemView()

getFormView

ComplexEView getFormView()

getTabBodyView

ComplexEView getTabBodyView()

getExpandableView

ComplexEView getExpandableView()

getTreeView

ComplexEView getTreeView()

save

void save()

doSave

boolean doSave()

delete

void delete()

setValue

void setValue(EObject value,
              boolean forCopy)

treeModel

javax.swing.tree.TreeModel treeModel()

getID

java.lang.Long getID()

setID

void setID(java.lang.Long id)

getCreatedOn

DateTime getCreatedOn()

isMeta

boolean isMeta()