Enum Class DataspaceSet.DataspaceChildrenPolicy
java.lang.Object
java.lang.Enum<DataspaceSet.DataspaceChildrenPolicy>
com.orchestranetworks.schema.types.dataspace.DataspaceSet.DataspaceChildrenPolicy
- All Implemented Interfaces:
Serializable
,Comparable<DataspaceSet.DataspaceChildrenPolicy>
,Constable
- Enclosing interface:
- DataspaceSet
public static enum DataspaceSet.DataspaceChildrenPolicy
extends Enum<DataspaceSet.DataspaceChildrenPolicy>
Inclusion policies for the children of a current dataspace in a current subset.
- Since:
- 5.8.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll the branch descendants of the current dataspace will be included.All the descendants of the current dataspace will be included.All the snapshot descendants of the current dataspace will be included.Only direct branch children are automatically included in the result set.Only direct snapshot children are automatically included in the result set.No child dataspace will be included. -
Method Summary
Modifier and TypeMethodDescriptionformat()
Returns the code associated with this policy.getLabel()
Returns the policy label.Parses a string value and returns the associated children policy.Returns the enum constant of this class with the specified name.static DataspaceSet.DataspaceChildrenPolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
No child dataspace will be included. -
INCLUDE_ALL_DESCENDANTS
All the descendants of the current dataspace will be included. -
INCLUDE_ALL_BRANCH_DESCENDANTS
All the branch descendants of the current dataspace will be included. -
INCLUDE_ALL_SNAPSHOT_DESCENDANTS
All the snapshot descendants of the current dataspace will be included. -
INCLUDE_BRANCH_CHILDREN
Only direct branch children are automatically included in the result set.If the current dataspace is an initial snapshot, includes the associated branch (other snapshots do not have children). If the current dataspace is a branch, includes all the branches associated to the initial snapshots directly under this branch.
-
INCLUDE_SNAPSHOT_CHILDREN
Only direct snapshot children are automatically included in the result set.If the current dataspace is a branch, includes the snapshots that are the direct children of this branch. If the current dataspace is a snapshot, includes the snapshots that are the direct children of its associated branch.
-
-
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
-
parseType
Parses a string value and returns the associated children policy.- Parameters:
aValue
- the children policy as a literal string
-
getLabel
Returns the policy label. -
format
Returns the code associated with this policy.
-