Class OrgUnitModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    B2BUnitModel

    public class OrgUnitModel
    extends CompanyModel
    Generated model class for type OrgUnit first defined at extension commerceservices.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String ACTIVE
        Generated constant - Attribute key of OrgUnit.active attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • PATH

        public static final java.lang.String PATH
        Generated constant - Attribute key of OrgUnit.path attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OrgUnitModel

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

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

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

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

      • getActive

        @Accessor(qualifier="active",
                  type=GETTER)
        public java.lang.Boolean getActive()
        Generated method - Getter of the OrgUnit.active attribute defined at extension commerceservices.
        Returns:
        the active
      • getPath

        @Accessor(qualifier="path",
                  type=GETTER)
        public java.lang.String getPath()
        Generated method - Getter of the OrgUnit.path attribute defined at extension commerceservices.
        Returns:
        the path - Flat representation of the path of traversal to reach the OrgUnit from the root of its organization.
      • setActive

        @Accessor(qualifier="active",
                  type=SETTER)
        public void setActive​(java.lang.Boolean value)
        Generated method - Setter of OrgUnit.active attribute defined at extension commerceservices.
        Parameters:
        value - the active
      • setPath

        @Accessor(qualifier="path",
                  type=SETTER)
        public void setPath​(java.lang.String value)
        Generated method - Setter of OrgUnit.path attribute defined at extension commerceservices.
        Parameters:
        value - the path - Flat representation of the path of traversal to reach the OrgUnit from the root of its organization.