public class DataType extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected Map<String,String> |
properties |
protected String |
size |
protected String |
type |
protected boolean |
variable |
Constructor and Description |
---|
DataType() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String property,
String value)
INTERNAL: Adds table property.
|
String |
getName()
INTERNAL: Gets the name of the datatype.
|
Collection<String> |
getProperties()
INTERNAL: Gets the table properties.
|
String |
getProperty(String property)
INTERNAL: Gets the property value
|
String |
getSize()
INTERNAL: Gets the datatype size.
|
String |
getType()
INTERNAL: Gets the datatype type.
|
boolean |
isVariable()
INTERNAL: Returns true if the database is a variable sized
datatype (i.e.
|
void |
removeProperty(String property,
String value)
INTERNAL: Removes table property.
|
void |
setName(String name)
INTERNAL: Sets the name of the datatype.
|
void |
setSize(String size)
INTERNAL: Sets the datatype size.
|
void |
setType(String type)
INTERNAL: Sets the datatype type.
|
void |
setVariable(boolean variable)
INTERNAL: Sets whether the datatype is a variable sized datatype
or not.
|
protected String name
protected String type
protected String size
protected boolean variable
public String getName()
public void setName(String name)
public Collection<String> getProperties()
public void removeProperty(String property, String value)
public String getType()
public void setType(String type)
public String getSize()
public void setSize(String size)
public boolean isVariable()
public void setVariable(boolean variable)