edu.stanford.smi.protege.model
Class ValueType
java.lang.Object
|
+--edu.stanford.smi.protege.model.ValueType
- public class ValueType
- extends Object
Description of the class
- Author:
- Ray Fergerson
ANY
public static final ValueType ANY
BOOLEAN
public static final ValueType BOOLEAN
CLS
public static final ValueType CLS
FLOAT
public static final ValueType FLOAT
INSTANCE
public static final ValueType INSTANCE
INTEGER
public static final ValueType INTEGER
STRING
public static final ValueType STRING
SYMBOL
public static final ValueType SYMBOL
getIntValue
public int getIntValue()
getJavaType
public Class getJavaType()
- Returns:
- a unique integer that can be used in "case" statements
getValues
public static Collection getValues()
- Returns:
- String representations of all of the allowed value-types
toString
public String toString()
- Overrides:
toString
in class Object
- Returns:
- a String representation of this values-type (e.g. "String")
valueOf
public static ValueType valueOf(String s)
- Parameters:
s
- a String representation of a value-type. Normally this will have
been obtained from a previous call to "toString()" on a ValueType object.- Returns:
- the corresponding value-type
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.