public final class Geo extends Property
Property.Id
Modifier and Type | Field and Description |
---|---|
static PropertyFactory<Geo> |
FACTORY |
ILLEGAL_PARAMETER_MESSAGE
Constructor and Description |
---|
Geo(BigDecimal latitude,
BigDecimal longitude) |
Geo(Group group,
List<Parameter> params,
String value)
Factory constructor.
|
Geo(List<Parameter> params,
String value)
Factory constructor.
|
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getLatitude() |
BigDecimal |
getLongitude() |
String |
getValue() |
void |
validate() |
assertOneOrLess, assertParametersEmpty, assertPidParameter, assertPrefParameter, assertTextParameter, assertTypeParameter, equals, getExtendedParameter, getExtendedParameters, getGroup, getId, getParameter, getParameters, getParameters, hashCode, toString
public static final PropertyFactory<Geo> FACTORY
public Geo(BigDecimal latitude, BigDecimal longitude)
latitude
- a latitude valuelongitude
- a longitude valuepublic Geo(List<Parameter> params, String value)
params
- property parametersvalue
- string representation of a property valuepublic String getValue()
public BigDecimal getLatitude()
public BigDecimal getLongitude()
Copyright © 2008-2012 Micronode. All Rights Reserved.