public interface AssociationLink extends SchemaNodeExplicitRelationship
osd:association
property).SchemaNode.getAssociationLink()
,
ExplicitRelationship
Modifier and Type | Method and Description |
---|---|
RequestResult |
getAssociationResult(Adaptation aRecord)
Returns the result of the association link, in the context of
the specified record.
|
String |
getConstraintPredicate()
Returns the XPath expression
(property
constraint/xpath )
defined to restrict associated records. |
AdaptationReference |
getDataSetReference()
Returns the reference of the dataset of this association,
if an external dataset is defined in the data model
(property
dataSet ); otherwise returns null . |
HomeKey |
getDataSpaceReference()
Returns the reference of the dataspace of this association,
if an external dataset in another dataspace is defined by the data model
(property
dataSpace ); otherwise returns null . |
int |
getMaxOccurs()
Returns the value of
maxOccurs/value . |
int |
getMinOccurs()
Returns the value of
minOccurs/value . |
Class<?> |
getRecordFormFactoryClass()
Returns the specific
UserServiceAssociationRecordFormFactory class
defined on this association node
(property recordForm osd:class ) or null
if no UserServiceAssociationRecordFormFactory class has been defined. |
AdaptationTable |
getTargetTable(Adaptation aRecordOrDataSet)
Returns the target table of this association.
|
String |
getXPathFilter()
Returns the XPath expression
(property
xpathFilter )
defined to filter the result of this association. |
boolean |
isLinkTable()
Returns
true if this
association is over a link table. |
boolean |
isTableRefInverse()
Returns
true if this
association is the inverse of a foreign key. |
boolean |
isXPathLink()
Returns
true if this
association is over an XPath predicate. |
getBreadcrumbProperties, getContainerHome, getContainerReference, getExplicitRelationship, getExplicitRelationship, getOwnerNode, getResult, getTableNode, isAssociationLink, isSelectionLink, isTableRefLink
RequestResult getAssociationResult(Adaptation aRecord)
AdaptationTable getTargetTable(Adaptation aRecordOrDataSet)
AdaptationReference getDataSetReference()
dataSet
); otherwise returns null
.HomeKey getDataSpaceReference()
dataSpace
); otherwise returns null
.int getMinOccurs()
minOccurs/value
.int getMaxOccurs()
maxOccurs/value
.
Returns -1 if this property is not defined.String getXPathFilter()
xpathFilter
)
defined to filter the result of this association.String getConstraintPredicate()
constraint/xpath
)
defined to restrict associated records.boolean isLinkTable()
true
if this
association is over a link table.AssociationLinkByLinkTable
boolean isTableRefInverse()
true
if this
association is the inverse of a foreign key.AssociationLinkByTableRefInverse
boolean isXPathLink()
true
if this
association is over an XPath predicate.AssociationLinkByXPathLink
Class<?> getRecordFormFactoryClass()
UserServiceAssociationRecordFormFactory
class
defined on this association node
(property recordForm osd:class
) or null
if no UserServiceAssociationRecordFormFactory
class
has been defined.