Package uk.ac.starlink.vo
Class ResourceField
- java.lang.Object
-
- uk.ac.starlink.vo.ResourceField
-
public class ResourceField extends java.lang.ObjectDescribes an element of the VOResource data model for use by resource query interfaces.At present the private constructor means that only the static members of this class are available for use. Others could be constructed, but only those defined here are handled by
RegTapRegistryQuery.getAdqlCondition(uk.ac.starlink.vo.ResourceField, java.lang.String, boolean).- See Also:
- IVOA VOResource Recommendation
-
-
Field Summary
Fields Modifier and Type Field Description static ResourceFieldDESCRIPTIONDescription field.static ResourceFieldIDIVO ID field.static ResourceFieldPUBLISHERPublisher field.static ResourceFieldSHORTNAMEShortName field.static ResourceFieldSUBJECTSSubjects field.static ResourceFieldTITLETitle field.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLabel()Returns a user-directed short text label for this field.java.lang.StringgetRelationalName()Returns the column name of this field in the Registry Relational Schema.java.lang.StringgetRelationalTable()Returns the fully qualified name of a table containing this column in the Registry Relational Schema.java.lang.StringgetXpath()Returns the XPath into the VOResource data model for this field.
-
-
-
Field Detail
-
SHORTNAME
public static final ResourceField SHORTNAME
ShortName field.
-
TITLE
public static final ResourceField TITLE
Title field.
-
SUBJECTS
public static final ResourceField SUBJECTS
Subjects field.
-
ID
public static final ResourceField ID
IVO ID field.
-
PUBLISHER
public static final ResourceField PUBLISHER
Publisher field.
-
DESCRIPTION
public static final ResourceField DESCRIPTION
Description field.
-
-
Method Detail
-
getLabel
public java.lang.String getLabel()
Returns a user-directed short text label for this field.- Returns:
- short label
-
getXpath
public java.lang.String getXpath()
Returns the XPath into the VOResource data model for this field.- Returns:
- xpath
-
getRelationalName
public java.lang.String getRelationalName()
Returns the column name of this field in the Registry Relational Schema.- Returns:
- relational registry name
-
getRelationalTable
public java.lang.String getRelationalTable()
Returns the fully qualified name of a table containing this column in the Registry Relational Schema.- Returns:
- relational registry table name
-
-