Class DECType

    • Field Detail

      • VOID

        public static final DECType VOID
        Represents an invalid Data Element Concept type.
      • FIELD

        public static final DECType FIELD
      • GROUP

        public static final DECType GROUP
      • TABLE

        public static final DECType TABLE
      • DATASET

        public static final DECType DATASET
      • DATASPACE

        public static final DECType DATASPACE
      • SERVICE

        @Deprecated
        public static final DECType SERVICE
        Deprecated.
        As of v1.4.0, replaced by OPERATION.
      • WORKFLOW

        public static final DECType WORKFLOW
      • OPERATION

        public static final DECType OPERATION
        Since:
        1.4.0
      • BUSINESS_RULE

        public static final DECType BUSINESS_RULE
        Since:
        1.4.0
      • PERMISSION_RULE

        public static final DECType PERMISSION_RULE
        Since:
        1.4.0
      • USER_TASK

        public static final DECType USER_TASK
        Since:
        1.4.0
    • Method Detail

      • parse

        public static DECType parse​(java.lang.String type)

        Returns a DECType instance from a code.

        Returns VOID if the code is invalid.

      • isVoid

        public boolean isVoid()
        Returns true if this Data Element Concept type is VOID.
      • isField

        public boolean isField()
        Returns true if this Data Element Concept type is FIELD.
      • isGroup

        public boolean isGroup()
        Returns true if this Data Element Concept type is GROUP.
        Since:
        1.2.0
      • isTable

        public boolean isTable()
        Returns true if this Data Element Concept type is TABLE.
      • isDataset

        public boolean isDataset()
        Returns true if this Data Element Concept type is DATASET.
      • isDataspace

        public boolean isDataspace()
        Returns true if this Data Element Concept type is DATASPACE.
      • isWorkflow

        public boolean isWorkflow()
        Returns true if this Data Element Concept type is WORKFLOW.
      • isService

        @Deprecated
        public boolean isService()
        Deprecated.
        As of v1.4.0, replaced by isOperation().
        Since:
        1.4.0
        See Also:
        SERVICE
      • isOperation

        public boolean isOperation()
        Returns true if this Data Element Concept type is OPERATION.
        Since:
        1.4.0
      • isPermissionRule

        public boolean isPermissionRule()
        Returns true if this Data Element Concept type is PERMISSION_RULE.
        Since:
        1.4.0
      • isBusinessRule

        public boolean isBusinessRule()
        Returns true if this Data Element Concept type is BUSINESS_RULE.
        Since:
        1.4.0
      • isUserTask

        public boolean isUserTask()
        Returns true if this Data Element Concept type is USER_TASK.
        Since:
        1.4.0
      • getValue

        public java.lang.String getValue()
        Returns the Data Element Concept type code.
      • getLabel

        public com.onwbp.base.text.UserMessage getLabel()
        Returns the label of this Data Element Concept type.
        Since:
        2.2.1
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Since:
        1.4.0
        See Also:
        getValue()