anvil.annot
Class ValueNumberIntervalType

java.lang.Object
  |
  +--anvil.annot.ValueType
        |
        +--anvil.annot.ValueNumberType
              |
              +--anvil.annot.ValueNumberIntervalType

public class ValueNumberIntervalType
extends ValueNumberType

Represents an integer interval


Field Summary
 
Fields inherited from class anvil.annot.ValueType
NULL_VALUE, NULL_VALUE_DOC
 
Method Summary
 int getEnd()
           
 int getStart()
           
 boolean isValidValue(java.lang.Object val)
           
 java.lang.String toLabel()
          Returns the name of this value type as a string.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getStart

public int getStart()

getEnd

public int getEnd()

isValidValue

public boolean isValidValue(java.lang.Object val)
Overrides:
isValidValue in class ValueNumberType

toLabel

public java.lang.String toLabel()
Description copied from class: ValueType
Returns the name of this value type as a string.

Specified by:
toLabel in class ValueType

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object