org.utgenome.gwt.utgb.client.db.datatype
Class DataTypeBase
java.lang.Object
org.utgenome.gwt.utgb.client.db.datatype.DataTypeBase
- All Implemented Interfaces:
- DataType
- Direct Known Subclasses:
- BooleanType, ColorType, DispType, DoubleType, FloatType, GradationType, IntegerType, LowerBoundType, PasswordType, SelectType, StringListType, StringType, TextType, UpperBoundType
public abstract class DataTypeBase
- extends Object
- implements DataType
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
isPrimaryKey
protected boolean isPrimaryKey
isNotNull
protected boolean isNotNull
DataTypeBase
public DataTypeBase(String name)
DataTypeBase
public DataTypeBase(String name,
boolean isPrimaryKey)
DataTypeBase
public DataTypeBase(String name,
boolean isPrimaryKey,
boolean isNotNull)
getName
public String getName()
- Description copied from interface:
DataType
- parameter name of this type
- Specified by:
getName
in interface DataType
- Returns:
toString
public String toString(com.google.gwt.json.client.JSONValue value)
- Specified by:
toString
in interface DataType
- Returns:
setAsPrimaryKey
public void setAsPrimaryKey()
isPrimaryKey
public boolean isPrimaryKey()
- Specified by:
isPrimaryKey
in interface DataType
setNotNull
public void setNotNull()
isNotNull
public boolean isNotNull()
- Specified by:
isNotNull
in interface DataType
Copyright © 2007-2012 utgenome.org. All Rights Reserved.