public interface ObjectAssociation extends ObjectMember, CurrentHolder
| Modifier and Type | Interface and Description |
|---|---|
static class |
ObjectAssociation.Filters |
static class |
ObjectAssociation.Functions |
static class |
ObjectAssociation.Predicates |
static class |
ObjectAssociation.Util |
| Modifier and Type | Method and Description |
|---|---|
ObjectAdapter[] |
getAutoComplete(ObjectAdapter object,
String searchArg)
Returns a list of possible references/values for this field, which the
user can choose from, based on the provided search argument.
|
int |
getAutoCompleteMinLength() |
String |
getBusinessKeyName()
Get the name for the business key, if one has been specified.
|
ObjectAdapter[] |
getChoices(ObjectAdapter object)
Returns a list of possible references/values for this field, which the
user can choose from.
|
ObjectAdapter |
getDefault(ObjectAdapter adapter)
Return the default for this property.
|
boolean |
hasAutoComplete()
Whether there are any auto-complete provided (eg autoCompleteXxx supporting
method) for the association.
|
boolean |
hasChoices()
Whether there are any choices provided (eg choicesXxx supporting
method) for the association.
|
boolean |
isEmpty(ObjectAdapter target)
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.
|
void |
toDefault(ObjectAdapter target)
Set the property to it default references/values.
|
createUsableInteractionContext, createVisibleInteractionContext, debugData, getHelp, isAction, isAlwaysHidden, isOneToManyAssociation, isOneToOneAssociation, isPropertyOrCollection, isUsable, isVisiblegetDescription, getId, getName, getSpecificationgetFeatureType, getInstancegetIdentifieraddFacet, addFacet, containsDoOpFacet, containsFacet, getFacet, getFacets, getFacetTypes, removeFacet, removeFacetgetString getBusinessKeyName()
ObjectAdapter getDefault(ObjectAdapter adapter)
void toDefault(ObjectAdapter target)
boolean hasChoices()
ObjectAdapter[] getChoices(ObjectAdapter object)
boolean hasAutoComplete()
ObjectAdapter[] getAutoComplete(ObjectAdapter object, String searchArg)
int getAutoCompleteMinLength()
boolean isNotPersisted()
boolean isEmpty(ObjectAdapter target)
true if this field on the specified object is deemed
to be empty, or has no content.boolean isMandatory()
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.