org.opencrx.kernel.address1.cci
Class PostalAddressableImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefObject_1
      extended by org.opencrx.kernel.address1.cci.PostalAddressableImpl
All Implemented Interfaces:
Serializable, PersistenceCapable, RefBaseObject, RefFeatured, RefObject, PostalAddressable, Pictured, RefObject_1_0

public class PostalAddressableImpl
extends RefObject_1
implements PostalAddressable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable
PersistenceCapable.ObjectIdFieldConsumer, PersistenceCapable.ObjectIdFieldManager, PersistenceCapable.ObjectIdFieldSupplier
 
Field Summary
 
Fields inherited from interface javax.jdo.spi.PersistenceCapable
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE
 
Constructor Summary
PostalAddressableImpl(Object_1_0 object, RefClass refClass)
           
 
Method Summary
 Media getPicture()
          Retrieves the value for the optional reference picture.
 byte[] getPictureContent()
           
 String getPictureContentMimeType()
           
 String getPictureContentName()
           
 List getPostalAddressLine()
           
 String getPostalAddressLine(int index)
           
 String getPostalCity()
           
 String getPostalCode()
           
 short getPostalCountry()
          Retrieves the value for the attribute postalCountry.
protected  short getPostalCountry(int index)
           
 String getPostalCounty()
           
 short getPostalFreightTerms()
          Retrieves the value for the attribute postalFreightTerms.
protected  short getPostalFreightTerms(int index)
           
 BigDecimal getPostalLatitude()
           
 BigDecimal getPostalLongitude()
           
 String getPostalState()
           
 List getPostalStreet()
           
 String getPostalStreet(int index)
           
 String getPostalStreetNumber()
           
 short getPostalUtcOffset()
          Retrieves the value for the attribute postalUtcOffset.
protected  short getPostalUtcOffset(int index)
           
 void removePicture()
          Removes the value for the optional reference picture.
 void setPicture(Media newValue)
          Sets a new value for the reference picture.
protected  void setPictureContent(byte[] newValue)
           
protected  void setPictureContentMimeType(String newValue)
           
protected  void setPictureContentName(String newValue)
           
 void setPostalAddressLine(List newValue)
           
 void setPostalAddressLine(String[] newValue)
           
 void setPostalCity(String newValue)
          Sets a new value for the attribute postalCity.
 void setPostalCode(String newValue)
          Sets a new value for the attribute postalCode.
protected  void setPostalCountry(int index, short newValue)
           
 void setPostalCountry(short newValue)
          Sets a new value for the attribute postalCountry.
 void setPostalCounty(String newValue)
          Sets a new value for the attribute postalCounty.
protected  void setPostalFreightTerms(int index, short newValue)
           
 void setPostalFreightTerms(short newValue)
          Sets a new value for the attribute postalFreightTerms.
 void setPostalLatitude(BigDecimal newValue)
          Sets a new value for the attribute postalLatitude.
 void setPostalLongitude(BigDecimal newValue)
          Sets a new value for the attribute postalLongitude.
 void setPostalState(String newValue)
          Sets a new value for the attribute postalState.
 void setPostalStreet(List newValue)
           
 void setPostalStreet(String[] newValue)
           
 void setPostalStreetNumber(String newValue)
          Sets a new value for the attribute postalStreetNumber.
protected  void setPostalUtcOffset(int index, short newValue)
           
 void setPostalUtcOffset(short newValue)
          Sets a new value for the attribute postalUtcOffset.
 
Methods inherited from class org.openmdx.base.accessor.jmi.spi.RefObject_1
equals, jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetObjectId, jdoGetPersistenceManager, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsDeleted, jdoIsDetached, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoProvideField, jdoProvideFields, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager, refAddEventListener, refAddToUnitOfWork, refAddValue, refAddValue, refAddValue, refClass, refContext, refDefaultFetchGroup, refDelegate, refDelete, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refGetValue, refImmediateComposite, refImmediatePackage, refInitialize, refInitialize, refInvokeOperation, refInvokeOperation, refIsDeleted, refIsDirty, refIsInstanceOf, refIsNew, refIsPersistent, refIsWriteProtected, refMetaObject, refMofId, refOutermostComposite, refOutermostPackage, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refRemoveValue, refRemoveValue, refSetValue, refSetValue, refSetValue, refSetValue, refVerifyConstraints, refWriteProtect, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

PostalAddressableImpl

public PostalAddressableImpl(Object_1_0 object,
                             RefClass refClass)
Method Detail

getPostalAddressLine

public List getPostalAddressLine()
Specified by:
getPostalAddressLine in interface PostalAddressable
Returns:
A list containing all elements for this attribute.

getPostalAddressLine

public String getPostalAddressLine(int index)
Specified by:
getPostalAddressLine in interface PostalAddressable
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.

setPostalAddressLine

public void setPostalAddressLine(List newValue)
Specified by:
setPostalAddressLine in interface PostalAddressable
Parameters:
newValue - A list containing all the new elements for this attribute.

setPostalAddressLine

public void setPostalAddressLine(String[] newValue)
Specified by:
setPostalAddressLine in interface PostalAddressable
Parameters:
newValue - An array containing all the new elements for this attribute.

getPostalCity

public String getPostalCity()
Specified by:
getPostalCity in interface PostalAddressable
Returns:
The possibly null value for attribute postalCity.

setPostalCity

public void setPostalCity(String newValue)
Description copied from interface: PostalAddressable
Sets a new value for the attribute postalCity.

Specified by:
setPostalCity in interface PostalAddressable
Parameters:
newValue - The possibly null new value for attribute postalCity.

getPostalCode

public String getPostalCode()
Specified by:
getPostalCode in interface PostalAddressable
Returns:
The possibly null value for attribute postalCode.

setPostalCode

public void setPostalCode(String newValue)
Description copied from interface: PostalAddressable
Sets a new value for the attribute postalCode.

Specified by:
setPostalCode in interface PostalAddressable
Parameters:
newValue - The possibly null new value for attribute postalCode.

getPostalCountry

public short getPostalCountry()
Description copied from interface: PostalAddressable
Retrieves the value for the attribute postalCountry.

Specified by:
getPostalCountry in interface PostalAddressable
Returns:
The non-null value for attribute postalCountry.

getPostalCountry

protected short getPostalCountry(int index)

setPostalCountry

public void setPostalCountry(short newValue)
Description copied from interface: PostalAddressable
Sets a new value for the attribute postalCountry.

Specified by:
setPostalCountry in interface PostalAddressable
Parameters:
newValue - The non-null new value for attribute postalCountry.

setPostalCountry

protected void setPostalCountry(int index,
                                short newValue)

getPostalCounty

public String getPostalCounty()
Specified by:
getPostalCounty in interface PostalAddressable
Returns:
The possibly null value for attribute postalCounty.

setPostalCounty

public void setPostalCounty(String newValue)
Description copied from interface: PostalAddressable
Sets a new value for the attribute postalCounty.

Specified by:
setPostalCounty in interface PostalAddressable
Parameters:
newValue - The possibly null new value for attribute postalCounty.

getPostalFreightTerms

public short getPostalFreightTerms()
Description copied from interface: PostalAddressable
Retrieves the value for the attribute postalFreightTerms.

Specified by:
getPostalFreightTerms in interface PostalAddressable
Returns:
The non-null value for attribute postalFreightTerms.

getPostalFreightTerms

protected short getPostalFreightTerms(int index)

setPostalFreightTerms

public void setPostalFreightTerms(short newValue)
Description copied from interface: PostalAddressable
Sets a new value for the attribute postalFreightTerms.

Specified by:
setPostalFreightTerms in interface PostalAddressable
Parameters:
newValue - The non-null new value for attribute postalFreightTerms.

setPostalFreightTerms

protected void setPostalFreightTerms(int index,
                                     short newValue)

getPostalLatitude

public BigDecimal getPostalLatitude()
Specified by:
getPostalLatitude in interface PostalAddressable
Returns:
The possibly null value for attribute postalLatitude.

setPostalLatitude

public void setPostalLatitude(BigDecimal newValue)
Description copied from interface: PostalAddressable
Sets a new value for the attribute postalLatitude.

Specified by:
setPostalLatitude in interface PostalAddressable
Parameters:
newValue - The possibly null new value for attribute postalLatitude.

getPostalLongitude

public BigDecimal getPostalLongitude()
Specified by:
getPostalLongitude in interface PostalAddressable
Returns:
The possibly null value for attribute postalLongitude.

setPostalLongitude

public void setPostalLongitude(BigDecimal newValue)
Description copied from interface: PostalAddressable
Sets a new value for the attribute postalLongitude.

Specified by:
setPostalLongitude in interface PostalAddressable
Parameters:
newValue - The possibly null new value for attribute postalLongitude.

getPostalState

public String getPostalState()
Specified by:
getPostalState in interface PostalAddressable
Returns:
The possibly null value for attribute postalState.

setPostalState

public void setPostalState(String newValue)
Description copied from interface: PostalAddressable
Sets a new value for the attribute postalState.

Specified by:
setPostalState in interface PostalAddressable
Parameters:
newValue - The possibly null new value for attribute postalState.

getPostalStreet

public List getPostalStreet()
Specified by:
getPostalStreet in interface PostalAddressable
Returns:
A list containing all elements for this attribute.

getPostalStreet

public String getPostalStreet(int index)
Specified by:
getPostalStreet in interface PostalAddressable
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.

setPostalStreet

public void setPostalStreet(List newValue)
Specified by:
setPostalStreet in interface PostalAddressable
Parameters:
newValue - A list containing all the new elements for this attribute.

setPostalStreet

public void setPostalStreet(String[] newValue)
Specified by:
setPostalStreet in interface PostalAddressable
Parameters:
newValue - An array containing all the new elements for this attribute.

getPostalStreetNumber

public String getPostalStreetNumber()
Specified by:
getPostalStreetNumber in interface PostalAddressable
Returns:
The possibly null value for attribute postalStreetNumber.

setPostalStreetNumber

public void setPostalStreetNumber(String newValue)
Description copied from interface: PostalAddressable
Sets a new value for the attribute postalStreetNumber.

Specified by:
setPostalStreetNumber in interface PostalAddressable
Parameters:
newValue - The possibly null new value for attribute postalStreetNumber.

getPostalUtcOffset

public short getPostalUtcOffset()
Description copied from interface: PostalAddressable
Retrieves the value for the attribute postalUtcOffset.

Specified by:
getPostalUtcOffset in interface PostalAddressable
Returns:
The non-null value for attribute postalUtcOffset.

getPostalUtcOffset

protected short getPostalUtcOffset(int index)

setPostalUtcOffset

public void setPostalUtcOffset(short newValue)
Description copied from interface: PostalAddressable
Sets a new value for the attribute postalUtcOffset.

Specified by:
setPostalUtcOffset in interface PostalAddressable
Parameters:
newValue - The non-null new value for attribute postalUtcOffset.

setPostalUtcOffset

protected void setPostalUtcOffset(int index,
                                  short newValue)

getPicture

public Media getPicture()
Description copied from interface: Pictured
Retrieves the value for the optional reference picture.

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

setPicture

public void setPicture(Media newValue)
Description copied from interface: Pictured
Sets a new value for the reference picture.

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

removePicture

public void removePicture()
Description copied from interface: Pictured
Removes the value for the optional reference picture.

Specified by:
removePicture in interface Pictured

getPictureContent

public byte[] getPictureContent()
Specified by:
getPictureContent in interface Pictured
Returns:
The possibly null value for attribute pictureContent.

setPictureContent

protected void setPictureContent(byte[] newValue)

getPictureContentMimeType

public String getPictureContentMimeType()
Specified by:
getPictureContentMimeType in interface Pictured
Returns:
The possibly null value for attribute pictureContentMimeType.

setPictureContentMimeType

protected void setPictureContentMimeType(String newValue)

getPictureContentName

public String getPictureContentName()
Specified by:
getPictureContentName in interface Pictured
Returns:
The possibly null value for attribute pictureContentName.

setPictureContentName

protected void setPictureContentName(String newValue)


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