|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.ejb.EjbRelationDesc
public class EjbRelationDesc
Class to hold meta-information related to an ejb-relation.
Constructor Summary | |
---|---|
EjbRelationDesc(EjbRelation er,
org.objectweb.util.monolog.api.Logger logger)
constructor to be used by parent node. |
Method Summary | |
---|---|
protected void |
fillMappingInfo()
Fills the mapping information of this relation with the values defined in jonas DD. |
protected void |
fillMappingInfoWithDefault()
Fills the mapping information of this relation with default values, if the mapping information is not already initialized. |
String |
getJdbcTableName()
Return the table name in the database associated to this relation. |
String |
getName()
get the name of the relationship. |
EjbRelationshipRoleDesc |
getRelationshipRole1()
get the meta-information for the first relation-ship-role |
EjbRelationshipRoleDesc |
getRelationshipRole2()
get the meta-information for the second relation-ship-role |
boolean |
hasJdbcTable()
Is a table in the database is defined for this relation ? |
void |
setJonasInfo(JonasEjbRelation jer)
Finish initialisation |
String |
toString()
String representation of the object for test purpose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EjbRelationDesc(EjbRelation er, org.objectweb.util.monolog.api.Logger logger) throws DeploymentDescException
er
- The described object EjbRelationlogger
- The logger
DeploymentDescException
- thrown in error case.Method Detail |
---|
public void setJonasInfo(JonasEjbRelation jer) throws DeploymentDescException
jer
- The described object JonasEjbRelation. This param may be null.
DeploymentDescException
- in error caseprotected void fillMappingInfo() throws DeploymentDescException
DeploymentDescException
- thrown in error case.protected void fillMappingInfoWithDefault()
public String getName()
public EjbRelationshipRoleDesc getRelationshipRole1()
public EjbRelationshipRoleDesc getRelationshipRole2()
public boolean hasJdbcTable()
public String getJdbcTableName()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |