|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.persistence.rdbms.DataType
public class DataType
INTERNAL: Represents the definition of a relational database datatype.
Field Summary | |
---|---|
protected java.lang.String |
name
|
protected java.util.Map |
properties
|
protected java.lang.String |
size
|
protected java.lang.String |
type
|
protected boolean |
variable
|
Constructor Summary | |
---|---|
DataType()
|
Method Summary | |
---|---|
void |
addProperty(java.lang.String property,
java.lang.String value)
INTERNAL: Adds table property. |
java.lang.String |
getName()
INTERNAL: Gets the name of the datatype. |
java.util.Collection |
getProperties()
INTERNAL: Gets the table properties. |
java.lang.String |
getProperty(java.lang.String property)
INTERNAL: Gets the property value |
java.lang.String |
getSize()
INTERNAL: Gets the datatype size. |
java.lang.String |
getType()
INTERNAL: Gets the datatype type. |
boolean |
isVariable()
INTERNAL: Returns true if the database is a variable sized datatype (i.e. |
void |
removeProperty(java.lang.String property,
java.lang.String value)
INTERNAL: Removes table property. |
void |
setName(java.lang.String name)
INTERNAL: Sets the name of the datatype. |
void |
setSize(java.lang.String size)
INTERNAL: Sets the datatype size. |
void |
setType(java.lang.String type)
INTERNAL: Sets the datatype type. |
void |
setVariable(boolean variable)
INTERNAL: Sets whether the datatype is a variable sized datatype or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String type
protected java.lang.String size
protected boolean variable
protected java.util.Map properties
Constructor Detail |
---|
public DataType()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.Collection getProperties()
public java.lang.String getProperty(java.lang.String property)
public void addProperty(java.lang.String property, java.lang.String value)
public void removeProperty(java.lang.String property, java.lang.String value)
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getSize()
public void setSize(java.lang.String size)
public boolean isVariable()
public void setVariable(boolean variable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |