com.u2d.field
Class AggregateField
java.lang.Object
com.u2d.model.AbstractEObject
com.u2d.model.AbstractComplexEObject
com.u2d.element.ProgrammingElement
com.u2d.element.Member
com.u2d.element.Field
com.u2d.field.CompositeField
com.u2d.field.AggregateField
- All Implemented Interfaces:
- Searchable, ChangeNotifier, ComplexEObject, EObject, FieldParent, PostChangeNotifier, PropertyChangeNotifier, Typed, Viewable, PersistorListener, AppEventNotifier, Restrictable, ValidationNotifier, java.awt.datatransfer.Transferable, java.io.Serializable
public class AggregateField
- extends CompositeField
- implements FieldParent
- Author:
- Eitan Suez
- See Also:
- Serialized Form
| Fields inherited from class com.u2d.model.AbstractComplexEObject |
_associations, _changeSupport, _createdOn, _currentState, _editState, _nullState, _readState, _stateMap, _transientState, commandOrderEditState, commandOrderReadState, commandOrderTransientState, readOnly |
| Methods inherited from class com.u2d.element.Field |
applyMetadata, applyRestriction, colsize, copy, createInstance, displaysize, equals, forPath, getCleanPath, getColsize, getCustomTypeImplementorClass, getDisplaysize, getFullPath, getJavaClass, getNaturalPath, getPath, getRequired, getRequired, getSortPropertyName, hashCode, init, isAggregate, isAssociable, isAssociation, isAtomic, isChoice, isComposite, isEmpty, isHidden, isIndexed, isInherited, isSearchable, isSortable, isTabView, liftRestriction, required, restore, setHidden, setInherited, setRequiredMethod, setSearchable, setTabView, title, toString |
| Methods inherited from class com.u2d.model.AbstractComplexEObject |
addAppEventListener, addPropertyChangeListener, addPropertyChangeListener, association, cancelTransition, childFields, cleanCGILibEnhancer, clearEditor, command, command, commands, createInstance, defaultCommand, defaultCommandName, delete, doSave, fieldSublist, fireAppEventNotification, fireAppEventNotification, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreatedOn, getDeleted, getDeletedOn, getExpandableView, getFormView, getIconView, getID, getInequalities, getListItemView, getMainView, getState, getTabBodyView, getTransferData, getTransferDataFlavors, getTreeView, getView, iconLg, iconSm, initialize, isDataFlavorSupported, isEditableState, isEditState, isEmpty, 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 |
_flattenIntoParent
protected final BooleanEO _flattenIntoParent
subFieldsType
public static java.lang.Class subFieldsType
AggregateField
public AggregateField(FieldParent parent,
java.beans.PropertyDescriptor descriptor)
throws java.beans.IntrospectionException
- Throws:
java.beans.IntrospectionException
AggregateField
public AggregateField(FieldParent parent,
java.lang.String name)
throws java.beans.IntrospectionException
- Throws:
java.beans.IntrospectionException
getFlattenIntoParent
public BooleanEO getFlattenIntoParent()
flattenIntoParent
public boolean flattenIntoParent()
fields
public java.util.List fields()
- Specified by:
fields in interface FieldParent
field
public Field field(java.lang.String propname)
- Specified by:
field in interface ComplexEObject- Specified by:
field in interface FieldParent- Overrides:
field in class AbstractComplexEObject
makeFieldMap
public static java.util.Map makeFieldMap(java.util.Collection fields)
fieldsMap
public java.util.Map fieldsMap()
getSubFields
public RelationalList getSubFields()
getView
public EView getView(ComplexEObject parent)
- Specified by:
getView in class Field
validate
public int validate(ComplexEObject parent)
- Specified by:
validate in class Field
setState
public void setState(ComplexEObject parent,
State state)
- Specified by:
setState in class Field
isInterfaceType
public boolean isInterfaceType()
- Specified by:
isInterfaceType in class Field
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract in interface FieldParent- Specified by:
isAbstract in class Field
fieldtype
public ComplexType fieldtype()
- Description copied from class:
Field
- 1. lazy derivation of type from class avoids infinite recursion when harvesting
if this were placed eagerly in Field's constructor
2. named fieldtype() so as not to conflict with complexeobject.type() which now
has become a superclass of field
- Specified by:
fieldtype in class Field