public interface RelationshipContainer
extends java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
void |
addRelationship(Relationship pRelationship)
Add the Relationship to the container.
|
void |
addRelationship(Relationship pRelationship,
int pIndex)
Add the Relationship to the container at the given index.
|
Relationship |
getRelationship(java.lang.String pRelationshipId)
Returns the Relationship whose id is pRelationshipId.
|
int |
getRelationshipCount()
Returns the number of Relationships in the container.
|
java.util.List |
getRelationships()
Returns a List of Relationships
|
void |
removeAllRelationships()
Removes all the Relationships in the container.
|
Relationship |
removeRelationship(java.lang.String pRelationshipId)
Removes a Relationship whose id is passed in.
|
static final java.lang.String CLASS_VERSION
java.util.List getRelationships()
void addRelationship(Relationship pRelationship) throws DuplicateRelationshipException, InvalidParameterException
void addRelationship(Relationship pRelationship, int pIndex) throws DuplicateRelationshipException, InvalidParameterException
Relationship removeRelationship(java.lang.String pRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
void removeAllRelationships()
Relationship getRelationship(java.lang.String pRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
int getRelationshipCount()