org.opencrx.kernel.address1.cci
Class AddressableImpl
java.lang.Object
org.openmdx.base.accessor.jmi.spi.RefObject_1
org.opencrx.kernel.address1.cci.AddressableImpl
- All Implemented Interfaces:
- Serializable, PersistenceCapable, RefBaseObject, RefFeatured, RefObject, Addressable, RefObject_1_0
public class AddressableImpl
- extends RefObject_1
- implements Addressable
- See Also:
- Serialized Form
| 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 |
AddressableImpl
public AddressableImpl(Object_1_0 object,
RefClass refClass)
getBuilding
public AbstractBuildingUnit getBuilding()
- Description copied from interface:
Addressable
- Retrieves the value for the optional reference
building.
- Specified by:
getBuilding in interface Addressable
- Returns:
- The possibly null value for this reference.
setBuilding
public void setBuilding(AbstractBuildingUnit newValue)
- Description copied from interface:
Addressable
- Sets a new value for the reference
building.
- Specified by:
setBuilding in interface Addressable
- Parameters:
newValue - The non-null new value for this reference.
removeBuilding
public void removeBuilding()
- Description copied from interface:
Addressable
- Removes the value for the optional reference
building.
- Specified by:
removeBuilding in interface Addressable
isMain
public boolean isMain()
- Description copied from interface:
Addressable
- Retrieves the value for the attribute
isMain.
- Specified by:
isMain in interface Addressable
- Returns:
- The non-null value for attribute
isMain.
isMain
protected boolean isMain(int index)
setMain
public void setMain(boolean newValue)
- Description copied from interface:
Addressable
- Sets a new value for the attribute
isMain.
- Specified by:
setMain in interface Addressable
- Parameters:
newValue - The non-null new value for attribute isMain.
setMain
protected void setMain(int index,
boolean newValue)
getUsage
public List getUsage()
- Specified by:
getUsage in interface Addressable
- Returns:
- A list containing all elements for this attribute.
getUsage
public short getUsage(int index)
- Specified by:
getUsage in interface Addressable
- Parameters:
index - The index of the element to return.
- Returns:
- The element at the specified position in the list of all values for this attribute.
setUsage
public void setUsage(List newValue)
- Specified by:
setUsage in interface Addressable
- Parameters:
newValue - A list containing all the new elements for this attribute.
setUsage
public void setUsage(short[] newValue)
- Specified by:
setUsage in interface Addressable
- Parameters:
newValue - An array containing all the new elements for this attribute.
This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.