compbio.metadata
Class ValueConstrain

java.lang.Object
  extended by compbio.metadata.ValueConstrain

public class ValueConstrain
extends Object

The type and the lower and upper boundaries for numerical value.

Version:
1.0 November 2009
Author:
pvtroshin

Nested Class Summary
static class ValueConstrain.Type
           
 
Constructor Summary
ValueConstrain()
           
 
Method Summary
 boolean equals(Object obj)
           
 Number getMax()
           
 Number getMin()
           
 ValueConstrain.Type getType()
           
 int hashCode()
           
 void setMax(String max)
           
 void setMin(String min)
           
 void setType(ValueConstrain.Type type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValueConstrain

public ValueConstrain()
Method Detail

getType

public ValueConstrain.Type getType()

setType

public void setType(ValueConstrain.Type type)

getMax

public Number getMax()

setMax

public void setMax(String max)

getMin

public Number getMin()

setMin

public void setMin(String min)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object