org.openmdx.security.realm1.cci2
Interface Realm

All Superinterfaces:
org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
Realm
All Known Implementing Classes:
Realm

public interface Realm
extends org.openmdx.base.cci2.BasicObject

Class Realm


Nested Class Summary
static interface Realm.Identity
          Object Identity
 
Method Summary
 String getDescription()
           
 String getName()
          Retrieves the value for the attribute name.
<T extends Principal>
Collection<T>
getPrincipal()
          Retrieves a set containing all the elements for the reference principal.
 Segment getSegment()
          Retrieves the value for the reference segment.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 void setSegment(Segment segment, boolean idIsPersistent, String id)
          Set the object's composite association org:openmdx:security:realm1:SegmentContainsRealm.
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Method Detail

getDescription

String getDescription()
Returns:
The possibly null value for attribute description.

setDescription

void setDescription(String description)
Sets a new value for the attribute description.

Parameters:
description - The possibly null new value for attribute description.

getName

String getName()
Retrieves the value for the attribute name.

Returns:
The non-null value for attribute name.

getPrincipal

<T extends Principal> Collection<T> getPrincipal()
Retrieves a set containing all the elements for the reference principal.

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

getSegment

Segment getSegment()
Retrieves the value for the reference segment.

Returns:
The non-null value for this reference.

setSegment

void setSegment(Segment segment)
Sets a new value for the reference segment.

Parameters:
segment - The non-null new value for this reference.

setSegment

void setSegment(Segment segment,
                boolean idIsPersistent,
                String id)
Set the object's composite association org:openmdx:security:realm1:SegmentContainsRealm.

Parameters:
segment - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.


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