public class TLcdAIXM51Association<T> extends TLcdDataObject
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.
TLcdAssociationClassAnnotation
Constructor and Description |
---|
TLcdAIXM51Association(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
T |
getLinkedObject()
Gets the linked object.
|
Object |
getLinkInfo()
Returns an object that contains all attributes of the link.
|
Object |
getNilReason()
Gets the nil reason.
|
boolean |
getOwns()
Gets the owns.
|
String |
getRemoteSchema()
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.
|
public TLcdAIXM51Association(TLcdDataType aType)
public Object getNilReason()
TLcdGML32NilReasonEnumeration
, a
URI
or null.TLcdGML32NilReasonEnumeration
public void setNilReason(Object aValue)
TLcdGML32NilReasonEnumeration
, a
URI
or null.aValue
- the nil reason to be set, or null.public boolean getOwns()
public void setOwns(boolean aValue)
aValue
- the owns to be set.public String getRemoteSchema()
public void setRemoteSchema(String aValue)
aValue
- the remote schema to be set.IllegalArgumentException
- if the given value is not a proper URI
public Object getLinkInfo()
TLcdXLinkSimpleLink
.TLcdXLinkSimpleLink
public void setLinkInfo(Object aValue)
TLcdXLinkSimpleLink
.aValue
- A link info objectTLcdXLinkSimpleLink
public T getLinkedObject()
public void setLinkedObject(T aValue)
aValue
- the linked object to be set.