org.openmdx.security.realm1.cci2
Interface Principal

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:
Group, Group, Principal
All Known Implementing Classes:
Group, Principal

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

Class Principal


Nested Class Summary
static interface Principal.Identity
          Object Identity
 
Method Summary
<T extends Credential>
List<T>
getAuthCredential()
          Retrieves the Collection of objects referenced by authCredential.
 Credential getCredential()
          Retrieves the value for the reference credential.
 String getDescription()
           
<T extends Group>
List<T>
getIsMemberOf()
          Retrieves the Collection of objects referenced by isMemberOf.
 String getName()
          Retrieves the value for the attribute name.
 Realm getRealm()
          Retrieves the value for the reference realm.
 Subject getSubject()
          Retrieves the value for the reference subject.
 boolean isDisabled()
          Retrieves the value for the attribute disabled.
 void setCredential(Credential credential)
          Sets a new value for the reference credential.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setDisabled(boolean disabled)
          Sets a new value for the attribute disabled.
 void setRealm(Realm realm)
          Sets a new value for the reference realm.
 void setRealm(Realm realm, boolean idIsPersistent, String id)
          Set the object's composite association org:openmdx:security:realm1:RealmContainsPrincipal.
 void setSubject(Subject subject)
          Sets a new value for the reference subject.
 
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

getAuthCredential

<T extends Credential> List<T> getAuthCredential()
Retrieves the Collection of objects referenced by authCredential.

Returns:
The Collection of referenced objects.

getCredential

Credential getCredential()
Retrieves the value for the reference credential.

Returns:
The – possibly null – value for this reference.

setCredential

void setCredential(Credential credential)
Sets a new value for the reference credential.

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

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.

isDisabled

boolean isDisabled()
Retrieves the value for the attribute disabled.

Returns:
The non-null value for attribute disabled.

setDisabled

void setDisabled(boolean disabled)
Sets a new value for the attribute disabled.

Parameters:
disabled - The non-null new value for attribute disabled.

getIsMemberOf

<T extends Group> List<T> getIsMemberOf()
Retrieves the Collection of objects referenced by isMemberOf.

Returns:
The Collection of referenced objects.

getName

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

Returns:
The non-null value for attribute name.

getRealm

Realm getRealm()
Retrieves the value for the reference realm.

Returns:
The non-null value for this reference.

getSubject

Subject getSubject()
Retrieves the value for the reference subject.

Returns:
The non-null value for this reference.

setSubject

void setSubject(Subject subject)
Sets a new value for the reference subject.

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

setRealm

void setRealm(Realm realm)
Sets a new value for the reference realm.

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

setRealm

void setRealm(Realm realm,
              boolean idIsPersistent,
              String id)
Set the object's composite association org:openmdx:security:realm1:RealmContainsPrincipal.

Parameters:
realm - 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.