org.opencrx.kernel.building1.jmi1
Interface AbstractBuildingUnit

All Superinterfaces:
AbstractBuildingUnit, Pictured, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
Building, BuildingComplex, BuildingUnit

public interface AbstractBuildingUnit
extends AbstractBuildingUnit, Pictured

Abstract class AbstractBuildingUnit


Method Summary
 void addFacility(Facility newValue)
          
 void addFacility(String id, Facility newValue)
          
<T extends Addressable>
List<T>
getAssignedAddress(AddressableQuery query)
          Retrieves the value for the reference assignedAddress for the specified query.
 Depot getDepot()
          Retrieves the value for the reference depot.
<T extends Facility>
List<T>
getFacility(FacilityQuery query)
          Retrieves the value for the reference facility for the specified query.
 Media getPicture()
          Retrieves the value for the reference picture.
 void removeDepot()
          Removes the value for the optional reference depot.
 void removeFacility(String id)
          
 void removePicture()
          Removes the value for the optional reference picture.
 void setDepot(Depot depot)
          Sets a new value for the reference depot.
 void setPicture(Media picture)
          Sets a new value for the reference picture.
 
Methods inherited from interface org.opencrx.kernel.building1.cci2.AbstractBuildingUnit
getAssignedAddress, getDescription, getFacility, getName, getSizeInCubicMeter, getSizeInSquareMeter, setDescription, setName, setSizeInCubicMeter, setSizeInSquareMeter
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.Pictured
getPictureContent, getPictureContentMimeType, getPictureContentName
 
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

<T extends Addressable> List<T> getAssignedAddress(AddressableQuery query)
Retrieves the value for the reference assignedAddress for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getDepot

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

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

setDepot

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

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

removeDepot

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


getFacility

<T extends Facility> List<T> getFacility(FacilityQuery query)
Retrieves the value for the reference facility for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

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.

addFacility

void addFacility(Facility newValue)

Parameters:
newValue - The element to be appended.

removeFacility

void removeFacility(String id)


getPicture

Media getPicture()
Retrieves the value for the reference picture.

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

setPicture

void setPicture(Media picture)
Sets a new value for the reference picture.

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

removePicture

void removePicture()
Removes the value for the optional reference picture.



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