org.opencrx.kernel.depot1.cci
Class PostalAddressImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefObject_1
      extended by org.opencrx.kernel.depot1.cci.PostalAddressImpl
All Implemented Interfaces:
Serializable, PersistenceCapable, RefBaseObject, RefFeatured, RefObject, PostalAddressable, SecureObject, DepotAddress, PostalAddress, Pictured, RefObject_1_0, BasicObject, ContextCapable, ExtentCapable, ViewCapable

public class PostalAddressImpl
extends RefObject_1
implements PostalAddress

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
PostalAddressImpl(Object_1_0 object, RefClass refClass)
           
 
Method Summary
protected  void addContext(Context newValue)
           
protected  void addContext(String id, Context newValue)
           
 void addOwningGroup(int index, PrincipalGroup newValue)
           
 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
           
 void addOwningGroup(PrincipalGroup newValue)
           
 ModifySecureObjectResult addOwningGroup(PrincipalGroup group, short mode)
           
protected  void addView(String namespace, View newValue)
           
protected  void addView(View newValue)
           
 BasicObject getAccessGrantedByParent()
          Retrieves the value for the optional reference accessGrantedByParent.
 short getAccessLevelBrowse()
          Retrieves the value for the attribute accessLevelBrowse.
protected  short getAccessLevelBrowse(int index)
           
 short getAccessLevelDelete()
          Retrieves the value for the attribute accessLevelDelete.
protected  short getAccessLevelDelete(int index)
           
 short getAccessLevelUpdate()
          Retrieves the value for the attribute accessLevelUpdate.
protected  short getAccessLevelUpdate(int index)
           
 Collection getContext()
          Retrieves the objects referenced by context.
 Context getContext(String id)
          Retrieves the value for the reference context for the specified qualifier attribute value.
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
protected  Date getCreatedAt(int index)
           
 Set getCreatedBy()
           
 String getIdentity()
          Retrieves the value for the attribute identity.
protected  String getIdentity(int index)
           
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
protected  Date getModifiedAt(int index)
           
 Set getModifiedBy()
           
 List getOwner()
           
 String getOwner(int index)
           
 Collection getOwningGroup()
          Retrieves the objects referenced by owningGroup.
 PrincipalGroup getOwningGroup(int index)
          Retrieves the value for the reference owningGroup for the specified qualifier attribute value.
 User getOwningUser()
          Retrieves the value for the optional reference owningUser.
 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)
           
 Collection getView()
          Retrieves a collection containing all the elements for the reference view.
 View getView(String namespace)
          Retrieves the value for the reference view for the specified qualifier attribute value.
 List getView(ViewFilter filter)
          Retrieves the value for the reference view for the specified filter.
 List getView(ViewQuery query)
          Retrieves the value for the reference view for the specified query.
protected  void removeAccessGrantedByParent()
           
 ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams params)
           
 ModifySecureObjectResult removeAllOwningGroup(short mode)
           
protected  void removeContext(String id)
           
 void removeOwningGroup(int index)
           
 ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams params)
           
 ModifySecureObjectResult removeOwningGroup(PrincipalGroup group, short mode)
           
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
 void removePicture()
          Removes the value for the optional reference picture.
protected  void removeView(String namespace)
           
protected  void setAccessGrantedByParent(BasicObject newValue)
           
 ModifySecureObjectResult setAccessLevel(SetAccessLevelParams params)
           
 ModifySecureObjectResult setAccessLevel(short accessLevelBrowse, short accessLevelDelete, short accessLevelUpdate, short mode)
           
protected  void setAccessLevelBrowse(int index, short newValue)
           
 void setAccessLevelBrowse(short newValue)
          Sets a new value for the attribute accessLevelBrowse.
protected  void setAccessLevelDelete(int index, short newValue)
           
 void setAccessLevelDelete(short newValue)
          Sets a new value for the attribute accessLevelDelete.
protected  void setAccessLevelUpdate(int index, short newValue)
           
 void setAccessLevelUpdate(short newValue)
          Sets a new value for the attribute accessLevelUpdate.
protected  void setContext(Context[] newValue)
           
protected  void setContext(List newValue)
           
protected  void setCreatedAt(Date newValue)
           
protected  void setCreatedAt(int index, Date newValue)
           
protected  void setCreatedBy(Set newValue)
           
protected  void setCreatedBy(String[] newValue)
           
protected  void setIdentity(int index, String newValue)
           
protected  void setIdentity(String newValue)
           
protected  void setModifiedAt(Date newValue)
           
protected  void setModifiedAt(int index, Date newValue)
           
protected  void setModifiedBy(Set newValue)
           
protected  void setModifiedBy(String[] newValue)
           
protected  void setOwner(List newValue)
           
protected  void setOwner(String[] newValue)
           
 void setOwningGroup(List newValue)
           
 void setOwningGroup(PrincipalGroup[] newValue)
           
 ModifySecureObjectResult setOwningUser(SetOwningUserParams params)
           
 ModifySecureObjectResult setOwningUser(short mode, User user)
           
 void setOwningUser(User newValue)
          Sets a new value for the reference owningUser.
 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.
protected  void setView(List newValue)
           
protected  void setView(View[] newValue)
           
 
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

PostalAddressImpl

public PostalAddressImpl(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: