Package org.cristalise.kernel.property
Enum Class BuiltInItemProperties
- All Implemented Interfaces:
Serializable,Comparable<BuiltInItemProperties>,Constable
Helper enumeration to make built-in Property names easier to maintain and document
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUsed in description Items to manage Elementary or Composite Activity DefinitionUsed for generating Names: the prefix (e.g.Used for generating Names: the last number used to generate a NameUsed for generating Names: the length of the number part left padded by zerosThe name or ID of the Item, specified by the Factory Item and sent as the first parameter in theCreateItemFromDescriptionpredefined Step or generated during the execution ofCreateItemFromDescription.The UUID of the Query Item and its Version number separated by colon ':'.Used in factory Items to specify the Root DomainPath.The UUID of the Schema Item and its Version number separated by colon ':'.The UUID of the Script Item and its Version number separated by colon ':'.It is used during the permission checks based on Shiro WildcardPermission.The UUID of the StateMachine Item and its Version number separated by colon ':'.The type of the Item, it is a good practice to set it as an immutable, fixed value Property.The Name or the UUID of the Schema Item and its Version separated by colon ':'.The UUID of the Workflow Item and its Version number separated by colon ':' -
Method Summary
Modifier and TypeMethodDescriptiongetName()static BuiltInItemPropertiestoString()static BuiltInItemPropertiesReturns the enum constant of this class with the specified name.static BuiltInItemProperties[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AGGREGATE_SCRIPT_URN
-
COMPLEXITY
Used in description Items to manage Elementary or Composite Activity Definition -
ID_PREFIX
Used for generating Names: the prefix (e.g. PR) used as a beginning of the Name -
KERNEL_VERSION
-
LEFT_PAD_SIZE
Used for generating Names: the length of the number part left padded by zeros -
LAST_COUNT
Used for generating Names: the last number used to generate a Name -
MASTER_SCHEMA_URN
-
NAME
The name or ID of the Item, specified by the Factory Item and sent as the first parameter in theCreateItemFromDescriptionpredefined Step or generated during the execution ofCreateItemFromDescription. It will be automatically added even if it was not defined. -
NAMESPACE
-
MODULE
-
ROOT
Used in factory Items to specify the Root DomainPath. -
TYPE
The type of the Item, it is a good practice to set it as an immutable, fixed value Property. It is convenient to use in lookup.search() to find Items of the same type. It is used in Dev module extensively, and it is also used when checking permission for the 'domain' part of Shiro WildcardPermission (use 'SecurityDomain' Property to overwrite it) -
SECURITY_DOMAIN
It is used during the permission checks based on Shiro WildcardPermission. If not blank it replaces the type of the Item used for the 'domain' section in the constructed permission string. Can be null or undefined. -
VERSION
-
SCHEMA_URN
The UUID of the Schema Item and its Version number separated by colon ':'. It is created during instantiation of the Schema Dependency. -
SCRIPT_URN
The UUID of the Script Item and its Version number separated by colon ':'. It is created during instantiation of the Script Dependency. -
QUERY_URN
The UUID of the Query Item and its Version number separated by colon ':'. It is created during instantiation of the Query Dependency. -
STATE_MACHINE_URN
The UUID of the StateMachine Item and its Version number separated by colon ':'. It is created during instantiation of the StateMachine Dependency. -
UPDATE_SCHEMA
The Name or the UUID of the Schema Item and its Version separated by colon ':'. It is specified in Factory Items is used while creating new Items. -
WORKFLOW_URN
The UUID of the Workflow Item and its Version number separated by colon ':'
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getName
-
toString
- Overrides:
toStringin classEnum<BuiltInItemProperties>
-
getValue
-