|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
LocationMark is a named storage for an address. It is used to save the end user the efforts of typing address each time they want to use it as a parameter for a service for example.
Field Summary | |
static int |
TYPEID The type id of this class. |
static java.lang.String |
TYPENAME The constant class type identifier |
static int |
UNIT_KM |
static int |
UNIT_MILE |
Method Summary | |
java.lang.String |
getDescription() |
int |
getDistanceUnit() Get the distance unit of the radius of a region type location mark. |
Location |
getLocation() Get the location of the location mark. |
Profile |
getProfile() |
int[] |
getRegionIds() Get the ids of the regions of the location mark. |
User |
getUser() |
boolean |
hasGeometry() Check if the location mark has geometry or not. |
boolean |
isGeocoded() This function is for "point" type LocationMark only. |
boolean |
isPoint() Return true if location mark is a point. |
boolean |
isRegion() Return true if location mark is a region. |
void |
setDescription(java.lang.String description) |
void |
setDistanceUnit(int unit) Set the distance unit for the radius of a region type location mark. |
void |
setLocation(Location location) Set the location of the location mark. |
void |
setProfile(Profile profile) |
void |
setUser(User user) |
Methods inherited from interface oracle.panama.model.ModelObject |
delete, getCreatedDate, getId, getLastModifiedDate, getName, getTypeId, getTypeName, isSystem, setName, setSystem, undoAll |
Methods inherited from interface oracle.panama.model.XMLObject |
setXML, toXML |
Methods inherited from interface oracle.panama.model.Location |
geocode, getAddressLastLine, getAddressLine1, getAddressLine2, getBlock, getCity, getCompanyName, getCountry, getCounty, getGeocodeProvider, getMatchMode, getPostalCode, getPostalCodeExt, getState, setAddressLastLine, setAddressLine1, setAddressLine2, setBlock, setCity, setCompanyName, setCountry, setCounty, setGeocodeProvider, setMatchMode, setPostalCode, setPostalCodeExt, setState |
Methods inherited from interface oracle.panama.model.Point |
getDistance, getLabel, getLatitude, getLongitude, getPositionProvider, getRadius, setLabel, setLatitude, setLongitude, setPositionProvider, setRadius |
Field Detail |
public static final java.lang.String TYPENAME
public static final int TYPEID
public static final int UNIT_MILE
public static final int UNIT_KM
Method Detail |
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public User getUser()
public void setUser(User user)
public Profile getProfile()
public void setProfile(Profile profile) throws PanamaException
PanamaException
public boolean hasGeometry()
public boolean isGeocoded()
public boolean isRegion()
public boolean isPoint()
public Location getLocation()
public void setLocation(Location location)
public int getDistanceUnit()
public void setDistanceUnit(int unit)
unit
- An integer whose value is either LocationMark.UNIT_MILE or UNIT_KMpublic int[] getRegionIds()
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |