|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.mappings.transformers.FieldTransformerAdapter oracle.toplink.mappings.transformers.ConstantTransformer
public class ConstantTransformer
Purpose: Allows a field to always be mapped to a constant value. This allows default values to be provided for un-mapped fields.
oracle.toplink.mappings.FieldTransformer
,
Serialized FormConstructor Summary | |
---|---|
ConstantTransformer()
|
|
ConstantTransformer(java.lang.Object value)
Return a constant transformer for the constant value. |
Method Summary | |
---|---|
java.lang.Object |
getValue()
Return the value of the constant. |
void |
setValue(java.lang.Object value)
Set the value of the constant. |
Methods inherited from class oracle.toplink.mappings.transformers.FieldTransformerAdapter |
---|
initialize |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstantTransformer()
public ConstantTransformer(java.lang.Object value)
Method Detail |
---|
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |