org.wwbota.identification
Class RealNumberCharacter
java.lang.Object
|
+--org.wwbota.identification.RealNumberCharacter
- All Implemented Interfaces:
- Character
- public class RealNumberCharacter
- extends java.lang.Object
- implements Character
A Character with Real Number values, specified by an interval .
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RealNumberCharacter
public RealNumberCharacter(java.lang.String name,
java.lang.String unit)
makeCriterion
public Criterion makeCriterion(java.lang.String spec)
- A factory for a Criterion of the type associated to the Character
- Specified by:
makeCriterion
in interface Character
getType
public java.lang.Class getType()
- Specified by:
getType
in interface Character
- Following copied from interface:
org.wwbota.identification.Character
- Returns:
- the base type, a simple type: Int, Double, String. Currently unused, but probably useful for introspection purposes.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getName
public java.lang.String getName()
- Specified by:
getName
in interface Character
getURI
public java.lang.String getURI()
- Specified by:
getURI
in interface Character