org.opencrx.kernel.address1.jmi1
Interface Addressable

All Superinterfaces:
Addressable, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
AccountAddress, AccountAddress, ContractAddress, EmailAddress, EmailAddress, EmailAddress, PhoneNumber, PhoneNumber, PhoneNumber, PostalAddress, PostalAddress, PostalAddress, ProductAddress, Room, Room, WebAddress, WebAddress, WebAddress

public interface Addressable
extends Addressable, RefObject

Abstract class Addressable


Method Summary
 AbstractBuildingUnit getBuilding()
          Retrieves the value for the reference building.
 short getUsage(int index)
           
 void removeBuilding()
          Removes the value for the optional reference building.
 void setBuilding(AbstractBuildingUnit building)
          Sets a new value for the reference building.
 void setUsage(List<Short> usage)
           This method is equivalent to
 
Methods inherited from interface org.opencrx.kernel.address1.cci2.Addressable
getUsage, isMain, setMain, setUsage
 
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

getBuilding

AbstractBuildingUnit getBuilding()
Retrieves the value for the reference building.

Specified by:
getBuilding in interface Addressable
Returns:
The – possibly null – value for this reference.

setBuilding

void setBuilding(AbstractBuildingUnit building)
Sets a new value for the reference building.

Specified by:
setBuilding in interface Addressable
Parameters:
building - The non-null new value for this reference.

removeBuilding

void removeBuilding()
Removes the value for the optional reference building.


getUsage

short getUsage(int index)
Returns:
An element of this attribute.

setUsage

void setUsage(List<Short> usage)

This method is equivalent to

   list.clear();
   list.addAll(usage);
 

Parameters:
usage - collection to be copied.


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