Package net.ontopia.persistence.rdbms
Class DataType
- java.lang.Object
-
- net.ontopia.persistence.rdbms.DataType
-
public class DataType extends Object
INTERNAL: Represents the definition of a relational database datatype.
-
-
Constructor Summary
Constructors Constructor Description DataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProperty(String property, String value)INTERNAL: Adds table property.StringgetName()INTERNAL: Gets the name of the datatype.Collection<String>getProperties()INTERNAL: Gets the table properties.StringgetProperty(String property)INTERNAL: Gets the property valueStringgetSize()INTERNAL: Gets the datatype size.StringgetType()INTERNAL: Gets the datatype type.booleanisVariable()INTERNAL: Returns true if the database is a variable sized datatype (i.e.voidremoveProperty(String property, String value)INTERNAL: Removes table property.voidsetName(String name)INTERNAL: Sets the name of the datatype.voidsetSize(String size)INTERNAL: Sets the datatype size.voidsetType(String type)INTERNAL: Sets the datatype type.voidsetVariable(boolean variable)INTERNAL: Sets whether the datatype is a variable sized datatype or not.
-
-
-
Method Detail
-
getName
public String getName()
INTERNAL: Gets the name of the datatype.
-
setName
public void setName(String name)
INTERNAL: Sets the name of the datatype.
-
getProperties
public Collection<String> getProperties()
INTERNAL: Gets the table properties.
-
removeProperty
public void removeProperty(String property, String value)
INTERNAL: Removes table property.
-
getType
public String getType()
INTERNAL: Gets the datatype type.
-
setType
public void setType(String type)
INTERNAL: Sets the datatype type.
-
getSize
public String getSize()
INTERNAL: Gets the datatype size.
-
setSize
public void setSize(String size)
INTERNAL: Sets the datatype size.
-
isVariable
public boolean isVariable()
INTERNAL: Returns true if the database is a variable sized datatype (i.e. not constant).
-
setVariable
public void setVariable(boolean variable)
INTERNAL: Sets whether the datatype is a variable sized datatype or not.
-
-