net.sf.jaxme.sqls
Interface BinaryColumn

All Superinterfaces:
Column
All Known Implementing Classes:
ColumnImpl

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 inherited from class net.sf.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 net.sf.jaxme.sqls.Column
getName, getQName, getTable, getType, isBinaryColumn, isNullable, isPrimaryKeyPart, isStringColumn, setNullable
 

Method Detail

hasFixedLength

public boolean hasFixedLength()

Returns whether the column has fixed or variable length.


setLength

public void setLength(java.lang.Long pLength)

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


setLength

public void setLength(long pLength)

Shortcut for setLength(new Integer(pLength)).


getLength

public java.lang.Long getLength()

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