org.opencrx.kernel.address1.cci
Interface Addressable

All Superinterfaces:
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
All Known Implementing Classes:
AccountAddressImpl, AccountAddressImpl, AddressableImpl, ContractAddressImpl, EMailAddressImpl, EMailAddressImpl, EMailAddressImpl, PhoneNumberImpl, PhoneNumberImpl, PhoneNumberImpl, PostalAddressImpl, PostalAddressImpl, PostalAddressImpl, ProductAddressImpl, RoomImpl, RoomImpl, WebAddressImpl, WebAddressImpl, WebAddressImpl

public interface Addressable
extends RefObject_1_0


Method Summary
 AbstractBuildingUnit getBuilding()
          Retrieves the value for the optional reference building.
 List getUsage()
           
 short getUsage(int index)
           
 boolean isMain()
          Retrieves the value for the attribute isMain.
 void removeBuilding()
          Removes the value for the optional reference building.
 void setBuilding(AbstractBuildingUnit newValue)
          Sets a new value for the reference building.
 void setMain(boolean newValue)
          Sets a new value for the attribute isMain.
 void setUsage(List newValue)
           
 void setUsage(short[] newValue)
           
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
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 optional reference building.

Returns:
The possibly null value for this reference.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setBuilding

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

Parameters:
newValue - The non-null new value for this reference.
Throws:
JmiException - If the value cannot be set for some reason.

removeBuilding

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

Throws:
JmiException - If the value cannot be removed for some reason.

isMain

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

Returns:
The non-null value for attribute isMain.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setMain

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

Parameters:
newValue - The non-null new value for attribute isMain.
Throws:
JmiException - If the value cannot be set for some reason.

getUsage

List getUsage()
Returns:
A list containing all elements for this attribute.
Throws:
JmiException - If the values cannot be retrieved for some reason.

getUsage

short getUsage(int index)
Parameters:
index - The index of the element to return.
Returns:
The element at the specified position in the list of all values for this attribute.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setUsage

void setUsage(List newValue)
Parameters:
newValue - A list containing all the new elements for this attribute.
Throws:
JmiException - If the values cannot be set for some reason.

setUsage

void setUsage(short[] newValue)
Parameters:
newValue - An array containing all the new elements for this attribute.
Throws:
JmiException - If the values cannot be set for some reason.


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