org.openmdx.base.cci
Class BasicObjectImpl
java.lang.Object
org.openmdx.base.accessor.jmi.spi.RefObject_1
org.openmdx.base.cci.BasicObjectImpl
- All Implemented Interfaces:
- Serializable, javax.jdo.spi.PersistenceCapable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, BasicObject, ContextCapable, ExtentCapable, ViewCapable
public class BasicObjectImpl
- extends RefObject_1
- implements BasicObject
- See Also:
- Serialized Form
| 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 |
| Fields inherited from interface javax.jdo.spi.PersistenceCapable |
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE |
| Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefObject_1 |
equals, jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetObjectId, jdoGetPersistenceManager, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsDeleted, jdoIsDetached, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoProvideField, jdoProvideFields, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager, refAddEventListener, refAddToUnitOfWork, refAddValue, refAddValue, refAddValue, refClass, refContext, refDefaultFetchGroup, refDelegate, refDelete, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refImmediateComposite, refImmediatePackage, refInitialize, refInitialize, refInvokeOperation, refInvokeOperation, refIsDeleted, refIsDirty, refIsInstanceOf, refIsNew, refIsPersistent, refIsWriteProtected, refMetaObject, refMofId, refOutermostComposite, refOutermostPackage, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refRemoveValue, refRemoveValue, refSetValue, refSetValue, refSetValue, refSetValue, refVerifyConstraints, refWriteProtect, toString |
| 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 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 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 |
BasicObjectImpl
public BasicObjectImpl(Object_1_0 object,
RefClass refClass)
getCreatedAt
public Date getCreatedAt()
- Description copied from interface:
BasicObject
- Retrieves the value for the attribute
createdAt.
- Specified by:
getCreatedAt in interface BasicObject
- Returns:
- The non-null value for attribute
createdAt.
getCreatedAt
protected Date getCreatedAt(int index)
setCreatedAt
protected void setCreatedAt(Date newValue)
setCreatedAt
protected void setCreatedAt(int index,
Date newValue)
getCreatedBy
public Set getCreatedBy()
- Specified by:
getCreatedBy in interface BasicObject
- Returns:
- A set containing all elements for this attribute.
setCreatedBy
protected void setCreatedBy(Set newValue)
setCreatedBy
protected void setCreatedBy(String[] newValue)
getModifiedAt
public Date getModifiedAt()
- Description copied from interface:
BasicObject
- Retrieves the value for the attribute
modifiedAt.
- Specified by:
getModifiedAt in interface BasicObject
- Returns:
- The non-null value for attribute
modifiedAt.
getModifiedAt
protected Date getModifiedAt(int index)
setModifiedAt
protected void setModifiedAt(Date newValue)
setModifiedAt
protected void setModifiedAt(int index,
Date newValue)
getModifiedBy
public Set getModifiedBy()
- Specified by:
getModifiedBy in interface BasicObject
- Returns:
- A set containing all elements for this attribute.
setModifiedBy
protected void setModifiedBy(Set newValue)
setModifiedBy
protected void setModifiedBy(String[] newValue)
setContext
protected void setContext(List newValue)
setContext
protected void setContext(Context[] newValue)
getContext
public Context getContext(String id)
- Description copied from interface:
ContextCapable
- Retrieves the value for the reference
context for the
specified qualifier attribute value.
- Specified by:
getContext in interface ContextCapable
- Parameters:
id - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this reference.
getContext
public Collection getContext()
- Description copied from interface:
ContextCapable
- Retrieves the objects referenced by
context.
- Specified by:
getContext in interface ContextCapable
- Returns:
- The collection of referenced objects.
addContext
protected void addContext(String id,
Context newValue)
addContext
protected void addContext(Context newValue)
removeContext
protected void removeContext(String id)
getIdentity
public String getIdentity()
- Description copied from interface:
ExtentCapable
- Retrieves the value for the attribute
identity.
- Specified by:
getIdentity in interface ExtentCapable
- Returns:
- The non-null value for attribute
identity.
getIdentity
protected String getIdentity(int index)
setIdentity
protected void setIdentity(String newValue)
setIdentity
protected void setIdentity(int index,
String newValue)
setView
protected void setView(List newValue)
setView
protected void setView(View[] newValue)
getView
public View getView(String namespace)
- Description copied from interface:
ViewCapable
- Retrieves the value for the reference
view for the
specified qualifier attribute value.
- Specified by:
getView in interface ViewCapable
- Parameters:
namespace - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this reference.
getView
public Collection getView()
- Description copied from interface:
ViewCapable
- Retrieves a collection containing all the elements for the reference
view.
- Specified by:
getView in interface ViewCapable
- Returns:
- A collection containing all the elements for this reference.
getView
public List getView(ViewFilter filter)
- Description copied from interface:
ViewCapable
- Retrieves the value for the reference
view for the
specified filter.
- Specified by:
getView in interface ViewCapable
- Parameters:
filter - filter which is applied to the set of referenced objects.
- Returns:
- The filtered collection of referenced objects.
getView
public List getView(ViewQuery query)
- Description copied from interface:
ViewCapable
- Retrieves the value for the reference
view for the
specified query.
- Specified by:
getView in interface ViewCapable
- Returns:
- The filtered collection of referenced objects.
addView
protected void addView(String namespace,
View newValue)
addView
protected void addView(View newValue)
removeView
protected void removeView(String namespace)
This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.