Package org.n52.shetland.inspire
Class AbstractInspireKeyword<T>
- java.lang.Object
-
- org.n52.shetland.inspire.AbstractInspireKeyword<T>
-
- Direct Known Subclasses:
InspireKeyword,InspireMandatoryKeyword
public abstract class AbstractInspireKeyword<T> extends Object
Abstract service internal representation of INSPIRE keywords- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description AbstractInspireKeyword()constructorAbstractInspireKeyword(InspireOriginatingControlledVocabulary originatingControlledVocabulary)constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract TgetKeywordValue()Get the keyword valueInspireOriginatingControlledVocabularygetOriginatingControlledVocabulary()Get the keywordbooleanisSetOriginatingControlledVocabulary()Check if the keyword is setprotected abstract voidsetKeywordValue(T keywordValue)Set the keyword valueStringtoString()
-
-
-
Constructor Detail
-
AbstractInspireKeyword
public AbstractInspireKeyword()
constructor
-
AbstractInspireKeyword
public AbstractInspireKeyword(InspireOriginatingControlledVocabulary originatingControlledVocabulary)
constructor- Parameters:
originatingControlledVocabulary- the keyword
-
-
Method Detail
-
getOriginatingControlledVocabulary
public InspireOriginatingControlledVocabulary getOriginatingControlledVocabulary()
Get the keyword- Returns:
- the originatingControlledVocabulary
-
isSetOriginatingControlledVocabulary
public boolean isSetOriginatingControlledVocabulary()
Check if the keyword is set- Returns:
true, if the keyword is set
-
getKeywordValue
public abstract T getKeywordValue()
Get the keyword value- Returns:
- the keyword value
-
setKeywordValue
protected abstract void setKeywordValue(T keywordValue)
Set the keyword value- Parameters:
keywordValue- the keyword value to set
-
-