Package org.ivoa.dm.registry.voresource
Enum Class Resource_status
- All Implemented Interfaces:
 Serializable,Comparable<Resource_status>,Constable
@VoDml(id="VOResource:Resource_status",
       role=enumeration)
public enum Resource_status
extends Enum<Resource_status>
.
 Enumeration Resource_status :
- 
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> - 
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionValue active : resource is believed to be currently maintained, and its description is up to date (default).Value deleted : resource publisher has explicitly deleted the resource.Value inactive : resource is apparently not being maintained at the present. - 
Method Summary
Modifier and TypeMethodDescriptionstatic final Resource_statusReturn the Resource_status 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 Resource_statusReturns the enum constant of this class with the specified name.static Resource_status[]values()Returns an array containing the constants of this enum class, in the order they are declared. 
- 
Enum Constant Details
- 
ACTIVE
Value active : resource is believed to be currently maintained, and its description is up to date (default). - 
INACTIVE
Value inactive : resource is apparently not being maintained at the present. - 
DELETED
Value deleted : resource publisher has explicitly deleted the resource. 
 - 
 - 
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<Resource_status>- Returns:
 - string representation of this enum constant (value)
 - See Also:
 
 - 
fromValue
Return the Resource_status enum constant corresponding to the given string representation (value)- Parameters:
 v- string representation (value)- Returns:
 - Resource_status enum constant
 - Throws:
 IllegalArgumentException- if there is no matching enum constant
 
 -