|
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 | |||||||||
A LBCriteria object represents a Location Based Criterion. A location based criterion has three components: 1. Target 2. Region 3. Type. If the type is LBCondition.TYPE_IN, when the target is inside the region or on the border of the region, the criterion is considered statisfied. If the tpe is LBCondition.TYPE_OUT, when the target is outside the region, the criterion is considered satisfied.
| Method Summary | |
long |
getConditionId()Get the id of the condition that this criterion belongs to. |
java.lang.String |
getCriteriaType()Get the type of the criterion |
long |
getRegionId()Get the id of the region |
java.lang.String |
getTarget()Get the target. |
ModelObject |
getTargetObj()Get the Model object that represents the target |
java.lang.String |
getTargetType()Get the type of the target |
boolean |
isValid()Check whether the criterion is valid or not. |
| Method Detail |
public long getConditionId()
public java.lang.String getTarget()
public java.lang.String getTargetType()
LBConditionpublic java.lang.String getCriteriaType()
LBConditionpublic long getRegionId()
public ModelObject getTargetObj()
throws LBEventException
LBEventExceptionpublic boolean isValid()
|
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 | |||||||||