|
||||||||||
| 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.openmdx.security.authorization1.cci.ModelReferencePrivilegeImpl
public class ModelReferencePrivilegeImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable |
|---|
PersistenceCapable.ObjectIdFieldConsumer, PersistenceCapable.ObjectIdFieldManager, 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 | |
|---|---|
ModelReferencePrivilegeImpl(Object_1_0 object,
RefClass refClass)
|
|
| Method Summary | |
|---|---|
protected void |
addContext(Context newValue)
|
protected void |
addContext(String id,
Context newValue)
|
void |
addProperty(Property newValue)
Appends the specified element to the list of all the values for the reference property. |
void |
addProperty(String name,
Property newValue)
Appends the specified element to the list of all the values for the reference property for a specified qualifier attribute
value. |
protected void |
addView(String namespace,
View newValue)
|
protected void |
addView(View newValue)
|
Set |
getAction()
Retrieves a set containing all the elements for the attribute action. |
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()
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. |
protected String |
getIdentity(int index)
|
Date |
getModifiedAt()
Retrieves the value for the attribute modifiedAt. |
protected Date |
getModifiedAt(int index)
|
Set |
getModifiedBy()
Retrieves a set containing all the elements for the attribute modifiedBy. |
String |
getName()
Retrieves the value for the attribute name. |
protected String |
getName(int index)
|
Collection |
getProperty()
Retrieves a collection containing all the elements for the reference property. |
List |
getProperty(PropertyFilter filter)
Retrieves the value for the reference property for the
specified filter. |
List |
getProperty(PropertyQuery query)
Retrieves the value for the reference property for the
specified query. |
Property |
getProperty(String name)
Retrieves the value for the reference property for the
specified qualifier attribute value. |
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. |
protected void |
removeContext(String id)
|
void |
removeProperty(String name)
Removes the qualified (by means of the specified qualifier attribute value) element from the list of all the values for the reference property. |
protected void |
removeView(String namespace)
|
void |
setAction(Set newValue)
Sets a new set containing all the new elements for the attribute action. |
void |
setAction(String[] newValue)
|
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 |
setDescription(String newValue)
Sets a new value for the attribute description. |
protected void |
setIdentity(int index,
String newValue)
|
protected void |
setIdentity(String 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)
|
void |
setProperty(List newValue)
|
void |
setProperty(Property[] newValue)
|
protected void |
setView(List newValue)
|
protected void |
setView(View[] newValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, 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 |
| Constructor Detail |
|---|
public ModelReferencePrivilegeImpl(Object_1_0 object,
RefClass refClass)
| Method Detail |
|---|
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()
BasicObjectcreatedBy.
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()
BasicObjectmodifiedBy.
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 setProperty(List newValue)
public void setProperty(Property[] newValue)
public Property getProperty(String name)
Filterproperty for the
specified qualifier attribute value.
getProperty in interface Filtername - The value for the qualifier attribute that qualifies this reference.
public Collection getProperty()
Filterproperty.
getProperty in interface Filterpublic List getProperty(PropertyFilter filter)
Filterproperty for the
specified filter.
getProperty in interface Filterfilter - filter which is applied to the set of referenced objects.
public List getProperty(PropertyQuery query)
Filterproperty for the
specified query.
getProperty in interface Filter
public void addProperty(String name,
Property newValue)
Filterproperty for a specified qualifier attribute
value.
addProperty in interface Filtername - The qualifier attribute value that qualifies the reference to get the element to be appended.newValue - The element to be appended.public void addProperty(Property newValue)
Filterproperty.
addProperty in interface FilternewValue - The element to be appended.public void removeProperty(String name)
Filterproperty.
removeProperty in interface Filtername - The qualifier attribute value that qualifies the reference
to get the element to be removed.public Set getAction()
Privilegeaction.
getAction in interface Privilegepublic void setAction(Set newValue)
Privilegeaction.
setAction in interface PrivilegenewValue - A set containing all the new elements for this attribute.public void setAction(String[] newValue)
public String getDescription()
Privilegedescription.
getDescription in interface Privilegedescription.public void setDescription(String newValue)
Privilegedescription.
setDescription in interface PrivilegenewValue - The possibly null new value for attribute description.public String getName()
Privilegename.
getName in interface Privilegename.protected String getName(int index)
protected void setName(String newValue)
protected void setName(int index,
String newValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||