com.sun.enterprise.deployment
Class RelationshipDescriptor
java.lang.Object
java.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.RelationshipDescriptor
- All Implemented Interfaces:
- java.io.Serializable
public final class RelationshipDescriptor
- extends Descriptor
This class contains information about relationships 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, 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 |
RelationshipDescriptor
public RelationshipDescriptor()
isOneOne
public boolean isOneOne()
isOneMany
public boolean isOneMany()
isManyOne
public boolean isManyOne()
isManyMany
public boolean isManyMany()
hasParticipant
public boolean hasParticipant(Descriptor desc)
- Checks whether an EjbCMPEntityDescriptor
is a participant in this relationship.
getSource
public RelationRoleDescriptor getSource()
setSource
public void setSource(RelationRoleDescriptor source)
setSink
public void setSink(RelationRoleDescriptor sink)
getSink
public RelationRoleDescriptor getSink()
setIsBidirectional
public void setIsBidirectional(boolean isBidirectional)
getIsBidirectional
public boolean getIsBidirectional()
print
public void print(java.lang.StringBuffer toStringBuffer)
- Description copied from class:
Descriptor
- A String representation of this object.
- Overrides:
print in class Descriptor
Copyright © 2012 GlassFish Community. All Rights Reserved.