org.opencrx.kernel.address1.jmi1
Interface PostalAddressable

All Superinterfaces:
Pictured, PostalAddressable, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
PostalAddress, PostalAddress, PostalAddress, PostalAddress

public interface PostalAddressable
extends PostalAddressable, Pictured

Abstract class PostalAddressable


Method Summary
 Media getPicture()
          Retrieves the value for the reference picture.
 String getPostalAddressLine(int index)
           
 String getPostalStreet(int index)
           
 void removePicture()
          Removes the value for the optional reference picture.
 void setPicture(Media picture)
          Sets a new value for the reference picture.
 void setPostalAddressLine(List<String> postalAddressLine)
           This method is equivalent to
 void setPostalStreet(List<String> postalStreet)
           This method is equivalent to
 
Methods inherited from interface org.opencrx.kernel.address1.cci2.PostalAddressable
getPostalAddressLine, getPostalCity, getPostalCode, getPostalCountry, getPostalCounty, getPostalFreightTerms, getPostalLatitude, getPostalLongitude, getPostalState, getPostalStreet, getPostalStreetNumber, getPostalUtcOffset, setPostalAddressLine, setPostalCity, setPostalCode, setPostalCountry, setPostalCounty, setPostalFreightTerms, setPostalLatitude, setPostalLongitude, setPostalState, setPostalStreet, setPostalStreetNumber, setPostalUtcOffset
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.Pictured
getPictureContent, getPictureContentMimeType, getPictureContentName
 
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

getPostalAddressLine

String getPostalAddressLine(int index)
Returns:
An element of this attribute.

setPostalAddressLine

void setPostalAddressLine(List<String> postalAddressLine)

This method is equivalent to

   list.clear();
   list.addAll(postalAddressLine);
 

Parameters:
postalAddressLine - collection to be copied.

getPostalStreet

String getPostalStreet(int index)
Returns:
An element of this attribute.

setPostalStreet

void setPostalStreet(List<String> postalStreet)

This method is equivalent to

   list.clear();
   list.addAll(postalStreet);
 

Parameters:
postalStreet - collection to be copied.

getPicture

Media getPicture()
Retrieves the value for the reference picture.

Specified by:
getPicture in interface Pictured
Returns:
The – possibly null – value for this reference.

setPicture

void setPicture(Media picture)
Sets a new value for the reference picture.

Specified by:
setPicture in interface Pictured
Parameters:
picture - The non-null new value for this reference.

removePicture

void removePicture()
Removes the value for the optional reference picture.



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