|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.gpe.clients.api.jsdl.RangeValueType
public class RangeValueType
The representation of range requirement types in JSDL.
Constructor Summary | |
---|---|
RangeValueType()
|
|
RangeValueType(double exact)
Create the exact requirements |
|
RangeValueType(double exact,
double lowerBound,
double upperBound)
Create the range requirements |
Method Summary | |
---|---|
double |
getExact()
Get exact requirements |
double |
getLowerBound()
Get lower bound |
double |
getUpperBound()
Get upper bound |
boolean |
lowerThanDouble(double value)
Test if requirements are met |
void |
setExact(double exact)
Set exact requirements |
void |
setLowerBound(double lowerBound)
Set lower bound |
void |
setUpperBound(double upperBound)
Set upper bound |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RangeValueType(double exact, double lowerBound, double upperBound)
exact
- - the exact valuelowerBound
- - the lower boundupperBound
- - the upper boundpublic RangeValueType(double exact)
exact
- - the exact valuepublic RangeValueType()
Method Detail |
---|
public double getExact()
public void setExact(double exact)
exact
- - the exact requirementspublic double getLowerBound()
public void setLowerBound(double lowerBound)
lowerBound
- - the lower boundpublic double getUpperBound()
public void setUpperBound(double upperBound)
upperBound
- - the upper boundpublic boolean lowerThanDouble(double value)
value
- - the tested value
true
if value is in the range and not less than the exact valuepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |