|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.commerce.order.HandlingInstructionContainerImpl
public class HandlingInstructionContainerImpl
A class which manages the containment of HandlingInstruction objects.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Constructor Summary | |
|---|---|
HandlingInstructionContainerImpl()
Constructs a HandlingInstructionContainerImpl object. |
|
| Method Summary | |
|---|---|
void |
addHandlingInstruction(HandlingInstruction pHandlingInstruction)
Add the HandlingInstruction to the container. |
void |
addHandlingInstruction(HandlingInstruction pHandlingInstruction,
int pIndex)
Add the HandlingInstruction to the container at the given index. |
HandlingInstruction |
getHandlingInstruction(java.lang.String pHandlingInstructionId)
Returns the HandlingInstruction whose id is pHandlingInstructionId. |
int |
getHandlingInstructionCount()
Returns the number of HandlingInstructions in the container. |
java.util.List |
getHandlingInstructions()
Returns a List of HandlingInstructions. |
void |
removeAllHandlingInstructions()
Removes all the HandlingInstructions |
HandlingInstruction |
removeHandlingInstruction(java.lang.String pHandlingInstructionId)
Removes a HandlingInstruction whose id is passed as a parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public HandlingInstructionContainerImpl()
| Method Detail |
|---|
public java.util.List getHandlingInstructions()
getHandlingInstructions in interface HandlingInstructionContainer
public void addHandlingInstruction(HandlingInstruction pHandlingInstruction)
throws DuplicateHandlingInstructionException,
InvalidParameterException
addHandlingInstruction in interface HandlingInstructionContainerDuplicateHandlingInstructionException
InvalidParameterException
public void addHandlingInstruction(HandlingInstruction pHandlingInstruction,
int pIndex)
throws DuplicateHandlingInstructionException,
InvalidParameterException
addHandlingInstruction in interface HandlingInstructionContainerDuplicateHandlingInstructionException
InvalidParameterException
public HandlingInstruction removeHandlingInstruction(java.lang.String pHandlingInstructionId)
throws HandlingInstructionNotFoundException,
InvalidParameterException
removeHandlingInstruction in interface HandlingInstructionContainerHandlingInstructionNotFoundException
InvalidParameterExceptionpublic void removeAllHandlingInstructions()
removeAllHandlingInstructions in interface HandlingInstructionContainer
public HandlingInstruction getHandlingInstruction(java.lang.String pHandlingInstructionId)
throws HandlingInstructionNotFoundException,
InvalidParameterException
getHandlingInstruction in interface HandlingInstructionContainerHandlingInstructionNotFoundException
InvalidParameterExceptionpublic int getHandlingInstructionCount()
getHandlingInstructionCount in interface HandlingInstructionContainer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||