Package net.opengis.cat.csw20
Enum ElementSetType
- Object
-
- Enum<ElementSetType>
-
- ElementSetType
-
- All Implemented Interfaces:
Serializable
,Comparable<ElementSetType>
,Enumerator
public enum ElementSetType extends Enum<ElementSetType> implements Enumerator
A representation of the literals of the enumeration 'Element Set Type', and utility methods for working with them. Named subsets of catalogue object properties; these views are mapped to a specific information model and are defined in an application profile.- See Also:
Csw20Package.getElementSetType()
-
-
Field Summary
Fields Modifier and Type Field Description static int
BRIEF_VALUE
The 'Brief' literal value.static int
FULL_VALUE
The 'Full' literal value.static int
SUMMARY_VALUE
The 'Summary' literal value.static List<ElementSetType>
VALUES
A public read-only list of all the 'Element Set Type' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ElementSetType
get(int value)
Returns the 'Element Set Type' literal with the specified integer value.static ElementSetType
get(String literal)
Returns the 'Element Set Type' literal with the specified literal value.static ElementSetType
getByName(String name)
Returns the 'Element Set Type' literal with the specified name.String
getLiteral()
String
getName()
int
getValue()
String
toString()
Returns the literal value of the enumerator, which is its string representation.static ElementSetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ElementSetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BRIEF
public static final ElementSetType BRIEF
The 'Brief' literal object.- See Also:
BRIEF_VALUE
-
SUMMARY
public static final ElementSetType SUMMARY
The 'Summary' literal object.- See Also:
SUMMARY_VALUE
-
FULL
public static final ElementSetType FULL
The 'Full' literal object.- See Also:
FULL_VALUE
-
-
Field Detail
-
BRIEF_VALUE
public static final int BRIEF_VALUE
The 'Brief' literal value.If the meaning of 'Brief' literal object isn't clear, there really should be more of a description here...
- See Also:
BRIEF
, Constant Field Values
-
SUMMARY_VALUE
public static final int SUMMARY_VALUE
The 'Summary' literal value.If the meaning of 'Summary' literal object isn't clear, there really should be more of a description here...
- See Also:
SUMMARY
, Constant Field Values
-
FULL_VALUE
public static final int FULL_VALUE
The 'Full' literal value.If the meaning of 'Full' literal object isn't clear, there really should be more of a description here...
- See Also:
FULL
, Constant Field Values
-
VALUES
public static final List<ElementSetType> VALUES
A public read-only list of all the 'Element Set Type' enumerators.
-
-
Method Detail
-
values
public static ElementSetType[] 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 (ElementSetType c : ElementSetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElementSetType 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
-
get
public static ElementSetType get(String literal)
Returns the 'Element Set Type' literal with the specified literal value.
-
getByName
public static ElementSetType getByName(String name)
Returns the 'Element Set Type' literal with the specified name.
-
get
public static ElementSetType get(int value)
Returns the 'Element Set Type' literal with the specified integer value.
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceEnumerator
-
getName
public String getName()
- Specified by:
getName
in interfaceEnumerator
-
getLiteral
public String getLiteral()
- Specified by:
getLiteral
in interfaceEnumerator
-
toString
public String toString()
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<ElementSetType>
-
-