org.opencrx.kernel.building1.cci2
Interface AbstractBuildingUnit

All Superinterfaces:
Pictured
All Known Subinterfaces:
AbstractBuildingUnit, Building, Building, BuildingComplex, BuildingComplex, BuildingUnit, BuildingUnit
All Known Implementing Classes:
Building, BuildingComplex, BuildingUnit

public interface AbstractBuildingUnit
extends Pictured

Abstract class AbstractBuildingUnit


Method Summary
 void addFacility(boolean idIsPersistent, String id, Facility facility)
          Adds the specified element to the set of the values for the reference facility.
<T extends Addressable>
Collection<T>
getAssignedAddress()
          Retrieves a set containing all the elements for the reference assignedAddress.
 Addressable getAssignedAddress(boolean idIsPersistent, String id)
          Retrieves the value for the reference assignedAddress for the specified qualifier attribute value.
 Depot getDepot()
          Retrieves the value for the reference depot.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
<T extends Facility>
Collection<T>
getFacility()
          Retrieves a set containing all the elements for the reference facility.
 Facility getFacility(boolean idIsPersistent, 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()
          Retrieves the possibly null value for the optional attribute sizeInCubicMeter.
 BigDecimal getSizeInSquareMeter()
          Retrieves the possibly null value for the optional attribute sizeInSquareMeter.
 void setDepot(Depot depot)
          Sets a new value for the reference depot.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setName(String name)
          Sets a new value for the attribute name.
 void setSizeInCubicMeter(BigDecimal sizeInCubicMeter)
          Sets a new value for the attribute sizeInCubicMeter.
 void setSizeInSquareMeter(BigDecimal sizeInSquareMeter)
          Sets a new value for the attribute sizeInSquareMeter.
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.Pictured
getPicture, getPictureContent, getPictureContentMimeType, getPictureContentName, setPicture
 

Method Detail

getAssignedAddress

<T extends Addressable> Collection<T> getAssignedAddress()
Retrieves a set containing all the elements for the reference assignedAddress.

Returns:
A set containing all the elements for this reference.

getAssignedAddress

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

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getDepot

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

Returns:
The – possibly null – value for this reference.

setDepot

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

Parameters:
depot - The non-null new value for this reference.

getDescription

String getDescription()
Retrieves the possibly null value for the optional attribute description.

Returns:
The possibly null value for attribute description.

setDescription

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

Parameters:
description - The possibly null new value for attribute description.

getFacility

<T extends Facility> Collection<T> getFacility()
Retrieves a set containing all the elements for the reference facility.

Returns:
A set containing all the elements for this reference.

getFacility

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

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addFacility

void addFacility(boolean idIsPersistent,
                 String id,
                 Facility facility)
Adds the specified element to the set of the values for the reference facility.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
facility - The element to be appended.

getName

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

Returns:
The non-null value for attribute name.

setName

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

Parameters:
name - The non-null new value for attribute name.

getSizeInCubicMeter

BigDecimal getSizeInCubicMeter()
Retrieves the possibly null value for the optional attribute sizeInCubicMeter.

Returns:
The possibly null value for attribute sizeInCubicMeter.

setSizeInCubicMeter

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

Parameters:
sizeInCubicMeter - The possibly null new value for attribute sizeInCubicMeter.

getSizeInSquareMeter

BigDecimal getSizeInSquareMeter()
Retrieves the possibly null value for the optional attribute sizeInSquareMeter.

Returns:
The possibly null value for attribute sizeInSquareMeter.

setSizeInSquareMeter

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

Parameters:
sizeInSquareMeter - The possibly null new value for attribute sizeInSquareMeter.


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