User: dsundstrom
Date: 01/12/12 11:41:34
Modified: src/main/org/jboss/ejb/plugins/cmp/bridge
CMRFieldBridge.java
Log:
Remove the commented out getFieldType method.
Added isReadOnly method.
Fixed some comments.
Revision Changes Path
1.5 +22 -2
jboss/src/main/org/jboss/ejb/plugins/cmp/bridge/CMRFieldBridge.java
Index: CMRFieldBridge.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/bridge/CMRFieldBridge.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CMRFieldBridge.java 2001/09/01 22:03:14 1.4
+++ CMRFieldBridge.java 2001/12/12 19:41:34 1.5
@@ -20,12 +20,32 @@
* one per relationship (shared between two beans).
*
* @author <a href="mailto:[EMAIL PROTECTED]">Dain Sundstrom</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public interface CMRFieldBridge {
+ /**
+ * Gets the name of this cmr.
+ * @return the name of this field
+ */
public String getFieldName();
-// public Class getFieldType();
+ /**
+ * Is this field read only.
+ * @return true if this field is read only
+ */
+ public boolean isReadOnly();
+
+ /**
+ * Gets the value of this field for the specified context.
+ * @param ctx the context for which this field's value should be fetched
+ * @return the value of this field
+ */
public Object getValue(EntityEnterpriseContext ctx);
+
+ /**
+ * Sets the value of this field for the specified context.
+ * @param ctx the context for which this field's value should be set
+ * @param value the new value of this field
+ */
public void setValue(EntityEnterpriseContext ctx, Object value);
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development