org.omg.model1.jmi1
Interface Segment

All Superinterfaces:
ContextCapable, RefBaseObject, RefFeatured, RefObject, Segment, ViewCapable

public interface Segment
extends Segment, Segment

Class Segment


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.base.cci2.Segment
Segment.Identity
 
Method Summary
 void addElement(Element newValue)
          
 void addElement(String qualifiedName, Element newValue)
          
<T extends Void>
T
beginImport(Void params)
           
<T extends Void>
T
endImport(Void params)
           
<T extends Element>
List<T>
getElement(ElementQuery query)
          Retrieves the value for the reference element for the specified query.
<T extends ExtentCapable>
List<T>
getExtent(ExtentCapableQuery query)
          Retrieves the value for the reference extent for the specified query.
 Provider getProvider()
          Retrieves the value for the reference provider.
<T extends View>
List<T>
getView(ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 void removeElement(String qualifiedName)
          
 
Methods inherited from interface org.omg.model1.cci2.Segment
beginImport, endImport, getElement
 
Methods inherited from interface org.openmdx.base.jmi1.Segment
setProvider, setProvider
 
Methods inherited from interface org.openmdx.base.cci2.Segment
getDescription, setDescription
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

beginImport

<T extends Void> T beginImport(Void params)
                           throws RefException
Throws:
RefException

getElement

<T extends Element> List<T> getElement(ElementQuery query)
Retrieves the value for the reference element for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addElement

void addElement(String qualifiedName,
                Element newValue)

Parameters:
qualifiedName - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addElement

void addElement(Element newValue)

Parameters:
newValue - The element to be appended.

removeElement

void removeElement(String qualifiedName)


endImport

<T extends Void> T endImport(Void params)
                         throws RefException
Throws:
RefException

getExtent

<T extends ExtentCapable> List<T> getExtent(ExtentCapableQuery query)
Retrieves the value for the reference extent for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getProvider

Provider getProvider()
Retrieves the value for the reference provider.

Specified by:
getProvider in interface Segment
Returns:
The non-null value for this reference.

getView

<T extends View> List<T> getView(ViewQuery query)
Retrieves the value for the reference view for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.


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