org.apache.openejb.jee
Class CmrField

java.lang.Object
  extended by org.apache.openejb.jee.CmrField

public class CmrField
extends Object

The cmr-fieldType describes the bean provider's view of a relationship. It consists of an optional description, and the name and the class type of a field in the source of a role of a relationship. The cmr-field-name element corresponds to the name used for the get and set accessor methods for the relationship. The cmr-field-type element is used only for collection-valued cmr-fields. It specifies the type of the collection that is used.


Field Summary
protected  String cmrFieldName
           
protected  CmrFieldType cmrFieldType
           
protected  List<Text> description
           
protected  String id
           
 
Constructor Summary
CmrField()
           
CmrField(String cmrFieldName, CmrFieldType cmrFieldType)
           
 
Method Summary
 String getCmrFieldName()
           
 CmrFieldType getCmrFieldType()
           
 List<Text> getDescription()
           
 String getId()
           
 void setCmrFieldName(String value)
           
 void setCmrFieldType(CmrFieldType value)
           
 void setId(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected List<Text> description

cmrFieldName

protected String cmrFieldName

cmrFieldType

protected CmrFieldType cmrFieldType

id

protected String id
Constructor Detail

CmrField

public CmrField()

CmrField

public CmrField(String cmrFieldName,
                CmrFieldType cmrFieldType)
Method Detail

getDescription

public List<Text> getDescription()

getCmrFieldName

public String getCmrFieldName()

setCmrFieldName

public void setCmrFieldName(String value)

getCmrFieldType

public CmrFieldType getCmrFieldType()

setCmrFieldType

public void setCmrFieldType(CmrFieldType value)

getId

public String getId()

setId

public void setId(String value)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.