Package org.apache.sis.storage.netcdf
Class AttributeNames.Term
Object
Term
- All Implemented Interfaces:
Serializable
- Enclosing class:
AttributeNames
Holds the attribute names describing a term together with a vocabulary (or naming authority).
A term is a word or expression having a precise meaning in a domain identified by the vocabulary.
In the following table, the header lists the constants defined in the
AttributeNames
class and the other cells give the values assigned in this class fields for those constants.
AttributeNames | TEXT | VOCABULARY |
|---|---|---|
IDENTIFIER | "id" | "naming_authority" |
STANDARD_NAME | "standard_name" | "standard_name_vocabulary" |
KEYWORDS | "keywords" | "keywords_vocabulary" |
PROGRAM | "program" | |
PLATFORM | "platform" | "platform_vocabulary" |
INSTRUMENT | "instrument" | "instrument_vocabulary" |
Departure from conventions
The member names in this class are upper-cases because they should be considered as constants. For example,AttributeNames.KEYWORD.TEXT maps exactly to the "keywords" string
and nothing else. A lower-case text member name could be misleading since it would
suggest that the field contains the actual text value rather than the key by which the value
is identified in a netCDF file.- Since:
- 0.8
- See Also:
-
Field Details
-
TEXT
The keyword or the identifier code. Possible values for this field are"id","standard_name","keywords","program","platform"or"instrument".Path in ISO 19115:
-
VOCABULARY
The vocabulary or identifier namespace, ornullif none. Possible values for this field are"naming_authority","standard_name_vocabulary","keywords_vocabulary","platform_vocabulary"or"instrument_vocabulary".Path in ISO 19115:
-
-
Constructor Details
-
Term
Creates a new set of attribute names. Any argument can benullif not applicable.- Parameters:
text- the keyword or the identifier code.vocabulary- the vocabulary or identifier namespace.- Since:
- 0.8
-