org.openmdx.generic1.cci
Class DecimalPropertyImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefObject_1
      extended by org.openmdx.generic1.cci.DecimalPropertyImpl
All Implemented Interfaces:
Serializable, PersistenceCapable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, DecimalProperty, Property

public class DecimalPropertyImpl
extends RefObject_1
implements DecimalProperty

See Also:
Serialized Form

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
DecimalPropertyImpl(Object_1_0 object, RefClass refClass)
           
 
Method Summary
 SortedMap getDecimalValue()
           
 BigDecimal getDecimalValue(int index)
           
 String getDescription()
           
 String getName()
          Retrieves the value for the attribute name.
protected  String getName(int index)
           
 void setDescription(String newValue)
          Sets a new value for the attribute description.
protected  void setName(int index, String newValue)
           
protected  void setName(String newValue)
           
 
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 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
 

Constructor Detail

DecimalPropertyImpl

public DecimalPropertyImpl(Object_1_0 object,
                           RefClass refClass)
Method Detail

getDecimalValue

public SortedMap getDecimalValue()
Specified by:
getDecimalValue in interface DecimalProperty
Returns:
A SparseArray containing all elements for this attribute.

getDecimalValue

public BigDecimal getDecimalValue(int index)
Specified by:
getDecimalValue in interface DecimalProperty
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the SparseArray of all values for this attribute.

getDescription

public String getDescription()
Specified by:
getDescription in interface Property
Returns:
The possibly null value for attribute description.

setDescription

public void setDescription(String newValue)
Description copied from interface: Property
Sets a new value for the attribute description.

Specified by:
setDescription in interface Property
Parameters:
newValue - The possibly null new value for attribute description.

getName

public String getName()
Description copied from interface: Property
Retrieves the value for the attribute name.

Specified by:
getName in interface Property
Returns:
The non-null value for attribute name.

getName

protected String getName(int index)

setName

protected void setName(String newValue)

setName

protected void setName(int index,
                       String newValue)


This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.