org.opencrx.kernel.building1.cci
Interface AbstractBuildingUnit

All Superinterfaces:
Pictured, RefBaseObject, RefFeatured, RefObject, RefObject_1_0
All Known Subinterfaces:
Building, BuildingComplex, BuildingUnit
All Known Implementing Classes:
AbstractBuildingUnitImpl, BuildingComplexImpl, BuildingImpl, BuildingUnitImpl

public interface AbstractBuildingUnit
extends Pictured


Method Summary
 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.
 BigDecimal getSizeInCubicMeter()
           
 BigDecimal getSizeInSquareMeter()
           
 void removeDepot()
          Removes the value for the optional reference depot.
 void removeFacility(String id)
           
 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 setName(String newValue)
          Sets a new value for the attribute name.
 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 interface org.opencrx.kernel.generic.cci.Pictured
getPicture, getPictureContent, getPictureContentMimeType, getPictureContentName, removePicture, setPicture
 
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
 

Method Detail

getAssignedAddress

Addressable getAssignedAddress(String id)
Retrieves the value for the reference assignedAddress for the specified qualifier attribute value.

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getAssignedAddress

Collection getAssignedAddress()
Retrieves a collection containing all the elements for the reference assignedAddress.

Returns:
A collection containing all the elements for this reference.
Throws:
JmiException - If the values cannot be retrieved for some reason.

getAssignedAddress

List getAssignedAddress(AddressableFilter filter)
Retrieves the value for the reference assignedAddress for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getAssignedAddress

List getAssignedAddress(AddressableQuery query)
Retrieves the value for the reference assignedAddress for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getDepot

Depot getDepot()
Retrieves the value for the optional reference depot.

Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setDepot

void setDepot(Depot newValue)
Sets a new value for the reference depot.

Parameters:
newValue - The non-null new value for this reference.
Throws:
JmiException - If the value cannot be set for some reason.

removeDepot

void removeDepot()
Removes the value for the optional reference depot.

Throws:
JmiException - If the value cannot be removed for some reason.

getDescription

String getDescription()
Returns:
The possibly null value for attribute description.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setDescription

void setDescription(String newValue)
Sets a new value for the attribute description.

Parameters:
newValue - The possibly null new value for attribute description.
Throws:
JmiException - If the value cannot be set for some reason.

getFacility

Facility getFacility(String id)
Retrieves the value for the reference facility for the specified qualifier attribute value.

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getFacility

Collection getFacility()
Retrieves a collection containing all the elements for the reference facility.

Returns:
A collection containing all the elements for this reference.
Throws:
JmiException - If the values cannot be retrieved for some reason.

getFacility

List getFacility(FacilityFilter filter)
Retrieves the value for the reference facility for the specified filter.

Parameters:
filter - filter which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

getFacility

List getFacility(FacilityQuery query)
Retrieves the value for the reference facility for the specified query.

Parameters:
predicate - predicate which is applied to the set of referenced objects.
Returns:
The filtered collection of referenced objects.
Throws:
JmiException - If the value cannot be retrieved for some reason.

addFacility

void addFacility(String id,
                 Facility newValue)
Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

addFacility

void addFacility(Facility newValue)
Parameters:
newValue - The element to be appended.
Throws:
JmiException - If the value cannot be appended for some reason.

removeFacility

void removeFacility(String id)
Throws:
JmiException - If the value cannot be removed for some reason.

getName

String getName()
Retrieves the value for the attribute name.

Returns:
The non-null value for attribute name.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setName

void setName(String newValue)
Sets a new value for the attribute name.

Parameters:
newValue - The non-null new value for attribute name.
Throws:
JmiException - If the value cannot be set for some reason.

getSizeInCubicMeter

BigDecimal getSizeInCubicMeter()
Returns:
The possibly null value for attribute sizeInCubicMeter.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setSizeInCubicMeter

void setSizeInCubicMeter(BigDecimal newValue)
Sets a new value for the attribute sizeInCubicMeter.

Parameters:
newValue - The possibly null new value for attribute sizeInCubicMeter.
Throws:
JmiException - If the value cannot be set for some reason.

getSizeInSquareMeter

BigDecimal getSizeInSquareMeter()
Returns:
The possibly null value for attribute sizeInSquareMeter.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setSizeInSquareMeter

void setSizeInSquareMeter(BigDecimal newValue)
Sets a new value for the attribute sizeInSquareMeter.

Parameters:
newValue - The possibly null new value for attribute sizeInSquareMeter.
Throws:
JmiException - If the value cannot be set for some reason.


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