Class TLcdAIXM51Association<T>
- All Implemented Interfaces:
ILcdDataObject
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
- Direct Known Subclasses:
TLcdAIXM51FeatureAssociation
Class that models an association between two entities.
This class is typically used as a UML association class. This means that it implements
an association between two other classes. The object property (implemented by
getLinkedObject()
and setLinkedObject(Object)
) is the role
property of this association. In the large majority of cases, only the value of the
role property is used by applications. In those cases, the association class can be
considered to be a mere wrapper. Because of this, the API of the domain objects was made
such that these association classes are not visible in the API. The getters and setters
for properties of which the type is an association class
directly expose the role property. Wrapping and unwrapping is done automatically by the
implementation.
Only when the application uses the generic ILcdDataObject
API to access
the domain objects, these association classes become visible.
- Since:
- 10.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the linked object.Returns an object that contains all attributes of the link.Gets the nil reason.boolean
getOwns()
Gets the owns.Gets the remote schema.void
setLinkedObject
(T aValue) Sets the linked object.void
setLinkInfo
(Object aValue) Sets an object that contains all attributes of the link.void
setNilReason
(Object aValue) Sets the nil reason.void
setOwns
(boolean aValue) Sets the owns.void
setRemoteSchema
(String aValue) Sets the remote schema.
-
Constructor Details
-
TLcdAIXM51Association
-
-
Method Details
-
getNilReason
Gets the nil reason. The returned Object can be aTLcdGML32NilReasonEnumeration
, aURI
or null.- Returns:
- the nil reason, can be null.
- See Also:
-
setNilReason
Sets the nil reason. Acceptable values are aTLcdGML32NilReasonEnumeration
, aURI
or null.- Parameters:
aValue
- the nil reason to be set, or null.
-
getOwns
public boolean getOwns()Gets the owns.- Returns:
- the owns.
-
setOwns
public void setOwns(boolean aValue) Sets the owns.- Parameters:
aValue
- the owns to be set.
-
getRemoteSchema
Gets the remote schema.- Returns:
- the remote schema.
-
setRemoteSchema
Sets the remote schema.- Parameters:
aValue
- the remote schema to be set.- Throws:
IllegalArgumentException
- if the given value is not a properURI
-
getLinkInfo
Returns an object that contains all attributes of the link. This object is typically an instance ofTLcdXLinkSimpleLink
.- Returns:
- A link info object
- See Also:
-
setLinkInfo
Sets an object that contains all attributes of the link. This object is typically an instance ofTLcdXLinkSimpleLink
.- Parameters:
aValue
- A link info object- See Also:
-
getLinkedObject
Gets the linked object.- Returns:
- the linked object.
-
setLinkedObject
Sets the linked object.- Parameters:
aValue
- the linked object to be set.
-