public class SweText extends SweAbstractSimpleType<String> implements Comparable<SweText>, SweQuality
| Constructor and Description |
|---|
SweText()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
<T,X extends Throwable> |
accept(SweDataComponentVisitor<T,X> visitor) |
<X extends Throwable> |
accept(VoidSweDataComponentVisitor<X> visitor) |
int |
compareTo(SweText o) |
SweText |
copy() |
Referenceable<SweAllowedTokens> |
getConstraint() |
SweConstants.SweDataComponentType |
getDataComponentType() |
String |
getStringValue()
Get value as
String |
String |
getValue()
Get value
|
boolean |
isSetContstraint() |
boolean |
isSetValue()
Is the values set
|
void |
setConstraint(Referenceable<SweAllowedTokens> constraint) |
void |
setConstraint(SweAllowedTokens constraint) |
void |
setStringValue(String s) |
SweText |
setValue(String value)
Set value
|
cloneQuality, equals, getQuality, hashCode, isSetQuality, setQuality, toStringaddName, addName, addName, copyValueTo, 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 SweText setValue(String value)
ValuesetValue in interface Value<String,SweAbstractSimpleType<String>>value - value to setpublic void setStringValue(String s)
setStringValue in class SweAbstractSimpleType<String>public String getStringValue()
ValueStringgetStringValue in interface Value<String,SweAbstractSimpleType<String>>Stringpublic boolean isSetValue()
ValueisSetValue in interface Value<String,SweAbstractSimpleType<String>>true, if the value is setpublic 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 int compareTo(SweText o)
compareTo in interface Comparable<SweText>public <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 SweText copy()
copy in interface Copyable<SweAbstractDataComponent>Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.