com.ptc.core.command.common.bean.repository
Interface ResultContainer


public interface ResultContainer

This interface provides the abstraction for the results of a type based query.

Supported API: true

Extendable: false


Field Summary
static String SIZE
          Label for the attribute; Number of result items in the container.
 
Method Summary
 TypeInstance clearTypeInstanceAt(int a_index)
          Clears (removes) the TypeInstance at the specified index.
 int getSize()
          Gets the value of the attribute: SIZE.
 TypeInstance getTypeInstanceAt(int a_index)
          Returns the TypeInstance at the specified index.
 

Field Detail

SIZE

static final String SIZE
Label for the attribute; Number of result items in the container.

Supported API: true

See Also:
Constant Field Values
Method Detail

getSize

int getSize()
Gets the value of the attribute: SIZE. Number of result items in the container.

Supported API: true

Returns:
int

getTypeInstanceAt

TypeInstance getTypeInstanceAt(int a_index)
                               throws WTException
Returns the TypeInstance at the specified index.

Supported API: true

Parameters:
a_index - Index of the TypeInstance in the container
Returns:
TypeInstance
Throws:
WTException

clearTypeInstanceAt

TypeInstance clearTypeInstanceAt(int a_index)
                                 throws WTException
Clears (removes) the TypeInstance at the specified index.

Supported API: true

Parameters:
a_index - Index of the TypeInstance in the container
Returns:
TypeInstance
Throws:
WTException