Package org.ivoa.dm.demodm.catalog
Enum Class SourceClassification
- All Implemented Interfaces:
Serializable,Comparable<SourceClassification>,Constable
@VoDml(id="DemoDM:catalog.SourceClassification",
role=enumeration)
public enum SourceClassification
extends Enum<SourceClassification>
.
Enumeration SourceClassification :
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic final SourceClassificationReturn the SourceClassification enum constant corresponding to the given string representation (value)final StringtoString()Return the string representation of this enum constant (value)final Stringvalue()Return the string representation of this enum constant (value)static SourceClassificationReturns the enum constant of this class with the specified name.static SourceClassification[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TARGET
Value target : . -
CALIBRATOR
Value calibrator : .
-
-
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
-
value
Return the string representation of this enum constant (value)- Returns:
- string representation of this enum constant (value)
-
toString
Return the string representation of this enum constant (value)- Overrides:
toStringin classEnum<SourceClassification>- Returns:
- string representation of this enum constant (value)
- See Also:
-
fromValue
Return the SourceClassification enum constant corresponding to the given string representation (value)- Parameters:
v- string representation (value)- Returns:
- SourceClassification enum constant
- Throws:
IllegalArgumentException- if there is no matching enum constant
-