compbio.metadata
Class ValueConstrain
java.lang.Object
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
ValueConstrain
public ValueConstrain()
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