Package org.gbif.dwc.terms
Interface Term
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AcefTerm
,AcTerm
,BibTexTerm
,ChronoTerm
,DcElement
,DcTerm
,DwcaTerm
,DwcTerm
,ExifTerm
,GadmTerm
,GbifDnaTerm
,GbifInternalTerm
,GbifMiqeTerm
,GbifTerm
,GermplasmTerm
,GgbnTerm
,IptcTerm
,IucnTerm
,MixsTerm
,ObisTerm
,PhotoshopTerm
,PlaziTerm
,UnknownTerm
,Wgs84GeoPositioningTerm
,XmpRightsTerm
,XmpTerm
public interface Term extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description boolean
isClass()
Informs if a term is generally used as a class term, i.e.URI
namespace()
The namespace the terms are in.String
prefix()
A unique standard prefix representing the namespace.default String
prefixedName()
The simple term name prefixed by a short unique namespace abbreviation.default String
qualifiedName()
The full qualified term uri including the namespace.String
simpleName()
The simple term name without any namespace or paths.
-
-
-
Method Detail
-
namespace
URI namespace()
The namespace the terms are in. Default implementations here expect the namespace to end with a slash.
-
simpleName
String simpleName()
The simple term name without any namespace or paths. For example scientificName.
-
prefixedName
default String prefixedName()
The simple term name prefixed by a short unique namespace abbreviation. For example dwc:scientificName.
-
qualifiedName
default String qualifiedName()
The full qualified term uri including the namespace. For example http://rs.tdwg.org/dwc/terms/scientificName.
-
isClass
boolean isClass()
Informs if a term is generally used as a class term, i.e. defining rowTypes not properties. For example VernacularName, Taxon or Occurrence- Returns:
- true if the term is defining a class instead of a property, e.g. Taxon
-
-