com.sun.enterprise.deployment
Class RelationRoleDescriptor
java.lang.Object
java.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.RelationRoleDescriptor
- All Implemented Interfaces:
- java.io.Serializable
public final class RelationRoleDescriptor
- extends Descriptor
This class contains information about one of the partners in
a relationship between EJB2.0 CMP EntityBeans.
It represents information in the XML element.
- Author:
- Sanjeev Krishnan
- See Also:
- Serialized Form
| Methods inherited from class com.sun.enterprise.deployment.Descriptor |
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RelationRoleDescriptor
public RelationRoleDescriptor()
getPersistenceDescriptor
public PersistenceDescriptor getPersistenceDescriptor()
- May return null if the role-source for this relationship role
is a remote-ejb-name
setPersistenceDescriptor
public void setPersistenceDescriptor(PersistenceDescriptor newPers)
getRelationshipDescriptor
public RelationshipDescriptor getRelationshipDescriptor()
setRelationshipDescriptor
public void setRelationshipDescriptor(RelationshipDescriptor relnDesc)
setOwner
public void setOwner(EjbCMPEntityDescriptor owner)
getOwner
public EjbCMPEntityDescriptor getOwner()
getPartner
public RelationRoleDescriptor getPartner()
- The other role in the relationship I participate in.
setPartner
public void setPartner(RelationRoleDescriptor partner)
getRelationRoleName
public java.lang.String getRelationRoleName()
setRelationRoleName
public void setRelationRoleName(java.lang.String relationRoleName)
setRoleSourceDescription
public void setRoleSourceDescription(java.lang.String roleSourceDescription)
getRoleSourceDescription
public java.lang.String getRoleSourceDescription()
setCMRField
public void setCMRField(java.lang.String cmrField)
- Set to NULL to indicate no cmr field
getCMRField
public java.lang.String getCMRField()
setCMRFieldDescription
public void setCMRFieldDescription(java.lang.String cmrFieldDescription)
getCMRFieldDescription
public java.lang.String getCMRFieldDescription()
setCMRFieldType
public void setCMRFieldType(java.lang.String newCmrFieldType)
- Only applicable when partner is collection-valued.
Set to NULL to indicate no field type is not applicable.
getCMRFieldType
public java.lang.String getCMRFieldType()
setIsMany
public void setIsMany(boolean isMany)
getIsMany
public boolean getIsMany()
setCascadeDelete
public void setCascadeDelete(boolean cascadeDelete)
getCascadeDelete
public boolean getCascadeDelete()
setCMRFieldInfo
public void setCMRFieldInfo(CMRFieldInfo cmrFieldInfo)
getCMRFieldInfo
public CMRFieldInfo getCMRFieldInfo()
composeReverseCmrFieldName
public java.lang.String composeReverseCmrFieldName()
Copyright © 2012 GlassFish Community. All Rights Reserved.