|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.MetaData
org.jboss.metadata.OldMetaData<RelationRoleMetaData>
org.jboss.metadata.RelationshipRoleMetaData
@Deprecated public class RelationshipRoleMetaData
Represents one ejb-relationship-role element found in the ejb-jar.xml file's ejb-relation elements.
Field Summary |
---|
Fields inherited from class org.jboss.metadata.MetaData |
---|
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN |
Constructor Summary | |
---|---|
protected |
RelationshipRoleMetaData(org.jboss.metadata.spi.MetaData metaData)
Deprecated. Create a new RelationshipRoleMetaData. |
|
RelationshipRoleMetaData(RelationRoleMetaData delegate)
Deprecated. Create a new RelationshipeRoleMetaData. |
Method Summary | |
---|---|
String |
getCMRFieldName()
Deprecated. Gets the name of the entity's cmr field for this role. |
String |
getCMRFieldType()
Deprecated. Gets the type of the cmr field (i.e., collection or set) |
String |
getEntityName()
Deprecated. Gets the name of the entity that has this role. |
RelationshipRoleMetaData |
getRelatedRoleMetaData()
Deprecated. Gets the related role's metadata |
RelationMetaData |
getRelationMetaData()
Deprecated. Gets the relation meta data to which the role belongs. |
String |
getRelationshipRoleName()
Deprecated. Gets the relationship role name |
boolean |
isCascadeDelete()
Deprecated. Should this entity be deleted when related entity is deleted. |
boolean |
isMultiplicityMany()
Deprecated. Checks if the multiplicity is many. |
boolean |
isMultiplicityOne()
Deprecated. Checks if the multiplicity is one. |
Methods inherited from class org.jboss.metadata.OldMetaData |
---|
equals, getDelegate, getMetaData, hashCode, importEjbJarXml, importJbossXml, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RelationshipRoleMetaData(RelationRoleMetaData delegate)
delegate
- the delegate
IllegalArgumentException
- for a null delegateprotected RelationshipRoleMetaData(org.jboss.metadata.spi.MetaData metaData)
metaData
- the delegate metadata
IllegalArgumentException
- for a null metaData
IllegalStateException
- if the metadata doesn't have an RelationRoleMetaData
Method Detail |
---|
public String getRelationshipRoleName()
public RelationMetaData getRelationMetaData()
public RelationshipRoleMetaData getRelatedRoleMetaData()
public boolean isMultiplicityOne()
public boolean isMultiplicityMany()
public boolean isCascadeDelete()
public String getEntityName()
public String getCMRFieldName()
public String getCMRFieldType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |