|
||||||||||
| 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<RelationMetaData>
org.jboss.metadata.RelationMetaData
@Deprecated public class RelationMetaData
Represents one ejb-relation element found in the ejb-jar.xml file's relationships 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 |
RelationMetaData(org.jboss.metadata.spi.MetaData metaData)
Deprecated. Create a new RelationMetaData. |
|
RelationMetaData(RelationMetaData delegate)
Deprecated. Create a new RelationMetaData. |
| Method Summary | |
|---|---|
static RelationMetaData |
create(RelationMetaData delegate)
Deprecated. Create a new RelationMetaData. |
RelationshipRoleMetaData |
getLeftRelationshipRole()
Deprecated. Gets the left relationship role. |
RelationshipRoleMetaData |
getOtherRelationshipRole(RelationshipRoleMetaData role)
Deprecated. Get the related role |
String |
getRelationName()
Deprecated. Gets the relation name. |
RelationshipRoleMetaData |
getRightRelationshipRole()
Deprecated. Gets the right relationship role. |
| 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 RelationMetaData(RelationMetaData delegate)
delegate - the delegate
IllegalArgumentException - for a null delegateprotected RelationMetaData(org.jboss.metadata.spi.MetaData metaData)
metaData - the delegate metadata
IllegalArgumentException - for a null metaData
IllegalStateException - if the metadata doesn't have an RelationMetaData| Method Detail |
|---|
public static RelationMetaData create(RelationMetaData delegate)
delegate - the delegate
IllegalArgumentException - for a null delegate or an unknown delegatepublic String getRelationName()
public RelationshipRoleMetaData getLeftRelationshipRole()
public RelationshipRoleMetaData getRightRelationshipRole()
public RelationshipRoleMetaData getOtherRelationshipRole(RelationshipRoleMetaData role)
role - the reference role
IllegalArgumentException - if the reference role is not a role in this relationship
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||