|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.broker.metadata.FieldTypeClasses.BaseFieldType
org.apache.ojb.broker.metadata.FieldTypeClasses.ImmutableFieldType
org.apache.ojb.broker.metadata.FieldTypeClasses.BlobFieldType
Blob fields are logical pointer to DB, so for OJB it's immutable. Snip of JDBC specification: "An application does not deal directly with the LOCATOR(blob) and LOCATOR(clob) types that are defined in SQL. By default, a JDBC driver should implement the Blob and Clob interfaces using the appropriate locator type. Also by default, Blob and Clob objects remain valid only during the transaction in which they are created."
Constructor Summary | |
FieldTypeClasses.BlobFieldType()
|
Method Summary | |
java.lang.Object |
copy(java.lang.Object source)
Returns a copy of the specified persistent class field (e.g. |
boolean |
equals(java.lang.Object firstValue,
java.lang.Object secondValue)
Returns true if the field value hasn't changed. |
int |
getSqlType()
Returns the sql Types of this field. |
boolean |
isMutable()
Returns true if the field type is mutable, e.g. |
void |
setSqlType(JdbcType jdbcType)
Dets the associated sql field type of this field. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FieldTypeClasses.BlobFieldType()
Method Detail |
public boolean isMutable()
FieldType
public java.lang.Object copy(java.lang.Object source)
FieldType
source
- The field to copy.
public boolean equals(java.lang.Object firstValue, java.lang.Object secondValue)
FieldType
firstValue
- A field value object.secondValue
- A field value object.
public void setSqlType(JdbcType jdbcType)
FieldType
setSqlType
in interface FieldType
jdbcType
- The associated JdbcType
.public int getSqlType()
FieldType
Types
of this field.
getSqlType
in interface FieldType
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |