Class RelationshipDescriptor
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- org.glassfish.ejb.deployment.descriptor.RelationshipDescriptor
-
- All Implemented Interfaces:
Serializable
public final class RelationshipDescriptor extends org.glassfish.deployment.common.DescriptorThis class contains information about relationships between EJB2.0 CMP EntityBeans. It represents information in theXML element. - Author:
- Sanjeev Krishnan
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RelationshipDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetIsBidirectional()RelationRoleDescriptorgetSink()RelationRoleDescriptorgetSource()booleanhasParticipant(org.glassfish.deployment.common.Descriptor desc)Checks whether an EjbCMPEntityDescriptor is a participant in this relationship.booleanisManyMany()booleanisManyOne()booleanisOneMany()booleanisOneOne()voidprint(StringBuffer toStringBuffer)voidsetIsBidirectional(boolean isBidirectional)voidsetSink(RelationRoleDescriptor sink)voidsetSource(RelationRoleDescriptor source)-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, 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 org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Method Detail
-
isOneOne
public boolean isOneOne()
-
isOneMany
public boolean isOneMany()
-
isManyOne
public boolean isManyOne()
-
isManyMany
public boolean isManyMany()
-
hasParticipant
public boolean hasParticipant(org.glassfish.deployment.common.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(StringBuffer toStringBuffer)
- Overrides:
printin classorg.glassfish.deployment.common.Descriptor
-
-