Enum SchemaFacetBlocksCommit
- java.lang.Object
-
- java.lang.Enum<SchemaFacetBlocksCommit>
-
- com.orchestranetworks.schema.info.SchemaFacetBlocksCommit
-
- All Implemented Interfaces:
Serializable,Comparable<SchemaFacetBlocksCommit>
public enum SchemaFacetBlocksCommit extends Enum<SchemaFacetBlocksCommit>
Represents the blocking policy defined by a facet using the propertyosd:validation/blocksCommit.- Since:
- 6.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEVERON_INSERT_UPDATE_DELETEUSER_SUBMIT_CHECK_MODIFIED_VALUES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()booleanisNever()booleanisOnInsertUpdateOrDelete()booleanisUserSubmitCheckModifiedValues()static SchemaFacetBlocksCommitparse(String aValue)StringtoString()static SchemaFacetBlocksCommitvalueOf(String name)Returns the enum constant of this type with the specified name.static SchemaFacetBlocksCommit[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ON_INSERT_UPDATE_DELETE
public static final SchemaFacetBlocksCommit ON_INSERT_UPDATE_DELETE
-
USER_SUBMIT_CHECK_MODIFIED_VALUES
public static final SchemaFacetBlocksCommit USER_SUBMIT_CHECK_MODIFIED_VALUES
-
NEVER
public static final SchemaFacetBlocksCommit NEVER
-
-
Method Detail
-
values
public static SchemaFacetBlocksCommit[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SchemaFacetBlocksCommit c : SchemaFacetBlocksCommit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaFacetBlocksCommit valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public final String getName()
-
parse
public static SchemaFacetBlocksCommit parse(String aValue)
-
isOnInsertUpdateOrDelete
public boolean isOnInsertUpdateOrDelete()
-
isUserSubmitCheckModifiedValues
public boolean isUserSubmitCheckModifiedValues()
-
isNever
public boolean isNever()
-
toString
public String toString()
- Overrides:
toStringin classEnum<SchemaFacetBlocksCommit>
-
-