|
||||||||||
| 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. |
|
|
getContext()
Retrieves the Collection of objects referenced by context. |
|
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. |
|
static Subject.Identity |
newIdentity(Segment.Identity segment,
QualifierType nameType,
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 |
|
protected int |
openmdxjdoGetSize(int field)
|
|
protected
|
openmdxjdoGetSlices()
|
|
protected void |
openmdxjdoSetSize(int field,
int size)
|
|
static Subject.Identity |
openmdxjdoToIdentity(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, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
jdoClass, modelClasses, 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 ExtentCapableidentity.public Date getModifiedAt()
modifiedAt.
getModifiedAt in interface BasicObjectmodifiedAt.public final Set<String> getCreatedBy()
createdBy.
getCreatedBy in interface 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 BasicObjectpublic Date getCreatedAt()
createdAt.
getCreatedAt in interface BasicObjectcreatedAt.public <T extends Context> Map<String,T> getContext()
Collection of objects referenced by context.
getContext in interface ContextCapableCollection of referenced objects.public <T extends View> ObjectHasView.View<T> getView()
view.
getView in interface ViewCapableprotected 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 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(Segment.Identity segment,
QualifierType nameType,
String name)
public static Subject.Identity openmdxjdoToIdentity(ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||