com.u2d.model
Class NullComplexEObject

java.lang.Object
  extended by com.u2d.model.AbstractEObject
      extended by com.u2d.model.AbstractComplexEObject
          extended by com.u2d.model.NullComplexEObject
All Implemented Interfaces:
Searchable, ChangeNotifier, ComplexEObject, EObject, PostChangeNotifier, PropertyChangeNotifier, Typed, Viewable, PersistorListener, AppEventNotifier, ValidationNotifier, java.awt.datatransfer.Transferable, java.io.Serializable
Direct Known Subclasses:
NullAssociation

public class NullComplexEObject
extends AbstractComplexEObject

Author:
Eitan Suez
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.u2d.model.AbstractComplexEObject
AbstractComplexEObject.EditState, AbstractComplexEObject.NullState, AbstractComplexEObject.ReadState, AbstractComplexEObject.TransientState
 
Field Summary
protected static Onion _commands
           
protected  javax.swing.Icon _iconLg
           
protected  javax.swing.Icon _iconSm
           
 
Fields inherited from class com.u2d.model.AbstractComplexEObject
_associations, _changeSupport, _createdOn, _currentState, _editState, _nullState, _readState, _stateMap, _transientState, _type, commandOrderEditState, commandOrderReadState, commandOrderTransientState, readOnly
 
Fields inherited from class com.u2d.model.AbstractEObject
_listenerList, _postListeners, _validationEvent, _validationListenerList, changeEvent
 
Constructor Summary
NullComplexEObject(ComplexType type)
           
 
Method Summary
 java.lang.Object Browse(CommandInfo cmdInfo)
           
 Command command(java.lang.String commandName)
           
 Onion commands()
           
 java.lang.String defaultCommandName()
           
protected  javax.swing.Icon disabledIcon(javax.swing.Icon icon)
           
 boolean equals(java.lang.Object obj)
           
 View Find(CommandInfo cmdInfo)
           
 EView getView()
           
 int hashCode()
           
 javax.swing.Icon iconLg()
           
 javax.swing.Icon iconSm()
           
 boolean isEmpty()
           
 ComplexEObject New(CommandInfo cmdInfo)
           
 Title title()
           
 
Methods inherited from class com.u2d.model.AbstractComplexEObject
addAppEventListener, addPropertyChangeListener, addPropertyChangeListener, association, cancelTransition, childFields, cleanCGILibEnhancer, clearEditor, command, createInstance, defaultCommand, 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, initialize, isDataFlavorSupported, isEditableState, isEditState, 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, toString, 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
 
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
 
Methods inherited from interface com.u2d.model.PostChangeNotifier
addPostChangeListener, fireStateChanged, removePostChangeListener
 

Field Detail

_iconSm

protected javax.swing.Icon _iconSm

_iconLg

protected javax.swing.Icon _iconLg

_commands

protected static Onion _commands
Constructor Detail

NullComplexEObject

public NullComplexEObject(ComplexType type)
Method Detail

disabledIcon

protected javax.swing.Icon disabledIcon(javax.swing.Icon icon)

iconSm

public javax.swing.Icon iconSm()
Specified by:
iconSm in interface EObject
Overrides:
iconSm in class AbstractComplexEObject

iconLg

public javax.swing.Icon iconLg()
Specified by:
iconLg in interface EObject
Overrides:
iconLg in class AbstractComplexEObject

title

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

isEmpty

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

getView

public EView getView()
Specified by:
getView in interface Viewable
Overrides:
getView in class AbstractComplexEObject

commands

public Onion commands()
Specified by:
commands in interface EObject
Overrides:
commands in class AbstractComplexEObject

command

public Command command(java.lang.String commandName)
Specified by:
command in interface ComplexEObject
Overrides:
command in class AbstractComplexEObject

New

public ComplexEObject New(CommandInfo cmdInfo)

Browse

public java.lang.Object Browse(CommandInfo cmdInfo)

Find

public View Find(CommandInfo cmdInfo)

defaultCommandName

public java.lang.String defaultCommandName()
Specified by:
defaultCommandName in interface ComplexEObject
Overrides:
defaultCommandName 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