Class ObjectCollectionElementModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ObjectCollectionItemReferenceModel

public class ObjectCollectionElementModel extends ItemModel
Generated model class for type ObjectCollectionElement first defined at extension cockpit.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _COCKPITABSTRACTCOLLECTION2ELEMENTRELATION

      public static final String _COCKPITABSTRACTCOLLECTION2ELEMENTRELATION
      Generated relation code constant for relation CockpitAbstractCollection2ElementRelation defining source attribute collection in extension cockpit.
      See Also:
    • OBJECTTYPECODE

      public static final String OBJECTTYPECODE
      Generated constant - Attribute key of ObjectCollectionElement.objectTypeCode attribute defined at extension cockpit.
      See Also:
    • POSITION

      public static final String POSITION
      Generated constant - Attribute key of ObjectCollectionElement.position attribute defined at extension cockpit.
      See Also:
    • COLLECTION

      public static final String COLLECTION
      Generated constant - Attribute key of ObjectCollectionElement.collection attribute defined at extension cockpit.
      See Also:
  • Constructor Details

    • ObjectCollectionElementModel

      public ObjectCollectionElementModel()
      Generated constructor - Default constructor for generic creation.
    • ObjectCollectionElementModel

      public ObjectCollectionElementModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • ObjectCollectionElementModel

      @Deprecated(since="4.1.1", forRemoval=true) public ObjectCollectionElementModel(CockpitObjectAbstractCollectionModel _collection, String _objectTypeCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _collection - initial attribute declared by type ObjectCollectionElement at extension cockpit
      _objectTypeCode - initial attribute declared by type ObjectCollectionElement at extension cockpit
    • ObjectCollectionElementModel

      @Deprecated(since="4.1.1", forRemoval=true) public ObjectCollectionElementModel(CockpitObjectAbstractCollectionModel _collection, String _objectTypeCode, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _collection - initial attribute declared by type ObjectCollectionElement at extension cockpit
      _objectTypeCode - initial attribute declared by type ObjectCollectionElement at extension cockpit
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCollection

      @Accessor(qualifier="collection", type=GETTER) public CockpitObjectAbstractCollectionModel getCollection()
      Generated method - Getter of the ObjectCollectionElement.collection attribute defined at extension cockpit.
      Returns:
      the collection
    • getObjectTypeCode

      @Accessor(qualifier="objectTypeCode", type=GETTER) public String getObjectTypeCode()
      Generated method - Getter of the ObjectCollectionElement.objectTypeCode attribute defined at extension cockpit.
      Returns:
      the objectTypeCode
    • getPosition

      @Accessor(qualifier="position", type=GETTER) public Integer getPosition()
      Generated method - Getter of the ObjectCollectionElement.position attribute defined at extension cockpit.
      Returns:
      the position
    • setCollection

      @Accessor(qualifier="collection", type=SETTER) public void setCollection(CockpitObjectAbstractCollectionModel value)
      Generated method - Setter of ObjectCollectionElement.collection attribute defined at extension cockpit.
      Parameters:
      value - the collection
    • setObjectTypeCode

      @Accessor(qualifier="objectTypeCode", type=SETTER) public void setObjectTypeCode(String value)
      Generated method - Setter of ObjectCollectionElement.objectTypeCode attribute defined at extension cockpit.
      Parameters:
      value - the objectTypeCode