Package org.n52.shetland.inspire
Class AbstractInspireKeyword<T>
java.lang.Object
org.n52.shetland.inspire.AbstractInspireKeyword<T>
- Direct Known Subclasses:
InspireKeyword,InspireMandatoryKeyword
Abstract service internal representation of INSPIRE keywords
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionconstructorAbstractInspireKeyword(InspireOriginatingControlledVocabulary originatingControlledVocabulary) constructor -
Method Summary
Modifier and TypeMethodDescriptionabstract TGet the keyword valueGet the keywordbooleanCheck if the keyword is setprotected abstract voidsetKeywordValue(T keywordValue) Set the keyword valuetoString()
-
Constructor Details
-
AbstractInspireKeyword
public AbstractInspireKeyword()constructor -
AbstractInspireKeyword
public AbstractInspireKeyword(InspireOriginatingControlledVocabulary originatingControlledVocabulary) constructor- Parameters:
originatingControlledVocabulary- the keyword
-
-
Method Details
-
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
Get the keyword value- Returns:
- the keyword value
-
setKeywordValue
Set the keyword value- Parameters:
keywordValue- the keyword value to set
-
toString
-