|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.UCD
public class UCD
Describes Uniform Column Descriptors. This class knows about all currently defined UCDs, the Unified Column Descriptors defined by the CDS. Each UCD has a unique ID by which it is known, and a description giving a brief explanation of what it means.
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.
Field Summary | |
---|---|
static java.lang.String |
UCD_DEFINITIONS_LOC
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object other)
Implements the Comparable interface, comparing
alphabetically by ID. |
java.lang.String |
getDescription()
Returns the textual description of the UCD. |
java.lang.String |
getID()
Returns the ID string of this UCD. |
static UCD |
getUCD(java.lang.String id)
Returns the UCD object corresponding to a given UCD ID string. |
static java.util.Iterator |
getUCDs()
Returns an iterator over all the known UCDs. |
java.lang.String |
toString()
Returns the UCD id string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String UCD_DEFINITIONS_LOC
Method Detail |
---|
public java.lang.String getID()
public java.lang.String getDescription()
public int compareTo(java.lang.Object other)
Comparable
interface, comparing
alphabetically by ID.
compareTo
in interface java.lang.Comparable
public static UCD getUCD(java.lang.String id)
id
- the string used to identify the UCD (it will have
surrounding spaces trimmed)
public static java.util.Iterator getUCDs()
public java.lang.String toString()
toString
in class java.lang.Object
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |