org.jboss.ejb.plugins.cmp.bridge
Interface FieldBridge

All Known Subinterfaces:
CMPFieldBridge, CMRFieldBridge, JDBCCMPFieldBridge, JDBCFieldBridge
All Known Implementing Classes:
JDBCAbstractCMPFieldBridge, JDBCAbstractCMRFieldBridge, JDBCCMP1xFieldBridge, JDBCCMP2xAutoUpdatedFieldBridge, JDBCCMP2xFieldBridge, JDBCCMP2xUpdatedPrincipalFieldBridge, JDBCCMP2xUpdatedTimeFieldBridge, JDBCCMP2xVersionFieldBridge, JDBCCMPFieldBridge2, JDBCCMRFieldBridge, JDBCCMRFieldBridge2, JDBCKeyGenVersionFieldBridge, JDBCLongVersionFieldBridge, JDBCTimestampVersionFieldBridge

public interface FieldBridge

FieldBridge represents one field for one entity. Life-cycle: Tied to the EntityBridge. Multiplicity: One for each entity bean field.

Version:
$Revision: 1.4.4.1 $
Author:
Dain Sundstrom, Alex Loubyansky

Method Summary
 String getFieldName()
          Gets the name of this field.
 Object getValue(EntityEnterpriseContext ctx)
          Gets the value of this field for the specified instance context.
 void setValue(EntityEnterpriseContext ctx, Object value)
          Sets the value of this field for the specified instance context.
 

Method Detail

getFieldName

String getFieldName()
Gets the name of this field.

Returns:
the name of this field

getValue

Object getValue(EntityEnterpriseContext ctx)
Gets the value of this field for the specified instance context.

Parameters:
ctx - the context for which this field's value should be fetched
Returns:
the value of this field

setValue

void setValue(EntityEnterpriseContext ctx,
              Object value)
Sets the value of this field for the specified instance context.

Parameters:
ctx - the context for which this field's value should be set
value - the new value of this field


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.