sonification.dataimport.visbards_resourcetoolkit.repository.category
Class CategoryType

java.lang.Object
  extended by sonification.dataimport.visbards_resourcetoolkit.repository.category.CategoryType

public class CategoryType
extends java.lang.Object


Field Summary
static int COLOR_CAPABLE
           
static CategoryType LOCATION
           
static int LOCATION_CAPABLE
           
static CategoryType LOCATION_X
           
static CategoryType LOCATION_Y
           
static CategoryType LOCATION_Z
           
static CategoryType MAGFIELD
           
static int SIZE_CAPABLE
           
static CategoryType TIME
           
static int TIME_CAPABLE
           
static int VECTOR_CAPABLE
           
static CategoryType VELOCITY
           
 
Constructor Summary
CategoryType(java.lang.String name, boolean isScalar, boolean isDouble, org.gjt.fredgc.unit.Unit unit)
           
CategoryType(java.lang.String name, boolean isScalar, boolean isDouble, org.gjt.fredgc.unit.Unit units, int cap1, int cap2, int cap3, int cap4)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
          Returns the name of this category.
 java.lang.String getPseudoName()
           
 org.gjt.fredgc.unit.Unit getUnit()
          Get Units
 boolean isCapable(int capability_id)
          Returns a true if this category is able to be mapped to the specified property.
 boolean isDouble()
          Returns true if this cateogory is a double.
 boolean isScalar()
          Returns true if this category is a scalar category.
 void setCapability(int capability_id, boolean value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLOR_CAPABLE

public static final int COLOR_CAPABLE
See Also:
Constant Field Values

VECTOR_CAPABLE

public static final int VECTOR_CAPABLE
See Also:
Constant Field Values

TIME_CAPABLE

public static final int TIME_CAPABLE
See Also:
Constant Field Values

LOCATION_CAPABLE

public static final int LOCATION_CAPABLE
See Also:
Constant Field Values

SIZE_CAPABLE

public static final int SIZE_CAPABLE
See Also:
Constant Field Values

TIME

public static final CategoryType TIME

LOCATION

public static final CategoryType LOCATION

LOCATION_X

public static final CategoryType LOCATION_X

LOCATION_Y

public static final CategoryType LOCATION_Y

LOCATION_Z

public static final CategoryType LOCATION_Z

MAGFIELD

public static final CategoryType MAGFIELD

VELOCITY

public static final CategoryType VELOCITY
Constructor Detail

CategoryType

public CategoryType(java.lang.String name,
                    boolean isScalar,
                    boolean isDouble,
                    org.gjt.fredgc.unit.Unit unit)

CategoryType

public CategoryType(java.lang.String name,
                    boolean isScalar,
                    boolean isDouble,
                    org.gjt.fredgc.unit.Unit units,
                    int cap1,
                    int cap2,
                    int cap3,
                    int cap4)
Method Detail

getName

public java.lang.String getName()
Returns the name of this category.


getPseudoName

public java.lang.String getPseudoName()

isCapable

public boolean isCapable(int capability_id)
Returns a true if this category is able to be mapped to the specified property.


isScalar

public boolean isScalar()
Returns true if this category is a scalar category.


isDouble

public boolean isDouble()
Returns true if this cateogory is a double.


getUnit

public org.gjt.fredgc.unit.Unit getUnit()
Get Units


setCapability

public void setCapability(int capability_id,
                          boolean value)

equals

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