org.opencrx.kernel.building1.cci
Class AbstractBuildingUnitImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefObject_1
      extended by org.opencrx.kernel.building1.cci.AbstractBuildingUnitImpl
All Implemented Interfaces:
Serializable, PersistenceCapable, RefBaseObject, RefFeatured, RefObject, AbstractBuildingUnit, Pictured, RefObject_1_0

public class AbstractBuildingUnitImpl
extends RefObject_1
implements AbstractBuildingUnit

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
AbstractBuildingUnitImpl(Object_1_0 object, RefClass refClass)
           
 
Method Summary
protected  void addAssignedAddress(Addressable newValue)
           
protected  void addAssignedAddress(String id, Addressable newValue)
           
 void addFacility(Facility newValue)
           
 void addFacility(String id, Facility newValue)
           
 Collection getAssignedAddress()
          Retrieves a collection containing all the elements for the reference assignedAddress.
 List getAssignedAddress(AddressableFilter filter)
          Retrieves the value for the reference assignedAddress for the specified filter.
 List getAssignedAddress(AddressableQuery query)
          Retrieves the value for the reference assignedAddress for the specified query.
 Addressable getAssignedAddress(String id)
          Retrieves the value for the reference assignedAddress for the specified qualifier attribute value.
 Depot getDepot()
          Retrieves the value for the optional reference depot.
 String getDescription()
           
 Collection getFacility()
          Retrieves a collection containing all the elements for the reference facility.
 List getFacility(FacilityFilter filter)
          Retrieves the value for the reference facility for the specified filter.
 List getFacility(FacilityQuery query)
          Retrieves the value for the reference facility for the specified query.
 Facility getFacility(String id)
          Retrieves the value for the reference facility for the specified qualifier attribute value.
 String getName()
          Retrieves the value for the attribute name.
protected  String getName(int index)
           
 Media getPicture()
          Retrieves the value for the optional reference picture.
 byte[] getPictureContent()
           
 String getPictureContentMimeType()
           
 String getPictureContentName()
           
 BigDecimal getSizeInCubicMeter()
           
 BigDecimal getSizeInSquareMeter()
           
protected  void removeAssignedAddress(String id)
           
 void removeDepot()
          Removes the value for the optional reference depot.
 void removeFacility(String id)
           
 void removePicture()
          Removes the value for the optional reference picture.
protected  void setAssignedAddress(Addressable[] newValue)
           
protected  void setAssignedAddress(List newValue)
           
 void setDepot(Depot newValue)
          Sets a new value for the reference depot.
 void setDescription(String newValue)
          Sets a new value for the attribute description.
 void setFacility(Facility[] newValue)
           
 void setFacility(List newValue)
           
protected  void setName(int index, String newValue)
           
 void setName(String newValue)
          Sets a new value for the attribute name.
 void setPicture(Media newValue)
          Sets a new value for the reference picture.
protected  void setPictureContent(byte[] newValue)
           
protected  void setPictureContentMimeType(String newValue)
           
protected  void setPictureContentName(String newValue)
           
 void setSizeInCubicMeter(BigDecimal newValue)
          Sets a new value for the attribute sizeInCubicMeter.
 void setSizeInSquareMeter(BigDecimal newValue)
          Sets a new value for the attribute sizeInSquareMeter.
 
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

AbstractBuildingUnitImpl

public AbstractBuildingUnitImpl(Object_1_0 object,
                                RefClass refClass)
Method Detail

setAssignedAddress

protected void setAssignedAddress(List newValue)

setAssignedAddress

protected void setAssignedAddress(Addressable[] newValue)

getAssignedAddress

public Addressable getAssignedAddress(String id)
Description copied from interface: AbstractBuildingUnit
Retrieves the value for the reference assignedAddress for the specified qualifier attribute value.

Specified by:
getAssignedAddress in interface AbstractBuildingUnit
Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.

getAssignedAddress

public Collection getAssignedAddress()
Description copied from interface: AbstractBuildingUnit
Retrieves a collection containing all the elements for the reference assignedAddress.

Specified by:
getAssignedAddress in interface AbstractBuildingUnit
Returns:
A collection containing all the elements for this reference.

getAssignedAddress

public List getAssignedAddress(AddressableFilter filter)
Description copied from interface: AbstractBuildingUnit
Retrieves the value for the reference assignedAddress for the specified filter.

Specified by:
getAssignedAddress in interface AbstractBuildingUnit
Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.

getAssignedAddress

public List getAssignedAddress(AddressableQuery query)
Description copied from interface: AbstractBuildingUnit
Retrieves the value for the reference assignedAddress for the specified query.

Specified by:
getAssignedAddress in interface AbstractBuildingUnit
Returns:
The filtered collection of referenced objects.

addAssignedAddress

protected void addAssignedAddress(String id,
                                  Addressable newValue)

addAssignedAddress

protected void addAssignedAddress(Addressable newValue)

removeAssignedAddress

protected void removeAssignedAddress(String id)

getDepot

public Depot getDepot()
Description copied from interface: AbstractBuildingUnit
Retrieves the value for the optional reference depot.

Specified by:
getDepot in interface AbstractBuildingUnit
Returns:
The possibly null value for this reference.

setDepot

public void setDepot(Depot newValue)
Description copied from interface: AbstractBuildingUnit
Sets a new value for the reference depot.

Specified by:
setDepot in interface AbstractBuildingUnit
Parameters:
newValue - The non-null new value for this reference.

removeDepot

public void removeDepot()
Description copied from interface: AbstractBuildingUnit
Removes the value for the optional reference depot.

Specified by:
removeDepot in interface AbstractBuildingUnit

getDescription

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

setDescription

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

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

setFacility

public void setFacility(List newValue)

setFacility

public void setFacility(Facility[] newValue)

getFacility

public Facility getFacility(String id)
Description copied from interface: AbstractBuildingUnit
Retrieves the value for the reference facility for the specified qualifier attribute value.

Specified by:
getFacility in interface AbstractBuildingUnit
Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.

getFacility

public Collection getFacility()
Description copied from interface: AbstractBuildingUnit
Retrieves a collection containing all the elements for the reference facility.

Specified by:
getFacility in interface AbstractBuildingUnit
Returns:
A collection containing all the elements for this reference.

getFacility

public List getFacility(FacilityFilter filter)
Description copied from interface: AbstractBuildingUnit
Retrieves the value for the reference facility for the specified filter.

Specified by:
getFacility in interface AbstractBuildingUnit
Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.

getFacility

public List getFacility(FacilityQuery query)
Description copied from interface: AbstractBuildingUnit
Retrieves the value for the reference facility for the specified query.

Specified by:
getFacility in interface AbstractBuildingUnit
Returns:
The filtered collection of referenced objects.

addFacility

public void addFacility(String id,
                        Facility newValue)
Specified by:
addFacility in interface AbstractBuildingUnit
Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addFacility

public void addFacility(Facility newValue)
Specified by:
addFacility in interface AbstractBuildingUnit
Parameters:
newValue - The element to be appended.

removeFacility

public void removeFacility(String id)
Specified by:
removeFacility in interface AbstractBuildingUnit

getName

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

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

getName

protected String getName(int index)

setName

public void setName(String newValue)
Description copied from interface: AbstractBuildingUnit
Sets a new value for the attribute name.

Specified by:
setName in interface AbstractBuildingUnit
Parameters:
newValue - The non-null new value for attribute name.

setName

protected void setName(int index,
                       String newValue)

getSizeInCubicMeter

public BigDecimal getSizeInCubicMeter()
Specified by:
getSizeInCubicMeter in interface AbstractBuildingUnit
Returns:
The possibly null value for attribute sizeInCubicMeter.

setSizeInCubicMeter

public void setSizeInCubicMeter(BigDecimal newValue)
Description copied from interface: AbstractBuildingUnit
Sets a new value for the attribute sizeInCubicMeter.

Specified by:
setSizeInCubicMeter in interface AbstractBuildingUnit
Parameters:
newValue - The possibly null new value for attribute sizeInCubicMeter.

getSizeInSquareMeter

public BigDecimal getSizeInSquareMeter()
Specified by:
getSizeInSquareMeter in interface AbstractBuildingUnit
Returns:
The possibly null value for attribute sizeInSquareMeter.

setSizeInSquareMeter

public void setSizeInSquareMeter(BigDecimal newValue)
Description copied from interface: AbstractBuildingUnit
Sets a new value for the attribute sizeInSquareMeter.

Specified by:
setSizeInSquareMeter in interface AbstractBuildingUnit
Parameters:
newValue - The possibly null new value for attribute sizeInSquareMeter.

getPicture

public Media getPicture()
Description copied from interface: Pictured
Retrieves the value for the optional reference picture.

Specified by:
getPicture in interface Pictured
Returns:
The possibly null value for this reference.

setPicture

public void setPicture(Media newValue)
Description copied from interface: Pictured
Sets a new value for the reference picture.

Specified by:
setPicture in interface Pictured
Parameters:
newValue - The non-null new value for this reference.

removePicture

public void removePicture()
Description copied from interface: Pictured
Removes the value for the optional reference picture.

Specified by:
removePicture in interface Pictured

getPictureContent

public byte[] getPictureContent()
Specified by:
getPictureContent in interface Pictured
Returns:
The possibly null value for attribute pictureContent.

setPictureContent

protected void setPictureContent(byte[] newValue)

getPictureContentMimeType

public String getPictureContentMimeType()
Specified by:
getPictureContentMimeType in interface Pictured
Returns:
The possibly null value for attribute pictureContentMimeType.

setPictureContentMimeType

protected void setPictureContentMimeType(String newValue)

getPictureContentName

public String getPictureContentName()
Specified by:
getPictureContentName in interface Pictured
Returns:
The possibly null value for attribute pictureContentName.

setPictureContentName

protected void setPictureContentName(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.