|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData
Imutable class which represents one ejb-relationship-role element found in the ejb-jar.xml file's ejb-relation elements.
Constructor Summary | |
JDBCRelationshipRoleMetaData(JDBCRelationMetaData relationMetaData,
JDBCApplicationMetaData application,
Element element,
JDBCRelationshipRoleMetaData defaultValues)
|
|
JDBCRelationshipRoleMetaData(JDBCRelationMetaData relationMetaData,
JDBCApplicationMetaData application,
RelationshipRoleMetaData role)
|
Method Summary | |
String |
getCMRFieldName()
Gets the name of the entity's cmr field for this role. |
JDBCEntityMetaData |
getEntity()
Gets the name of the entity that has this role. |
Collection |
getKeyFields()
Gets the key fields of this role. |
JDBCReadAheadMetaData |
getReadAhead()
Gets the read ahead meta data |
JDBCRelationshipRoleMetaData |
getRelatedRole()
Gets the related role's jdbc meta data. |
JDBCRelationMetaData |
getRelationMetaData()
Gets the relation to which this role belongs. |
String |
getRelationshipRoleName()
Gets the name of this role. |
boolean |
hasForeignKeyConstraint()
Should this role use a foreign key constraint. |
void |
init(JDBCRelationshipRoleMetaData relatedRole)
|
void |
init(JDBCRelationshipRoleMetaData relatedRole,
Element element)
|
boolean |
isBatchCascadeDelete()
|
boolean |
isCascadeDelete()
Should this entity be deleted when related entity is deleted. |
boolean |
isIndexed()
|
boolean |
isMultiplicityMany()
Checks if the multiplicity is many. |
boolean |
isMultiplicityOne()
Checks if the multiplicity is one. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDBCRelationshipRoleMetaData(JDBCRelationMetaData relationMetaData, JDBCApplicationMetaData application, RelationshipRoleMetaData role) throws org.jboss.deployment.DeploymentException
public JDBCRelationshipRoleMetaData(JDBCRelationMetaData relationMetaData, JDBCApplicationMetaData application, Element element, JDBCRelationshipRoleMetaData defaultValues) throws org.jboss.deployment.DeploymentException
Method Detail |
public void init(JDBCRelationshipRoleMetaData relatedRole) throws org.jboss.deployment.DeploymentException
org.jboss.deployment.DeploymentException
public void init(JDBCRelationshipRoleMetaData relatedRole, Element element) throws org.jboss.deployment.DeploymentException
org.jboss.deployment.DeploymentException
public JDBCRelationMetaData getRelationMetaData()
public String getRelationshipRoleName()
public boolean hasForeignKeyConstraint()
public boolean isMultiplicityOne()
public boolean isMultiplicityMany()
public boolean isCascadeDelete()
public boolean isBatchCascadeDelete()
public JDBCEntityMetaData getEntity()
public String getCMRFieldName()
public JDBCRelationshipRoleMetaData getRelatedRole()
public JDBCReadAheadMetaData getReadAhead()
public Collection getKeyFields()
public boolean isIndexed()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |