org.opencrx.kernel.address1.jmi1
Interface Addressable

All Superinterfaces:
Addressable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0
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_1_0

Abstract class Addressable


Method Summary
 AbstractBuildingUnit getBuilding()
          Retrieves the value for the reference building.
 CodeValueContainer getRegionType1()
          Retrieves the value for the reference regionType1.
 CodeValueContainer getRegionType2()
          Retrieves the value for the reference regionType2.
 CodeValueContainer getRegionType3()
          Retrieves the value for the reference regionType3.
 List<Short> getUsage()
          Retrieves a list containing all the elements for the attribute usage.
 void setBuilding(AbstractBuildingUnit building)
          Sets a new value for the reference building.
 void setRegionType1(CodeValueContainer regionType1)
          Sets a new value for the reference regionType1.
 void setRegionType2(CodeValueContainer regionType2)
          Sets a new value for the reference regionType2.
 void setRegionType3(CodeValueContainer regionType3)
          Sets a new value for the reference regionType3.
 void setUsage(List<Short> usage)
          Clears usage and adds the members of the given List.
 
Methods inherited from interface org.opencrx.kernel.address1.cci2.Addressable
getRegion1, getRegion2, getRegion3, getTz, isMain, setMain, setRegion1, setRegion2, setRegion3, setTz, setUsage
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
 
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 new – possibly null – value for this reference.

getRegionType1

CodeValueContainer getRegionType1()
Retrieves the value for the reference regionType1.

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

setRegionType1

void setRegionType1(CodeValueContainer regionType1)
Sets a new value for the reference regionType1.

Specified by:
setRegionType1 in interface Addressable
Parameters:
regionType1 - The new – possibly null – value for this reference.

getRegionType2

CodeValueContainer getRegionType2()
Retrieves the value for the reference regionType2.

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

setRegionType2

void setRegionType2(CodeValueContainer regionType2)
Sets a new value for the reference regionType2.

Specified by:
setRegionType2 in interface Addressable
Parameters:
regionType2 - The new – possibly null – value for this reference.

getRegionType3

CodeValueContainer getRegionType3()
Retrieves the value for the reference regionType3.

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

setRegionType3

void setRegionType3(CodeValueContainer regionType3)
Sets a new value for the reference regionType3.

Specified by:
setRegionType3 in interface Addressable
Parameters:
regionType3 - The new – possibly null – value for this reference.

getUsage

List<Short> getUsage()
Retrieves a list containing all the elements for the attribute usage.

Specified by:
getUsage in interface Addressable
Returns:
A list containing all elements for this attribute.

setUsage

void setUsage(List<Short> usage)
Clears usage and adds the members of the given List.

This method is equivalent to

   list.clear();
   list.addAll(usage);
 
Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.

Parameters:
usage - collection to be copied.


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