org.opencrx.kernel.code1.cci2
Interface Segment

All Superinterfaces:
org.openmdx.base.cci2.ContextCapable, Importer, SecureObject, org.openmdx.base.cci2.Segment, org.openmdx.compatibility.view1.cci2.ViewCapable, XmlExporter
All Known Subinterfaces:
Segment

public interface Segment
extends Segment, Importer, SecureObject, XmlExporter

Class Segment


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openmdx.base.cci2.Segment
org.openmdx.base.cci2.Segment.Identity
 
Method Summary
 void addValueContainer(boolean nameIsPersistent, String name, CodeValueContainer valueContainer)
          Adds the specified element to the set of the values for the reference valueContainer.
<T extends CodeValueContainer>
Collection<T>
getValueContainer()
          Retrieves a set containing all the elements for the reference valueContainer.
 CodeValueContainer getValueContainer(boolean nameIsPersistent, String name)
          Retrieves the value for the reference valueContainer 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
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 

Method Detail

getValueContainer

<T extends CodeValueContainer> Collection<T> getValueContainer()
Retrieves a set containing all the elements for the reference valueContainer.

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

getValueContainer

CodeValueContainer getValueContainer(boolean nameIsPersistent,
                                     String name)
Retrieves the value for the reference valueContainer for the specified qualifier attribute value.

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

addValueContainer

void addValueContainer(boolean nameIsPersistent,
                       String name,
                       CodeValueContainer valueContainer)
Adds the specified element to the set of the values for the reference valueContainer.

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

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


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