|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.base.accessor.jmi.spi.RefObject_1
org.opencrx.security.realm1.cci.PrincipalImpl
public class PrincipalImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable |
|---|
javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer, javax.jdo.spi.PersistenceCapable.ObjectIdFieldManager, javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier |
| Field Summary |
|---|
| Fields inherited from interface javax.jdo.spi.PersistenceCapable |
|---|
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE |
| Constructor Summary | |
|---|---|
PrincipalImpl(Object_1_0 object,
RefClass refClass)
|
|
| Method Summary | |
|---|---|
protected void |
addContext(Context newValue)
|
protected void |
addContext(String id,
Context newValue)
|
void |
addCredential(Credential newValue)
|
void |
addCredential(int index,
Credential newValue)
|
void |
addIsMemberOf(Group newValue)
|
void |
addIsMemberOf(int index,
Group newValue)
|
protected void |
addView(String namespace,
View newValue)
|
protected void |
addView(View newValue)
|
Collection |
getContext()
Retrieves the objects referenced by context. |
Context |
getContext(String id)
Retrieves the value for the reference context for the
specified qualifier attribute value. |
Date |
getCreatedAt()
Retrieves the value for the attribute createdAt. |
protected Date |
getCreatedAt(int index)
|
Set |
getCreatedBy()
|
Collection |
getCredential()
Retrieves the objects referenced by credential. |
Credential |
getCredential(int index)
Retrieves the value for the reference credential for the
specified qualifier attribute value. |
String |
getDescription()
|
String |
getIdentity()
Retrieves the value for the attribute identity. |
protected String |
getIdentity(int index)
|
Collection |
getIsMemberOf()
Retrieves the objects referenced by isMemberOf. |
Group |
getIsMemberOf(int index)
Retrieves the value for the reference isMemberOf for the
specified qualifier attribute value. |
Date |
getLastLoginAt()
|
protected Date |
getLastLoginAt(int index)
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
protected Date |
getModifiedAt(int index)
|
Set |
getModifiedBy()
|
String |
getName()
Retrieves the value for the attribute name. |
protected String |
getName(int index)
|
Realm |
getRealm()
Retrieves the value for the reference realm. |
Subject |
getSubject()
Retrieves the value for the reference subject. |
Collection |
getView()
Retrieves a collection containing all the elements for the reference view. |
View |
getView(String namespace)
Retrieves the value for the reference view for the
specified qualifier attribute value. |
List |
getView(ViewFilter filter)
Retrieves the value for the reference view for the
specified filter. |
List |
getView(ViewQuery query)
Retrieves the value for the reference view for the
specified query. |
boolean |
isDisabled()
Retrieves the value for the attribute disabled. |
protected boolean |
isDisabled(int index)
|
protected void |
removeContext(String id)
|
void |
removeCredential(int index)
|
void |
removeIsMemberOf(int index)
|
protected void |
removeView(String namespace)
|
protected void |
setContext(Context[] newValue)
|
protected void |
setContext(List newValue)
|
protected void |
setCreatedAt(Date newValue)
|
protected void |
setCreatedAt(int index,
Date newValue)
|
protected void |
setCreatedBy(Set newValue)
|
protected void |
setCreatedBy(String[] newValue)
|
void |
setCredential(Credential[] newValue)
|
void |
setCredential(List newValue)
|
void |
setDescription(String newValue)
Sets a new value for the attribute description. |
void |
setDisabled(boolean newValue)
Sets a new value for the attribute disabled. |
protected void |
setDisabled(int index,
boolean newValue)
|
protected void |
setIdentity(int index,
String newValue)
|
protected void |
setIdentity(String newValue)
|
void |
setIsMemberOf(Group[] newValue)
|
void |
setIsMemberOf(List newValue)
|
void |
setLastLoginAt(Date newValue)
|
protected void |
setLastLoginAt(int index,
Date newValue)
|
protected void |
setModifiedAt(Date newValue)
|
protected void |
setModifiedAt(int index,
Date newValue)
|
protected void |
setModifiedBy(Set newValue)
|
protected void |
setModifiedBy(String[] newValue)
|
protected void |
setName(int index,
String newValue)
|
protected void |
setName(String newValue)
|
protected void |
setRealm(Realm newValue)
|
void |
setSubject(Subject newValue)
Sets a new value for the reference subject. |
protected void |
setView(List newValue)
|
protected void |
setView(View[] newValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
|---|
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| 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 |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
|---|
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| 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 |
| Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0 |
|---|
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect |
| 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 |
| Constructor Detail |
|---|
public PrincipalImpl(Object_1_0 object,
RefClass refClass)
| Method Detail |
|---|
public Date getLastLoginAt()
protected Date getLastLoginAt(int index)
public void setLastLoginAt(Date newValue)
protected void setLastLoginAt(int index,
Date newValue)
public Date getCreatedAt()
BasicObjectcreatedAt.
getCreatedAt in interface BasicObjectcreatedAt.protected Date getCreatedAt(int index)
protected void setCreatedAt(Date newValue)
protected void setCreatedAt(int index,
Date newValue)
public Set getCreatedBy()
getCreatedBy in interface BasicObjectprotected void setCreatedBy(Set newValue)
protected void setCreatedBy(String[] newValue)
public Date getModifiedAt()
BasicObjectmodifiedAt.
getModifiedAt in interface BasicObjectmodifiedAt.protected Date getModifiedAt(int index)
protected void setModifiedAt(Date newValue)
protected void setModifiedAt(int index,
Date newValue)
public Set getModifiedBy()
getModifiedBy in interface BasicObjectprotected void setModifiedBy(Set newValue)
protected void setModifiedBy(String[] newValue)
protected void setContext(List newValue)
protected void setContext(Context[] newValue)
public Context getContext(String id)
ContextCapablecontext for the
specified qualifier attribute value.
getContext in interface ContextCapableid - The value for the qualifier attribute that qualifies this reference.
public Collection getContext()
ContextCapablecontext.
getContext in interface ContextCapable
protected void addContext(String id,
Context newValue)
protected void addContext(Context newValue)
protected void removeContext(String id)
public String getIdentity()
ExtentCapableidentity.
getIdentity in interface ExtentCapableidentity.protected String getIdentity(int index)
protected void setIdentity(String newValue)
protected void setIdentity(int index,
String newValue)
protected void setView(List newValue)
protected void setView(View[] newValue)
public View getView(String namespace)
ViewCapableview for the
specified qualifier attribute value.
getView in interface ViewCapablenamespace - The value for the qualifier attribute that qualifies this reference.
public Collection getView()
ViewCapableview.
getView in interface ViewCapablepublic List getView(ViewFilter filter)
ViewCapableview for the
specified filter.
getView in interface ViewCapablefilter - filter which is applied to the set of referenced objects.
public List getView(ViewQuery query)
ViewCapableview for the
specified query.
getView in interface ViewCapable
protected void addView(String namespace,
View newValue)
protected void addView(View newValue)
protected void removeView(String namespace)
public void setCredential(List newValue)
public void setCredential(Credential[] newValue)
public Credential getCredential(int index)
Principalcredential for the
specified qualifier attribute value.
getCredential in interface Principalindex - The value for the qualifier attribute that qualifies this reference.
public Collection getCredential()
Principalcredential.
getCredential in interface Principal
public void addCredential(int index,
Credential newValue)
addCredential in interface Principalindex - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.public void addCredential(Credential newValue)
addCredential in interface PrincipalnewValue - The element to be appended.public void removeCredential(int index)
removeCredential in interface Principalpublic String getDescription()
getDescription in interface Principaldescription.public void setDescription(String newValue)
Principaldescription.
setDescription in interface PrincipalnewValue - The possibly null new value for attribute description.public boolean isDisabled()
Principaldisabled.
isDisabled in interface Principaldisabled.protected boolean isDisabled(int index)
public void setDisabled(boolean newValue)
Principaldisabled.
setDisabled in interface PrincipalnewValue - The non-null new value for attribute disabled.
protected void setDisabled(int index,
boolean newValue)
public void setIsMemberOf(List newValue)
public void setIsMemberOf(Group[] newValue)
public Group getIsMemberOf(int index)
PrincipalisMemberOf for the
specified qualifier attribute value.
getIsMemberOf in interface Principalindex - The value for the qualifier attribute that qualifies this reference.
public Collection getIsMemberOf()
PrincipalisMemberOf.
getIsMemberOf in interface Principal
public void addIsMemberOf(int index,
Group newValue)
addIsMemberOf in interface Principalindex - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.public void addIsMemberOf(Group newValue)
addIsMemberOf in interface PrincipalnewValue - The element to be appended.public void removeIsMemberOf(int index)
removeIsMemberOf in interface Principalpublic String getName()
Principalname.
getName in interface Principalname.protected String getName(int index)
protected void setName(String newValue)
protected void setName(int index,
String newValue)
public Realm getRealm()
Principalrealm.
getRealm in interface Principalprotected void setRealm(Realm newValue)
public Subject getSubject()
Principalsubject.
getSubject in interface Principalpublic void setSubject(Subject newValue)
Principalsubject.
setSubject in interface PrincipalnewValue - The non-null new value for this reference.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||