public class HandlingInstructionContainerImpl extends java.lang.Object implements HandlingInstructionContainer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
HandlingInstructionContainerImpl()
Constructs a HandlingInstructionContainerImpl object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public HandlingInstructionContainerImpl()
public java.util.List getHandlingInstructions()
getHandlingInstructions
in interface HandlingInstructionContainer
public void addHandlingInstruction(HandlingInstruction pHandlingInstruction) throws DuplicateHandlingInstructionException, InvalidParameterException
addHandlingInstruction
in interface HandlingInstructionContainer
DuplicateHandlingInstructionException
InvalidParameterException
public void addHandlingInstruction(HandlingInstruction pHandlingInstruction, int pIndex) throws DuplicateHandlingInstructionException, InvalidParameterException
addHandlingInstruction
in interface HandlingInstructionContainer
DuplicateHandlingInstructionException
InvalidParameterException
public HandlingInstruction removeHandlingInstruction(java.lang.String pHandlingInstructionId) throws HandlingInstructionNotFoundException, InvalidParameterException
removeHandlingInstruction
in interface HandlingInstructionContainer
HandlingInstructionNotFoundException
InvalidParameterException
public void removeAllHandlingInstructions()
removeAllHandlingInstructions
in interface HandlingInstructionContainer
public HandlingInstruction getHandlingInstruction(java.lang.String pHandlingInstructionId) throws HandlingInstructionNotFoundException, InvalidParameterException
getHandlingInstruction
in interface HandlingInstructionContainer
HandlingInstructionNotFoundException
InvalidParameterException
public int getHandlingInstructionCount()
getHandlingInstructionCount
in interface HandlingInstructionContainer