Class ObjectCollectionElementModel

    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _COCKPITABSTRACTCOLLECTION2ELEMENTRELATION

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

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

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

        public static final java.lang.String COLLECTION
        Generated constant - Attribute key of ObjectCollectionElement.collection attribute defined at extension cockpit.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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,
                                            java.lang.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,
                                            java.lang.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 Detail

      • getObjectTypeCode

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

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

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