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.Descriptor
This class contains information about relationships between
EJB2.0 CMP EntityBeans.
It represents information in the invalid input: '<'ejb-relation> XML element.
- Author:
- Sanjeev Krishnan
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetSink()booleanhasParticipant(org.glassfish.deployment.common.Descriptor desc) Checks whether an EjbCMPEntityDescriptor is a participant in this relationship.booleanbooleanbooleanbooleanisOneOne()voidprint(StringBuffer toStringBuffer) voidsetIsBidirectional(boolean isBidirectional) voidvoidsetSource(RelationRoleDescriptor source) Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visitMethods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Constructor Details
-
RelationshipDescriptor
public RelationshipDescriptor()
-
-
Method Details
-
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
-
setSource
-
setSink
-
getSink
-
setIsBidirectional
public void setIsBidirectional(boolean isBidirectional) -
getIsBidirectional
public boolean getIsBidirectional() -
print
- Overrides:
printin classorg.glassfish.deployment.common.Descriptor
-