public class SweTime extends SweAbstractUomType<org.joda.time.DateTime>
| Constructor and Description |
|---|
SweTime() |
| Modifier and Type | Method and Description |
|---|---|
<T,X extends Throwable> |
accept(SweDataComponentVisitor<T,X> visitor) |
<X extends Throwable> |
accept(VoidSweDataComponentVisitor<X> visitor) |
SweTime |
copy() |
Referenceable<SweAllowedTimes> |
getConstraint() |
SweConstants.SweDataComponentType |
getDataComponentType() |
String |
getStringValue()
Get value as
String |
org.joda.time.DateTime |
getValue()
Get value
|
boolean |
isSetContstraint() |
boolean |
isSetValue()
Is the values set
|
void |
setConstraint(Referenceable<SweAllowedTimes> constraint) |
void |
setConstraint(SweAllowedTimes constraint) |
void |
setStringValue(String s) |
SweTime |
setValue(org.joda.time.DateTime value)
Set value
|
copyValueTo, getUom, getUomObject, isSetUom, setUom, setUom, toStringcloneQuality, 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 org.joda.time.DateTime getValue()
Valuepublic SweTime setValue(org.joda.time.DateTime value)
Valuevalue - value to setpublic void setStringValue(String s)
setStringValue in class SweAbstractSimpleType<org.joda.time.DateTime>public String getStringValue()
ValueStringStringpublic boolean isSetValue()
Valuetrue, if the value is setpublic Referenceable<SweAllowedTimes> getConstraint()
public void setConstraint(SweAllowedTimes constraint)
constraint - the constraint to setpublic void setConstraint(Referenceable<SweAllowedTimes> 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 SweTime copy()
Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.