Package org.bedework.jsforj.impl.values
Class JSLocationImpl
- java.lang.Object
-
- org.bedework.jsforj.impl.values.JSValueImpl
-
- org.bedework.jsforj.impl.values.JSLocationImpl
-
- All Implemented Interfaces:
JSLocation,JSValue
public class JSLocationImpl extends JSValueImpl implements JSLocation
User: mike Date: 10/25/19 Time: 12:45
-
-
Field Summary
-
Fields inherited from class org.bedework.jsforj.impl.values.JSValueImpl
factory, type
-
-
Constructor Summary
Constructors Constructor Description JSLocationImpl(String type, com.fasterxml.jackson.databind.JsonNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCoordinates()StringgetDescription()JSLinksgetLinks(boolean create)JSList<String>getLocationTypes(boolean create)StringgetName()StringgetRelativeTo()StringgetTimeZone()StringgetUid()voidsetCoordinates(String val)voidsetDescription(String val)voidsetLocationTypes(JSList<String> val)voidsetName(String val)voidsetRelativeTo(String val)voidsetTimeZone(String val)voidsetUid(String val)-
Methods inherited from class org.bedework.jsforj.impl.values.JSValueImpl
assertArray, assertBooleanNode, assertIntNode, assertObject, assertStringNode, clear, equals, getBooleanProperty, getBooleanValue, getChanged, getFactory, getNode, getObjectType, getOverrideGenerated, getOwner, getParentProperty, getProperties, getProperty, getProperty, getPropertyValue, getStringProperty, getStringValue, getType, getUnsignedIntegerProperty, getValue, hasChanges, hasProperty, isString, makeProperty, makeProperty, markOverrideGenerated, newProperty, preWrite, removeProperty, setMasterCopy, setOwner, setParentProperty, setProperty, setProperty, setProperty, setProperty, setProperty, writeValue, writeValueAsString, writeValueAsStringFormatted
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bedework.jsforj.model.values.JSValue
clear, copy, getBooleanProperty, getBooleanValue, getChanged, getNode, getObjectType, getOverrideGenerated, getOwner, getParentProperty, getProperties, getProperty, getProperty, getPropertyValue, getStringProperty, getStringValue, getType, getUnsignedIntegerProperty, getValue, hasChanges, hasProperty, isString, makeProperty, markOverrideGenerated, newProperty, preWrite, removeProperty, setProperty, setProperty, setProperty, setProperty, setProperty, writeValue, writeValueAsString, writeValueAsStringFormatted
-
-
-
-
Constructor Detail
-
JSLocationImpl
public JSLocationImpl(String type, com.fasterxml.jackson.databind.JsonNode node)
-
-
Method Detail
-
setName
public void setName(String val)
- Specified by:
setNamein interfaceJSLocation
-
getName
public String getName()
- Specified by:
getNamein interfaceJSLocation
-
setUid
public void setUid(String val)
- Specified by:
setUidin interfaceJSLocation
-
getUid
public String getUid()
- Specified by:
getUidin interfaceJSLocation
-
setDescription
public void setDescription(String val)
- Specified by:
setDescriptionin interfaceJSLocation
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceJSLocation
-
setRelativeTo
public void setRelativeTo(String val)
- Specified by:
setRelativeToin interfaceJSLocation
-
getRelativeTo
public String getRelativeTo()
- Specified by:
getRelativeToin interfaceJSLocation
-
setTimeZone
public void setTimeZone(String val)
- Specified by:
setTimeZonein interfaceJSLocation
-
getTimeZone
public String getTimeZone()
- Specified by:
getTimeZonein interfaceJSLocation
-
setCoordinates
public void setCoordinates(String val)
- Specified by:
setCoordinatesin interfaceJSLocation
-
getCoordinates
public String getCoordinates()
- Specified by:
getCoordinatesin interfaceJSLocation
-
setLocationTypes
public void setLocationTypes(JSList<String> val)
- Specified by:
setLocationTypesin interfaceJSLocation
-
getLocationTypes
public JSList<String> getLocationTypes(boolean create)
- Specified by:
getLocationTypesin interfaceJSLocation- Parameters:
create- true if we create property if it doesn't exist- Returns:
- list of location types
-
getLinks
public JSLinks getLinks(boolean create)
- Specified by:
getLinksin interfaceJSLocation- Parameters:
create- true if we create property if it doesn't exist- Returns:
- JSLinks object - never null if create true
-
-