|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColumnMetadata
Represents an element in a collection/array.
Method Summary | |
---|---|
java.lang.Boolean |
getAllowsNull()
Accessor for whether the column allows null. |
java.lang.String |
getDefaultValue()
Accessor for the default value |
java.lang.String |
getInsertValue()
Accessor for the insert value (for columns with no field/property) |
java.lang.String |
getJDBCType()
Accessor for the JDBC Type |
java.lang.Integer |
getLength()
Accessor for the length |
java.lang.String |
getName()
Accessor for the name of the column. |
java.lang.Integer |
getScale()
Accessor for the scale |
java.lang.String |
getSQLType()
Accessor for the SQL Type |
java.lang.String |
getTarget()
Accessor for the name of the target column. |
java.lang.String |
getTargetField()
Accessor for the name of the target field. |
ColumnMetadata |
setAllowsNull(boolean nulls)
Method to set whether it allows null. |
ColumnMetadata |
setDefaultValue(java.lang.String val)
Method to set the default value. |
ColumnMetadata |
setInsertValue(java.lang.String val)
Method to set the insert value (for columns with no field/property). |
ColumnMetadata |
setJDBCType(java.lang.String type)
Method to set the JDBC type. |
ColumnMetadata |
setLength(int len)
Method to set the length |
ColumnMetadata |
setName(java.lang.String name)
Method to set the column name. |
ColumnMetadata |
setScale(int scale)
Method to set the scale |
ColumnMetadata |
setSQLType(java.lang.String type)
Method to set the SQL type. |
ColumnMetadata |
setTarget(java.lang.String target)
Method to set the target column (at the other side of the relation). |
ColumnMetadata |
setTargetField(java.lang.String target)
Method to set the target field (at the other side of the relation). |
Methods inherited from interface javax.jdo.metadata.Metadata |
---|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata |
Method Detail |
---|
ColumnMetadata setName(java.lang.String name)
name
- Column namejava.lang.String getName()
ColumnMetadata setTarget(java.lang.String target)
target
- Target columnjava.lang.String getTarget()
ColumnMetadata setTargetField(java.lang.String target)
target
- Target fieldjava.lang.String getTargetField()
ColumnMetadata setJDBCType(java.lang.String type)
type
- JDBC Typejava.lang.String getJDBCType()
ColumnMetadata setSQLType(java.lang.String type)
type
- SQL Typejava.lang.String getSQLType()
ColumnMetadata setLength(int len)
len
- Lengthjava.lang.Integer getLength()
ColumnMetadata setScale(int scale)
scale
- scalejava.lang.Integer getScale()
ColumnMetadata setAllowsNull(boolean nulls)
nulls
- Allows null?java.lang.Boolean getAllowsNull()
ColumnMetadata setDefaultValue(java.lang.String val)
val
- Default valuejava.lang.String getDefaultValue()
ColumnMetadata setInsertValue(java.lang.String val)
val
- Insert valuejava.lang.String getInsertValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |