站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

FieldBridge (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


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


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