public class TLcdAIXM51Link<T extends ILcdDataObject> extends TLcdDataObject
Models a link from one AIXM object to another. The owns property defines if the linked object is owned (composition) or not.
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
setObject(ILcdDataObject)) 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
Only when the application uses the generic
ILcdDataObject API to access
the domain objects, these association classes become visible.
|Constructor and Description|
|Modifier and Type||Method and Description|
Returns the linked object.
Returns the owns property.
Sets the linked object.
Sets the owns property.
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
public TLcdAIXM51Link(TLcdDataType aType)
public TLcdAIXM51Link(T aObject)
public boolean getOwns()
public void setOwns(boolean aOwns)
aOwns- A boolean, true if the linked object is owned, false otherwise.
public T getObject()
public void setObject(T aObject)
aObject- The linked object, or null if this link can not be resolved or does not point to an object.