public class OrderRelationshipContainerImpl extends java.lang.Object implements OrderRelationshipContainer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
OrderRelationshipContainerImpl()
Constructs a OrderRelationshipContainerImpl object.
|
Modifier and Type | Method and Description |
---|---|
void |
addOrderRelationship(OrderRelationship pOrderRelationship)
Add the OrderRelationship to the container.
|
OrderRelationship |
getOrderRelationship()
Returns the OrderRelationship.
|
int |
getOrderRelationshipCount()
Returns the number of OrderRelationships in the container.
|
OrderRelationship |
removeOrderRelationship()
Removes a OrderRelationship.
|
public OrderRelationshipContainerImpl()
public void addOrderRelationship(OrderRelationship pOrderRelationship) throws DuplicateRelationshipException, InvalidParameterException
addOrderRelationship
in interface OrderRelationshipContainer
DuplicateRelationshipException
InvalidParameterException
public OrderRelationship removeOrderRelationship() throws RelationshipNotFoundException, InvalidParameterException
removeOrderRelationship
in interface OrderRelationshipContainer
RelationshipNotFoundException
InvalidParameterException
public OrderRelationship getOrderRelationship() throws RelationshipNotFoundException, InvalidParameterException
getOrderRelationship
in interface OrderRelationshipContainer
RelationshipNotFoundException
InvalidParameterException
public int getOrderRelationshipCount()
getOrderRelationshipCount
in interface OrderRelationshipContainer