public class UCD extends Object implements Comparable<UCD>
UCDs are obtained from the static getUCD(java.lang.String)
method; any
two UCDs with the same ID are guaranteed to be the same object.
UCD_DEFINITIONS_LOC
. If this resource is unavailable at
runtime, a warning will be written to the logging system.
The original source of this text file was
the CDS List of
all UCDs.Modifier and Type | Field and Description |
---|---|
static String |
UCD_DEFINITIONS_LOC |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(UCD other)
Implements the
Comparable interface, comparing
alphabetically by ID. |
String |
getDescription()
Returns the textual description of the UCD.
|
String |
getID()
Returns the ID string of this UCD.
|
static UCD |
getUCD(String id)
Returns the UCD object corresponding to a given UCD ID string.
|
static Iterator<UCD> |
getUCDs()
Returns an iterator over all the known UCDs.
|
String |
toString()
Returns the UCD id string.
|
public static final String UCD_DEFINITIONS_LOC
public String getID()
public String getDescription()
public int compareTo(UCD other)
Comparable
interface, comparing
alphabetically by ID.compareTo
in interface Comparable<UCD>
public static UCD getUCD(String id)
null
if no UCD with the given name is known.id
- the string used to identify the UCD (it will have
surrounding spaces trimmed)id
, or
null
if none can be foundpublic static Iterator<UCD> getUCDs()
UCD
objectsCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.