Package org.apache.sis.metadata
Enum Class ModifiableMetadata.State
- All Implemented Interfaces:
- Serializable,- Comparable<ModifiableMetadata.State>,- Constable
- Enclosing class:
- ModifiableMetadata
Whether the metadata is still editable or has been made final.
 New 
ModifiableMetadata instances are initially EDITABLE
 and can be made FINAL after construction by a call to ModifiableMetadata.transitionTo(State).
 Note:
 more states may be added in future Apache SIS versions. On possible candidate is 
STAGED.
 See SIS-81.- Since:
- 1.0
- See Also:
Defined in the sis-metadata module
- 
Nested Class SummaryNested classes/interfaces inherited from class EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe metadata allows missing values to be set, but does not allow existing values to be modified.The metadata is modifiable.The metadata is unmodifiable.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ModifiableMetadata.StateReturns the enum constant of this class with the specified name.static ModifiableMetadata.State[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- 
Enum Constant Details- 
EDITABLEThe metadata is modifiable. This is the default state when newModifiableMetadatainstances are created. Note that a modifiable metadata instance does not imply that all properties contained in that instance are also editable.
- 
COMPLETABLEThe metadata allows missing values to be set, but does not allow existing values to be modified. This state is not appendable, i.e. it does not allow adding elements in a collection.
- 
FINALThe metadata is unmodifiable. When a metadata is final, it cannot be moved back to an editable state (but it is still possible to create a modifiable copy withMetadataCopier). Invoking any setter method on an unmodifiable metadata cause anUnmodifiableMetadataExceptionto be thrown.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-