|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.security.identity1.jdo2.Subject
public class Subject
Class Subject
| Nested Class Summary | |
|---|---|
static class |
Subject.Identity
The object's application identity |
static class |
Subject.Slice
Slice object hold the Subject's multivalued
attributes |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
| Field Summary | |
|---|---|
static List<String> |
BASE_CLASS
Define this class as base class |
static List<String> |
CLASS
Define the model class org::opencrx::security::identity1::Subject |
| Constructor Summary | |
|---|---|
Subject()
|
|
| Method Summary | ||
|---|---|---|
void |
addToSegment(Segment segment)
Sets a new value for the reference segment. |
|
void |
addToSegment(Segment segment,
boolean nameIsPersistent,
String name)
Set the object's composite association org:opencrx:security:identity1:SegmentContainsSubject. |
|
Date |
getCreatedAt()
Retrieves the value for the attribute createdAt. |
|
Set<String> |
getCreatedBy()
Retrieves a set containing all the elements for the attribute createdBy. |
|
String |
getDescription()
Retrieves the possibly null value for the optional attribute description. |
|
String |
getIdentity()
Retrieves the value for the attribute identity. |
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
|
Set<String> |
getModifiedBy()
Retrieves a set containing all the elements for the attribute modifiedBy. |
|
|
getView()
Retrieves a set containing all the elements for the reference view. |
|
org.openmdx.compatibility.view1.cci2.View |
getView(boolean namespaceIsPersistent,
String namespace)
Retrieves the value for the reference view for the
specified qualifier attribute value. |
|
static Subject.Identity |
newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
boolean nameIsPersistent,
String name)
|
|
protected org.w3c.jdo2.AbstractObject.Slice |
newSlice(int index)
|
|
protected List<String> |
openmdxjdoGetClass()
Retrieve the model class |
|
protected String |
openmdxjdoGetObjectId()
Retrieve the object's JDO identity key |
|
static CloseableCollection<Subject> |
openmdxjdoGetObjectsByParent(Segment segment)
Navigate through an object's composite association |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected
|
openmdxjdoGetSlices()
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
static Subject.Identity |
openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
|
void |
setDescription(String description)
Sets a new value for the attribute description. |
|
| Methods inherited from class org.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::security::identity1::Subject
public static final List<String> BASE_CLASS
Subject.CLASS| Constructor Detail |
|---|
public Subject()
| Method Detail |
|---|
protected String openmdxjdoGetObjectId()
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiableprotected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObjectpublic String getIdentity()
identity.
getIdentity in interface org.openmdx.base.cci2.ExtentCapableidentity.public Date getModifiedAt()
modifiedAt.
getModifiedAt in interface org.openmdx.base.cci2.BasicObjectmodifiedAt.public final Set<String> getCreatedBy()
createdBy.
getCreatedBy in interface org.openmdx.base.cci2.BasicObjectpublic final String getDescription()
description.
getDescription in interface org.openmdx.security.realm1.cci2.Subjectdescription.public void setDescription(String description)
description.
setDescription in interface org.openmdx.security.realm1.cci2.Subjectdescription - The possibly null new value for attribute description.public final Set<String> getModifiedBy()
modifiedBy.
getModifiedBy in interface org.openmdx.base.cci2.BasicObjectpublic Date getCreatedAt()
createdAt.
getCreatedAt in interface org.openmdx.base.cci2.BasicObjectcreatedAt.public <T extends org.openmdx.compatibility.view1.cci2.View> Collection<T> getView()
view.
getView in interface org.openmdx.compatibility.view1.cci2.ViewCapable
public org.openmdx.compatibility.view1.cci2.View getView(boolean namespaceIsPersistent,
String namespace)
view for the
specified qualifier attribute value.
getView in interface org.openmdx.compatibility.view1.cci2.ViewCapablenamespaceIsPersistent - Defines whether value for the qualifier is persistent or notnamespace - The value for the qualifier attribute that qualifies this reference.
protected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObjectprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
protected List<String> openmdxjdoGetClass()
Subject.CLASSpublic void addToSegment(Segment segment)
segment.
segment - The non-null new value for this reference.public static CloseableCollection<Subject> openmdxjdoGetObjectsByParent(Segment segment)
public void addToSegment(Segment segment,
boolean nameIsPersistent,
String name)
org:opencrx:security:identity1:SegmentContainsSubject.
segment - The non-null new value for this object's composite owner.nameIsPersistent - Defines whether the name is persistent.name - The non-null new value for this object's qualifier.
public static Subject.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
boolean nameIsPersistent,
String name)
public static Subject.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||