jq.qde.space
Class QualitativeVariable

java.lang.Object
  extended byjq.util.NamableObject
      extended byjq.qde.space.QualitativeVariable
All Implemented Interfaces:
Abbrevable, Namable
Direct Known Subclasses:
TimeVariable

public class QualitativeVariable
extends NamableObject
implements Abbrevable

Ordinal data can only be compared for order as well as equality.


Field Summary
 MagnitudeLandmark INF
           
 MagnitudeLandmark MINF
           
 MagnitudeLandmark UNKNOWN
           
 MagnitudeLandmark ZERO
           
 
Constructor Summary
QualitativeVariable(java.lang.String name)
           
 
Method Summary
 MagnitudeLandmark createNewLandmark()
           
 java.lang.String getFullName()
           
 MagnitudeInterval getInterval(MagnitudeLandmark low, MagnitudeLandmark high)
           
 MagnitudeInterval getInterval(java.lang.String low, java.lang.String high)
           
 MagnitudeLandmark getLandmark(java.lang.String name)
           
 MagnitudeLandmark[] getLandmarks(java.lang.String[] lms)
           
 boolean isIndependent()
           
 void setFullName(java.lang.String name)
           
 void setIndependent(boolean b)
           
 void setLandmarkPrefix(java.lang.String prefix)
           
 java.lang.String toAbbreviation()
           
 java.lang.String toSpecification()
           
 
Methods inherited from class jq.util.NamableObject
getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MINF

public final MagnitudeLandmark MINF

ZERO

public final MagnitudeLandmark ZERO

INF

public final MagnitudeLandmark INF

UNKNOWN

public final MagnitudeLandmark UNKNOWN
Constructor Detail

QualitativeVariable

public QualitativeVariable(java.lang.String name)
Method Detail

isIndependent

public boolean isIndependent()

setIndependent

public void setIndependent(boolean b)

getLandmark

public MagnitudeLandmark getLandmark(java.lang.String name)

getInterval

public MagnitudeInterval getInterval(MagnitudeLandmark low,
                                     MagnitudeLandmark high)

getInterval

public MagnitudeInterval getInterval(java.lang.String low,
                                     java.lang.String high)

getLandmarks

public MagnitudeLandmark[] getLandmarks(java.lang.String[] lms)

createNewLandmark

public MagnitudeLandmark createNewLandmark()

toSpecification

public java.lang.String toSpecification()
Specified by:
toSpecification in interface Abbrevable

toAbbreviation

public java.lang.String toAbbreviation()
Specified by:
toAbbreviation in interface Abbrevable

setFullName

public void setFullName(java.lang.String name)

getFullName

public java.lang.String getFullName()

setLandmarkPrefix

public void setLandmarkPrefix(java.lang.String prefix)