Class Location
- java.lang.Object
-
- com.thingworx.types.primitives.structs.Location
-
@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public final class Location extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Location v1, Location v2)
int
compareTo(java.lang.Object value)
static Location
fromString(java.lang.String value)
java.lang.Double
getElevation()
java.lang.Double
getLatitude()
java.lang.Double
getLongitude()
boolean
isDefaultValue()
void
setElevation(java.lang.Double value)
void
setLatitude(java.lang.Double value)
void
setLongitude(java.lang.Double value)
java.lang.String
toShortString()
java.lang.String
toString()
-
-
-
Field Detail
-
LATITUDE
public static final java.lang.String LATITUDE
- See Also:
- Constant Field Values
-
LONGITUDE
public static final java.lang.String LONGITUDE
- See Also:
- Constant Field Values
-
ELEVATION
public static final java.lang.String ELEVATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Location
@ThingworxExtensionApiMethod(since={6,6}) public Location()
-
Location
@ThingworxExtensionApiMethod(since={6,6}) public Location(java.lang.Double longitude, java.lang.Double latitude)
-
Location
@ThingworxExtensionApiMethod(since={6,6}) public Location(java.lang.Double longitude, java.lang.Double latitude, java.lang.Double elevation)
-
-
Method Detail
-
getLongitude
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Double getLongitude()
-
setLongitude
@ThingworxExtensionApiMethod(since={6,6}) public void setLongitude(java.lang.Double value)
-
getLatitude
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Double getLatitude()
-
setLatitude
@ThingworxExtensionApiMethod(since={6,6}) public void setLatitude(java.lang.Double value)
-
getElevation
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.Double getElevation()
-
setElevation
@ThingworxExtensionApiMethod(since={6,6}) public void setElevation(java.lang.Double value)
-
compareTo
@ThingworxExtensionApiMethod(since={6,6}) public int compareTo(java.lang.Object value)
-
compare
@ThingworxExtensionApiMethod(since={6,6}) public int compare(Location v1, Location v2)
-
toString
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toShortString
@ThingworxExtensionApiMethod(since={6,6}) public java.lang.String toShortString()
-
isDefaultValue
@ThingworxExtensionApiMethod(since={6,6}) public boolean isDefaultValue()
-
fromString
@ThingworxExtensionApiMethod(since={6,6}) public static Location fromString(java.lang.String value)
-
-