|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rdr.core.Type
public class Type
A simple type class i.e. NOMINAL, NUMERIC, BOOLEAN, DATE etc.
Field Summary | |
---|---|
static int |
NUM_TYPES
|
Constructor Summary | |
---|---|
Type()
Construct a type with a default type code |
|
Type(int ty)
Construct a Type |
Method Summary | |
---|---|
int |
getType()
Get the type code |
java.lang.String |
getTypeName()
Get the type "name" i.e. |
void |
setType(int ty)
Set the type code |
java.lang.String |
toString()
Convert the type to readable text. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NUM_TYPES
Constructor Detail |
---|
public Type(int ty)
ty
- the type codepublic Type()
Method Detail |
---|
public int getType()
public java.lang.String getTypeName()
public void setType(int ty)
ty
- the type codepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |