compbio.metadata
Class ValueConstrain

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

public class ValueConstrain
extends java.lang.Object

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

Author:
pvtroshin Date November 2009

Nested Class Summary
static class ValueConstrain.Type
           
 
Constructor Summary
ValueConstrain()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Number getMax()
           
 java.lang.Number getMin()
           
 ValueConstrain.Type getType()
           
 int hashCode()
           
 void setMax(java.lang.String max)
           
 void setMin(java.lang.String min)
           
 void setType(ValueConstrain.Type type)
           
 java.lang.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 java.lang.Number getMax()

setMax

public void setMax(java.lang.String max)

getMin

public java.lang.Number getMin()

setMin

public void setMin(java.lang.String min)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object