public class SweCategory extends SweAbstractUomType<String> implements SweQuality
| Constructor and Description |
|---|
SweCategory() |
SweCategory(String value,
String uom) |
SweCategory(String value,
UoM uom) |
| Modifier and Type | Method and Description |
|---|---|
<T,X extends Throwable> |
accept(SweDataComponentVisitor<T,X> visitor) |
<X extends Throwable> |
accept(VoidSweDataComponentVisitor<X> visitor) |
SweCategory |
copy() |
String |
getCodeSpace() |
Referenceable<SweAllowedTokens> |
getConstraint() |
SweConstants.SweDataComponentType |
getDataComponentType() |
String |
getStringValue()
Get value as
String |
String |
getValue()
Get value
|
boolean |
isSetCodeSpace() |
boolean |
isSetContstraint() |
boolean |
isSetValue()
Is the values set
|
SweCategory |
setCodeSpace(String codeSpace) |
void |
setConstraint(Referenceable<SweAllowedTokens> constraint) |
void |
setConstraint(SweAllowedTokens constraint) |
void |
setStringValue(String s) |
SweCategory |
setValue(String value)
Set value
|
String |
toString() |
copyValueTo, getUom, getUomObject, isSetUom, setUom, setUomcloneQuality, equals, getQuality, hashCode, isSetQuality, setQualityaddName, addName, addName, getDefaultElementEncoding, getDefinition, getDescription, getIdentifier, getLabel, getName, getNames, getXml, isSetDefinition, isSetDescription, isSetIdentifier, isSetLabel, isSetName, isSetNames, isSetXml, setDefaultElementEncoding, setDefinition, setDescription, setIdentifier, setLabel, setName, setName, setName, setXmlclone, finalize, getClass, notify, notifyAll, wait, wait, waitisSetDefaultElementEncodingpublic String getValue()
ValuegetValue in interface Value<String,SweAbstractSimpleType<String>>public SweCategory setValue(String value)
ValuesetValue in interface Value<String,SweAbstractSimpleType<String>>value - value to setpublic SweCategory setCodeSpace(String codeSpace)
public String getCodeSpace()
public boolean isSetCodeSpace()
public String toString()
toString in class SweAbstractUomType<String>public boolean isSetValue()
ValueisSetValue in interface Value<String,SweAbstractSimpleType<String>>true, if the value is setpublic void setStringValue(String s)
setStringValue in class SweAbstractSimpleType<String>public String getStringValue()
ValueStringgetStringValue in interface Value<String,SweAbstractSimpleType<String>>Stringpublic Referenceable<SweAllowedTokens> getConstraint()
public void setConstraint(SweAllowedTokens constraint)
constraint - the constraint to setpublic void setConstraint(Referenceable<SweAllowedTokens> constraint)
constraint - the constraint to setpublic boolean isSetContstraint()
public SweConstants.SweDataComponentType getDataComponentType()
getDataComponentType in class SweAbstractDataComponentpublic <T,X extends Throwable> T accept(SweDataComponentVisitor<T,X> visitor) throws X extends Throwable
accept in class SweAbstractDataComponentX extends Throwablepublic <X extends Throwable> void accept(VoidSweDataComponentVisitor<X> visitor) throws X extends Throwable
accept in class SweAbstractDataComponentX extends Throwablepublic SweCategory copy()
copy in interface Copyable<SweAbstractDataComponent>Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.