org.opencrx.security.identity1.jmi1
Interface Segment

All Superinterfaces:
org.openmdx.base.cci2.ContextCapable, RefBaseObject, RefFeatured, RefObject, org.openmdx.base.cci2.Segment, org.openmdx.compatibility.view1.cci2.ViewCapable

public interface Segment
extends Segment, Segment

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 addSubject(String name, Subject newValue)
          
 void addSubject(Subject newValue)
          
<T extends org.openmdx.base.cci2.ExtentCapable>
List<T>
getExtent(org.openmdx.base.cci2.ExtentCapableQuery query)
          Retrieves the value for the reference extent for the specified query.
 org.openmdx.base.jdo2.Provider getProvider()
          Retrieves the value for the reference provider.
<T extends Subject>
List<T>
getSubject(SubjectQuery query)
          Retrieves the value for the reference subject for the specified query.
<T extends org.openmdx.compatibility.view1.cci2.View>
List<T>
getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 void removeSubject(String name)
          
 
Methods inherited from interface org.opencrx.security.identity1.cci2.Segment
getSubject
 
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

getSubject

<T extends Subject> List<T> getSubject(SubjectQuery query)
Retrieves the value for the reference subject 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.

addSubject

void addSubject(String name,
                Subject newValue)

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

addSubject

void addSubject(Subject newValue)

Parameters:
newValue - The element to be appended.

removeSubject

void removeSubject(String name)


getExtent

<T extends org.openmdx.base.cci2.ExtentCapable> List<T> getExtent(org.openmdx.base.cci2.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

org.openmdx.base.jdo2.Provider getProvider()
Retrieves the value for the reference provider.

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

getView

<T extends org.openmdx.compatibility.view1.cci2.View> List<T> getView(org.openmdx.compatibility.view1.cci2.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, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.