org.apache.uima.collection.impl.metadata.cpe
Class CasProcessorExecArgsImpl

java.lang.Object
  extended by org.apache.uima.collection.impl.metadata.cpe.CasProcessorExecArgsImpl
All Implemented Interfaces:
java.io.Serializable, CasProcessorExecArgs

public class CasProcessorExecArgsImpl
extends java.lang.Object
implements CasProcessorExecArgs

See Also:
Serialized Form

Constructor Summary
CasProcessorExecArgsImpl()
           
 
Method Summary
 void add(CasProcessorExecArg aArg)
          Adds new CasProcessorExecArg instance to the list.
 CasProcessorExecArg get(int aIndex)
          Returns an CasProcessorExecArg instance located with provided index.
 CasProcessorExecArg[] getAll()
          Returns ALL CasProcessorExecArg instances.
 void remove(int aIndex)
          Removes CasProcessorExecArg instance found in the list in a given position.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CasProcessorExecArgsImpl

public CasProcessorExecArgsImpl()
Method Detail

add

public void add(CasProcessorExecArg aArg)
Description copied from interface: CasProcessorExecArgs
Adds new CasProcessorExecArg instance to the list.

Specified by:
add in interface CasProcessorExecArgs
Parameters:
aArg - - new argument

get

public CasProcessorExecArg get(int aIndex)
                        throws CpeDescriptorException
Description copied from interface: CasProcessorExecArgs
Returns an CasProcessorExecArg instance located with provided index.

Specified by:
get in interface CasProcessorExecArgs
Parameters:
aIndex - - position of argument in the list
Returns:
- CasProcessorExecArg instance
Throws:
CpeDescriptorException

getAll

public CasProcessorExecArg[] getAll()
Description copied from interface: CasProcessorExecArgs
Returns ALL CasProcessorExecArg instances.

Specified by:
getAll in interface CasProcessorExecArgs
Returns:
array of CasProcessorExecArg

remove

public void remove(int aIndex)
Description copied from interface: CasProcessorExecArgs
Removes CasProcessorExecArg instance found in the list in a given position.

Specified by:
remove in interface CasProcessorExecArgs
Parameters:
aIndex - - position of argument to remove.


Copyright © 2011. All Rights Reserved.