Class CockpitObjectAbstractCollectionModel

    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String _USER2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
        Generated relation code constant for relation User2CockpitObjectAbstractCollectionRelation defining source attribute user in extension cockpit.
        See Also:
        Constant Field Values
      • _READPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION

        public static final java.lang.String _READPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
        Generated relation code constant for relation ReadPrincipal2CockpitObjectAbstractCollectionRelation defining source attribute readPrincipals in extension cockpit.
        See Also:
        Constant Field Values
      • _WRITEPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION

        public static final java.lang.String _WRITEPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
        Generated relation code constant for relation WritePrincipal2CockpitObjectAbstractCollectionRelation defining source attribute writePrincipals in extension cockpit.
        See Also:
        Constant Field Values
      • QUALIFIER

        public static final java.lang.String QUALIFIER
        Generated constant - Attribute key of CockpitObjectAbstractCollection.qualifier attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • LABEL

        public static final java.lang.String LABEL
        Generated constant - Attribute key of CockpitObjectAbstractCollection.label attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • DESCRIPTION

        public static final java.lang.String DESCRIPTION
        Generated constant - Attribute key of CockpitObjectAbstractCollection.description attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • USER

        public static final java.lang.String USER
        Generated constant - Attribute key of CockpitObjectAbstractCollection.user attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • READPRINCIPALS

        public static final java.lang.String READPRINCIPALS
        Generated constant - Attribute key of CockpitObjectAbstractCollection.readPrincipals attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • WRITEPRINCIPALS

        public static final java.lang.String WRITEPRINCIPALS
        Generated constant - Attribute key of CockpitObjectAbstractCollection.writePrincipals attribute defined at extension cockpit.
        See Also:
        Constant Field Values
      • ELEMENTS

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

      • CockpitObjectAbstractCollectionModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CockpitObjectAbstractCollectionModel​(java.lang.String _qualifier)
        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:
        _qualifier - initial attribute declared by type CockpitObjectAbstractCollection at extension cockpit
      • CockpitObjectAbstractCollectionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CockpitObjectAbstractCollectionModel​(ItemModel _owner,
                                                    java.lang.String _qualifier)
        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:
        _owner - initial attribute declared by type Item at extension core
        _qualifier - initial attribute declared by type CockpitObjectAbstractCollection at extension cockpit
    • Method Detail

      • getDescription

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

        @Accessor(qualifier="description",
                  type=GETTER)
        public java.lang.String getDescription​(java.util.Locale loc)
        Generated method - Getter of the CockpitObjectAbstractCollection.description attribute defined at extension cockpit.
        Parameters:
        loc - the value localization key
        Returns:
        the description
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getElements

        @Accessor(qualifier="elements",
                  type=GETTER)
        public java.util.List<ObjectCollectionElementModel> getElements()
        Generated method - Getter of the CockpitObjectAbstractCollection.elements attribute defined at extension cockpit. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the elements
      • getLabel

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

        @Accessor(qualifier="label",
                  type=GETTER)
        public java.lang.String getLabel​(java.util.Locale loc)
        Generated method - Getter of the CockpitObjectAbstractCollection.label attribute defined at extension cockpit.
        Parameters:
        loc - the value localization key
        Returns:
        the label
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • getQualifier

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

        @Accessor(qualifier="readPrincipals",
                  type=GETTER)
        public java.util.Collection<PrincipalModel> getReadPrincipals()
        Generated method - Getter of the CockpitObjectAbstractCollection.readPrincipals attribute defined at extension cockpit. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the readPrincipals
      • getUser

        @Accessor(qualifier="user",
                  type=GETTER)
        public UserModel getUser()
        Generated method - Getter of the CockpitObjectAbstractCollection.user attribute defined at extension cockpit.
        Returns:
        the user
      • getWritePrincipals

        @Accessor(qualifier="writePrincipals",
                  type=GETTER)
        public java.util.Collection<PrincipalModel> getWritePrincipals()
        Generated method - Getter of the CockpitObjectAbstractCollection.writePrincipals attribute defined at extension cockpit. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the writePrincipals
      • setDescription

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

        @Accessor(qualifier="description",
                  type=SETTER)
        public void setDescription​(java.lang.String value,
                                   java.util.Locale loc)
        Generated method - Setter of CockpitObjectAbstractCollection.description attribute defined at extension cockpit.
        Parameters:
        value - the description
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setElements

        @Accessor(qualifier="elements",
                  type=SETTER)
        public void setElements​(java.util.List<ObjectCollectionElementModel> value)
        Generated method - Setter of CockpitObjectAbstractCollection.elements attribute defined at extension cockpit.
        Parameters:
        value - the elements
      • setLabel

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

        @Accessor(qualifier="label",
                  type=SETTER)
        public void setLabel​(java.lang.String value,
                             java.util.Locale loc)
        Generated method - Setter of CockpitObjectAbstractCollection.label attribute defined at extension cockpit.
        Parameters:
        value - the label
        loc - the value localization key
        Throws:
        java.lang.IllegalArgumentException - if localization key cannot be mapped to data language
      • setQualifier

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

        @Accessor(qualifier="readPrincipals",
                  type=SETTER)
        public void setReadPrincipals​(java.util.Collection<PrincipalModel> value)
        Generated method - Setter of CockpitObjectAbstractCollection.readPrincipals attribute defined at extension cockpit.
        Parameters:
        value - the readPrincipals
      • setUser

        @Accessor(qualifier="user",
                  type=SETTER)
        public void setUser​(UserModel value)
        Generated method - Setter of CockpitObjectAbstractCollection.user attribute defined at extension cockpit.
        Parameters:
        value - the user
      • setWritePrincipals

        @Accessor(qualifier="writePrincipals",
                  type=SETTER)
        public void setWritePrincipals​(java.util.Collection<PrincipalModel> value)
        Generated method - Setter of CockpitObjectAbstractCollection.writePrincipals attribute defined at extension cockpit.
        Parameters:
        value - the writePrincipals