org.apache.ws.jaxme.sqls
Interface BinaryColumn

All Superinterfaces:
Column
All Known Implementing Classes:
AbstractColumn, ColumnImpl, DB2ColumnImpl, HsqlDbColumnImpl, VirtualColumn

public interface BinaryColumn
extends Column

Interface of a column with datatype Column.Type.BINARY or Column.Type.VARBINARY.

Author:
Jochen Wiedmann

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

hasFixedLength

boolean hasFixedLength()

Returns whether the column has fixed or variable length.


setLength

void setLength(java.lang.Long pLength)

If the column has fixed length: Sets the columns length. Otherwise sets the columns maximum length.


setLength

void setLength(long pLength)

Shortcut for setLength(new Integer(pLength)).


getLength

java.lang.Long getLength()

If the column has fixed length: Returns the columns length. Otherwise returns the columns maximum length.