|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringColumn
Interface of a column with datatype Column.Type.CHAR
or Column.Type.VARCHAR
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.ws.jaxme.sqls.Column |
---|
Column.Name, Column.Type |
Method Summary | |
---|---|
java.lang.Long |
getLength()
If the column has fixed length: Returns the columns length. |
boolean |
hasFixedLength()
Returns whether the column has fixed or variable length. |
void |
setLength(long pLength)
Shortcut for setLength(new Integer(pLength)) . |
void |
setLength(java.lang.Long pLength)
If the column has fixed length: Sets the columns length. |
Methods inherited from interface org.apache.ws.jaxme.sqls.Column |
---|
getCustomData, getName, getQName, getTable, getType, isBinaryColumn, isNullable, isPrimaryKeyPart, isStringColumn, isVirtual, setCustomData, setNullable |
Method Detail |
---|
boolean hasFixedLength()
Returns whether the column has fixed or variable length.
void setLength(java.lang.Long pLength)
If the column has fixed length: Sets the columns length. Otherwise sets the columns maximum length.
void setLength(long pLength)
Shortcut for setLength(new Integer(pLength))
.
java.lang.Long getLength()
If the column has fixed length: Returns the columns length. Otherwise returns the columns maximum length.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |