Class TLcdAIXM51Association<T>

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.format.aixm51.model.util.TLcdAIXM51Association<T>
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable
Direct Known Subclasses:
TLcdAIXM51FeatureAssociation

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.

Since:
10.0
See Also:
  • Constructor Details Link icon

    • TLcdAIXM51Association Link icon

      public TLcdAIXM51Association(TLcdDataType aType)
  • Method Details Link icon

    • getNilReason Link icon

      public Object getNilReason()
      Gets the nil reason. The returned Object can be a TLcdGML32NilReasonEnumeration, a URI or null.
      Returns:
      the nil reason, can be null.
      See Also:
    • setNilReason Link icon

      public void setNilReason(Object aValue)
      Sets the nil reason. Acceptable values are a TLcdGML32NilReasonEnumeration, a URI or null.
      Parameters:
      aValue - the nil reason to be set, or null.
    • getOwns Link icon

      public boolean getOwns()
      Gets the owns.
      Returns:
      the owns.
    • setOwns Link icon

      public void setOwns(boolean aValue)
      Sets the owns.
      Parameters:
      aValue - the owns to be set.
    • getRemoteSchema Link icon

      public String getRemoteSchema()
      Gets the remote schema.
      Returns:
      the remote schema.
    • setRemoteSchema Link icon

      public void setRemoteSchema(String aValue)
      Sets the remote schema.
      Parameters:
      aValue - the remote schema to be set.
      Throws:
      IllegalArgumentException - if the given value is not a proper URI
    • getLinkInfo Link icon

      public Object getLinkInfo()
      Returns an object that contains all attributes of the link. This object is typically an instance of TLcdXLinkSimpleLink.
      Returns:
      A link info object
      See Also:
    • setLinkInfo Link icon

      public void setLinkInfo(Object aValue)
      Sets an object that contains all attributes of the link. This object is typically an instance of TLcdXLinkSimpleLink.
      Parameters:
      aValue - A link info object
      See Also:
    • getLinkedObject Link icon

      public T getLinkedObject()
      Gets the linked object.
      Returns:
      the linked object.
    • setLinkedObject Link icon

      public void setLinkedObject(T aValue)
      Sets the linked object.
      Parameters:
      aValue - the linked object to be set.