org.opencrx.kernel.address1.cci2
Interface Addressable

All Known Subinterfaces:
AccountAddress, AccountAddress, AccountAddress, AccountAddress, Addressable, ContractAddress, ContractAddress, EMailAddress, EMailAddress, EMailAddress, EMailAddress, EMailAddress, EMailAddress, PhoneNumber, PhoneNumber, PhoneNumber, PhoneNumber, PhoneNumber, PhoneNumber, PostalAddress, PostalAddress, PostalAddress, PostalAddress, PostalAddress, PostalAddress, ProductAddress, ProductAddress, Room, Room, Room, Room, WebAddress, WebAddress, WebAddress, WebAddress, WebAddress, WebAddress
All Known Implementing Classes:
AccountAddress, AccountAddress, ContractAddress, EMailAddress, EMailAddress, EMailAddress, PhoneNumber, PhoneNumber, PhoneNumber, PostalAddress, PostalAddress, PostalAddress, ProductAddress, Room, Room, WebAddress, WebAddress, WebAddress

public interface Addressable

Abstract class Addressable


Method Summary
 AbstractBuildingUnit getBuilding()
          Retrieves the value for the reference building.
 String getTz()
          Retrieves the possibly null value for the optional attribute tz.
 List<Short> getUsage()
          Retrieves a list containing all the elements for the attribute usage.
 boolean isMain()
          Retrieves the value for the attribute isMain.
 void setBuilding(AbstractBuildingUnit building)
          Sets a new value for the reference building.
 void setMain(boolean isMain)
          Sets a new value for the attribute isMain.
 void setTz(String tz)
          Sets a new value for the attribute tz.
 void setUsage(short... usage)
          Clears usage and adds the given value(s).
 

Method Detail

getBuilding

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

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

setBuilding

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

Parameters:
building - The new – possibly null – value for this reference.

isMain

boolean isMain()
Retrieves the value for the attribute isMain.

Returns:
The non-null value for attribute isMain.

setMain

void setMain(boolean isMain)
Sets a new value for the attribute isMain.

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

getTz

String getTz()
Retrieves the possibly null value for the optional attribute tz.

Returns:
The possibly null value for attribute tz.

setTz

void setTz(String tz)
Sets a new value for the attribute tz.

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

getUsage

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

Returns:
A list containing all elements for this attribute.

setUsage

void setUsage(short... usage)
Clears usage and adds the given value(s).

This method is equivalent to

   list.clear();
   for(short e : attributeName){
     list.add(e);
   }
 

Parameters:
usage - value(s) to be added to usage


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