org.omg.model1.cci2
Interface Segment

All Superinterfaces:
ContextCapable, Segment, ViewCapable
All Known Subinterfaces:
Segment

public interface Segment
extends Segment

Class Segment


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.base.cci2.Segment
Segment.Identity
 
Method Summary
 void addElement(boolean qualifiedNameIsPersistent, String qualifiedName, Element element)
          Adds the specified element to the set of the values for the reference element.
 Void beginImport()
           
 Void endImport()
           
<T extends Element>
Collection<T>
getElement()
          Retrieves a set containing all the elements for the reference element.
 Element getElement(boolean qualifiedNameIsPersistent, String qualifiedName)
          Retrieves the value for the reference element for the specified qualifier attribute value.
 
Methods inherited from interface org.openmdx.base.cci2.Segment
getDescription, getProvider, setDescription
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView, getView
 

Method Detail

beginImport

Void beginImport()

getElement

<T extends Element> Collection<T> getElement()
Retrieves a set containing all the elements for the reference element.

Returns:
A set containing all the elements for this reference.

getElement

Element getElement(boolean qualifiedNameIsPersistent,
                   String qualifiedName)
Retrieves the value for the reference element for the specified qualifier attribute value.

Parameters:
qualifiedNameIsPersistent - Defines whether value for the qualifier is persistent or not
qualifiedName - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addElement

void addElement(boolean qualifiedNameIsPersistent,
                String qualifiedName,
                Element element)
Adds the specified element to the set of the values for the reference element.

Note: This is an extension to the JMI 1 standard.

Parameters:
qualifiedNameIsPersistent - true if qualifiedName is persistent
qualifiedName - The qualifier attribute value that qualifies the reference to get the element to be appended.
element - The element to be appended.

endImport

Void endImport()


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