Package org.apache.sis.internal.storage
Enum MetadataBuilder.Scope
- All Implemented Interfaces:
Serializable
,Comparable<MetadataBuilder.Scope>
,java.lang.constant.Constable
- Enclosing class:
MetadataBuilder
Specify if an information apply to data, to metadata or to both.
This is used for setting the locale or character encoding.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MetadataBuilder.Scope
Returns the enum constant of this type with the specified name.static MetadataBuilder.Scope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RESOURCE
Information applies only to the resource (data). -
METADATA
Information applies only to metadata. -
ALL
Information applies to both resource and metadata.
-
-
Constructor Details
-
Scope
private Scope()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-