Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

All Known Subinterfaces:
  CMPFieldBridge, CMRFieldBridge, JDBCCMPFieldBridge, JDBCFieldBridge

All Known Implementing Classes:
  JDBCAbstractCMPFieldBridge, JDBCAbstractCMRFieldBridge, JDBCCMPFieldBridge2

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 $
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

    public String getFieldName()

  Gets the name of this field.

  Returns:
    the name of this field

### getValue

    public 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

    public 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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