edu.washington.cs.supple.rep
Interface IntegerType

All Superinterfaces:
SimpleValueType, SuppleBean, SuppleType
All Known Implementing Classes:
IntegerTypeImpl

public interface IntegerType
extends SimpleValueType

Author:
kgajos

Method Summary
 int getIncrement()
           
 java.lang.Integer getIntegerValue(StateVar uiObject)
           
 int getMax()
           
 int getMin()
           
 boolean isBounded()
          Checks if the type has both an upper and lower bound set
 boolean isExact()
           
 
Methods inherited from interface edu.washington.cs.supple.rep.SuppleType
accept, getIndex, getIndex, getLegalValues, getLikelyValues, getLongestLegalIndex, getMaxNumLegalValues, getNumLegalValues, getNumLikelyValues, getTypicalIndexLength, getUniqueId, hasIndex, hasOrdering, hasSetLegalValues, isEnumerable, isFinalLegalValues, isLegalValue, isLegalValueClass, isPrimitiveType, orderValues, toPrettyString, verifyCurrentValue
 
Methods inherited from interface edu.washington.cs.supple.rep.SuppleBean
addPropertyChangeListener, removePropertyChangeListener
 

Method Detail

getMax

public int getMax()
Returns:
the max value

getMin

public int getMin()
Returns:
the min value

getIncrement

public int getIncrement()
Returns:
the increment

isExact

public boolean isExact()
Returns:
true if this type expects exact values

isBounded

public boolean isBounded()
Checks if the type has both an upper and lower bound set

Returns:
true if bounded (above and below); false otherwise

getIntegerValue

public java.lang.Integer getIntegerValue(StateVar uiObject)