org.omg.model1.jmi1
Interface NamespaceFindElementsByTypeResult

All Superinterfaces:
NamespaceFindElementsByTypeResult, RefStruct, Serializable

public interface NamespaceFindElementsByTypeResult
extends RefStruct, NamespaceFindElementsByTypeResult


Method Summary
 boolean containsResult(Element value)
           
<T extends Element>
List<T>
getResult()
           
 Element getResult(int index)
           
 
Methods inherited from interface javax.jmi.reflect.RefStruct
equals, hashCode, refFieldNames, refGetValue, refTypeName
 
Methods inherited from interface org.omg.model1.cci2.NamespaceFindElementsByTypeResult
containsResult
 

Method Detail

getResult

<T extends Element> List<T> getResult()
Specified by:
getResult in interface NamespaceFindElementsByTypeResult
Returns:
A list containing all elements for this structure field.

containsResult

boolean containsResult(Element value)
Parameters:
value - An element whose presence in the list of all the values for this structure field is to be tested.
Returns:
true if the list of all the values for this structure field contains the specified element.

getResult

Element getResult(int index)
Specified by:
getResult in interface NamespaceFindElementsByTypeResult
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this structure field.


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.