public abstract class ObjectAssociationAbstract extends ObjectMemberAbstract implements ObjectAssociation
ObjectAssociation.Filters, ObjectAssociation.Functions, ObjectAssociation.Predicates, ObjectAssociation.UtildefaultName| Constructor and Description |
|---|
ObjectAssociationAbstract(FacetedMethod facetedMethod,
FeatureType featureType,
ObjectSpecification specification,
ObjectMemberContext parameterObject) |
| Modifier and Type | Method and Description |
|---|---|
abstract ObjectAdapter |
get(ObjectAdapter fromObject)
Returns the referenced
ObjectAdapter for the owning
ObjectAdapter. |
String |
getBusinessKeyName()
Get the name for the business key, if one has been specified.
|
ObjectSpecification |
getSpecification()
Return the specification of the object (or objects) that this field
holds.
|
boolean |
hasChoices()
Whether there are any choices provided (eg choicesXxx supporting
method) for the association.
|
abstract boolean |
isEmpty(ObjectAdapter adapter)
Returns
true if this field on the specified object is deemed
to be empty, or has no content. |
boolean |
isMandatory()
Determines if this field must be complete before the object is in a valid
state
|
boolean |
isNotPersisted()
Returns true if calculated from other data in the object, that is, should
not be persisted.
|
boolean |
isOneToOneAssociation()
Whether this member represents a
OneToOneAssociation. |
addFacet, addFacet, containsDoOpFacet, containsFacet, getAdapterManager, getAuthenticationSession, getAuthenticationSessionProvider, getCollectionTypeRegistry, getDeploymentCategory, getDescription, getFacet, getFacetedMethod, getFacets, getFacetTypes, getFeatureType, getHelp, getId, getIdentifier, getName, getQuerySubmitter, getServicesProvider, getSpecification, getSpecificationLookup, isAction, isAlwaysHidden, isOneToManyAssociation, isPropertyOrCollection, isUsable, isVisible, removeFacet, removeFacet, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAutoComplete, getAutoCompleteMinLength, getChoices, getDefault, hasAutoComplete, toDefaultcreateUsableInteractionContext, createVisibleInteractionContext, debugData, getHelp, isAction, isAlwaysHidden, isOneToManyAssociation, isPropertyOrCollection, isUsable, isVisiblegetDescription, getId, getNamegetFeatureType, getInstancegetIdentifieraddFacet, addFacet, containsDoOpFacet, containsFacet, getFacet, getFacets, getFacetTypes, removeFacet, removeFacetpublic ObjectAssociationAbstract(FacetedMethod facetedMethod, FeatureType featureType, ObjectSpecification specification, ObjectMemberContext parameterObject)
public abstract ObjectAdapter get(ObjectAdapter fromObject)
CurrentHolderObjectAdapter for the owning
ObjectAdapter.
For example, if this is an OneToOneAssociation, then returns the
referenced object.
get in interface CurrentHolderpublic ObjectSpecification getSpecification()
getSpecification in interface ObjectFeaturepublic boolean isNotPersisted()
ObjectAssociationisNotPersisted in interface ObjectAssociationpublic boolean hasChoices()
ObjectAssociationhasChoices in interface ObjectAssociationpublic boolean isMandatory()
ObjectAssociationisMandatory in interface ObjectAssociationpublic abstract boolean isEmpty(ObjectAdapter adapter)
ObjectAssociationtrue if this field on the specified object is deemed
to be empty, or has no content.isEmpty in interface ObjectAssociationpublic boolean isOneToOneAssociation()
ObjectMemberOneToOneAssociation.
If so, can be safely downcast to OneToOneAssociation.
isOneToOneAssociation in interface ObjectMemberisOneToOneAssociation in class ObjectMemberAbstractpublic String getBusinessKeyName()
ObjectAssociationgetBusinessKeyName in interface ObjectAssociationCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.