|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RelationshipContainer
Implemented by a class that contains and manages Relationship objects. This interface defines methods for getting, adding, and removing Relationship objects.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
java.util.List getRelationships()
void addRelationship(Relationship pRelationship) throws DuplicateRelationshipException, InvalidParameterException
DuplicateRelationshipException
InvalidParameterException
void addRelationship(Relationship pRelationship, int pIndex) throws DuplicateRelationshipException, InvalidParameterException
DuplicateRelationshipException
InvalidParameterException
Relationship removeRelationship(java.lang.String pRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
RelationshipNotFoundException
InvalidParameterException
void removeAllRelationships()
Relationship getRelationship(java.lang.String pRelationshipId) throws RelationshipNotFoundException, InvalidParameterException
RelationshipNotFoundException
InvalidParameterException
int getRelationshipCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |