|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvdoclet.ejb.EjbRelationRole
public class EjbRelationRole
One end of an EjbRelation
Nested Class Summary | |
---|---|
static class |
EjbRelationRole.Multiplicity
Enumeration of possible multiplicity values |
Constructor Summary | |
---|---|
EjbRelationRole(EjbInfo ejb)
|
|
EjbRelationRole(EjbInfo ejb,
FieldInfo cmrField)
|
Method Summary | |
---|---|
EjbInfo |
getEjb()
Get the source EJB |
String |
getFieldName()
Get the name of the CMR-field for this role |
String |
getFieldType()
Get the type of the CMR-field, if it's a collection |
EjbRelationRole.Multiplicity |
getMultiplicity()
Get the multiplicity for this role. |
String |
getName()
Get the canonical name of this role |
String |
getTagValue(String name)
Return the named tag from the CMR-field. |
String |
getTagValue(String name,
String defaultValue)
Return the named tag from the CMR-field. |
EjbRelationRole |
getTarget()
Get the target for this role. |
void |
setField(FieldInfo cmrField)
Register a CMR-field for this role |
void |
setField(MethodInfo cmrMethod)
Register a get-method that defines the CMR-field for this role |
void |
setTarget(EjbRelationRole target)
Set the target for this role. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EjbRelationRole(EjbInfo ejb)
public EjbRelationRole(EjbInfo ejb, FieldInfo cmrField)
Method Detail |
---|
public EjbInfo getEjb()
public String getName()
public void setField(FieldInfo cmrField)
cmrField
- CMR-field infopublic void setField(MethodInfo cmrMethod)
cmrMethod
- a CMR-field get-methodpublic String getFieldName()
public String getFieldType()
public String getTagValue(String name, String defaultValue)
public String getTagValue(String name)
public EjbRelationRole getTarget()
public void setTarget(EjbRelationRole target)
public EjbRelationRole.Multiplicity getMultiplicity()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |