|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.csapi.jr.se.mm.LocationTrigger
Defines the Sequence of Data Elements that specify the criteria for a triggered location report to be generated. The area is defined by an ellipse.
Constructor Summary | |
LocationTrigger()
Creates a new LocationTrigger instance. |
|
LocationTrigger(float _longitude,
float _latitude,
float _areaSemiMajor,
float _areaSemiMinor,
int _angleOfSemiMajor,
org.csapi.jr.se.mm.LocationTriggerCriteria _criterion,
int _reportingInterval)
Creates a new LocationTrigger instance. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one. |
int |
getAngleOfSemiMajor()
This method returns a angleOfSemiMajor. |
float |
getAreaSemiMajor()
This method returns a areaSemiMajor. |
float |
getAreaSemiMinor()
This method returns a areaSemiMinor. |
org.csapi.jr.se.mm.LocationTriggerCriteria |
getCriterion()
This method returns a criterion. |
float |
getLatitude()
This method returns a latitude. |
float |
getLongitude()
This method returns a longitude. |
int |
getReportingInterval()
This method returns a reportingInterval. |
int |
hashCode()
Returns a hashcode value for the object. |
void |
setAngleOfSemiMajor(int angleOfSemiMajor)
This method sets a angleOfSemiMajor. |
void |
setAreaSemiMajor(float areaSemiMajor)
This method sets a areaSemiMajor. |
void |
setAreaSemiMinor(float areaSemiMinor)
This method sets a areaSemiMinor. |
void |
setCriterion(org.csapi.jr.se.mm.LocationTriggerCriteria criterion)
This method sets a criterion. |
void |
setLatitude(float latitude)
This method sets a latitude. |
void |
setLongitude(float longitude)
This method sets a longitude. |
void |
setReportingInterval(int reportingInterval)
This method sets a reportingInterval. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocationTrigger()
public LocationTrigger(float _longitude, float _latitude, float _areaSemiMajor, float _areaSemiMinor, int _angleOfSemiMajor, org.csapi.jr.se.mm.LocationTriggerCriteria _criterion, int _reportingInterval)
_longitude
- Longitude of the position used in the trigger._latitude
- Latitude of the position used in the trigger._areaSemiMajor
- Semi major of ellipse area used in the trigger._areaSemiMinor
- Semi minor of ellipse area used in the trigger._angleOfSemiMajor
- Angle of the semi major of the ellipse area used in the trigger._criterion
- Trigger criteria with regard to the ellipse area._reportingInterval
- Duration between generated location reports.Method Detail |
public float getLongitude()
public float getLatitude()
public float getAreaSemiMajor()
public float getAreaSemiMinor()
public int getAngleOfSemiMajor()
public org.csapi.jr.se.mm.LocationTriggerCriteria getCriterion()
public int getReportingInterval()
public void setLongitude(float longitude)
public void setLatitude(float latitude)
public void setAreaSemiMajor(float areaSemiMajor)
public void setAreaSemiMinor(float areaSemiMinor)
public void setAngleOfSemiMajor(int angleOfSemiMajor)
public void setCriterion(org.csapi.jr.se.mm.LocationTriggerCriteria criterion)
public void setReportingInterval(int reportingInterval)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |