org.opencrx.kernel.product1.jpa3
Class PostalAddress

java.lang.Object
  extended by org.w3c.jpa3.AbstractObject
      extended by org.opencrx.kernel.product1.jpa3.ProductAddress
          extended by org.opencrx.kernel.product1.jpa3.PostalAddress
All Implemented Interfaces:
Serializable, Addressable, PostalAddressable, AlertSender, Auditee, Cloneable, Exporter, Importer, Indexed, SecureObject, CrxObject, LocalizedFieldContainer, Pictured, PostalAddress, ProductAddress, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable

public class PostalAddress
extends ProductAddress
implements PostalAddress

Class PostalAddress

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject
AbstractObject.AbstractStateAccessor, AbstractObject.EmbeddedList<E>, AbstractObject.EmbeddedSet<E>, AbstractObject.ObjectState, AbstractObject.SlicedList<E,S>, AbstractObject.SlicedMap<E,S>, AbstractObject.SlicedSet<E,S>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.product1.cci2.ProductAddress
ProductAddress.Identity
 
Field Summary
 byte[] pictureContent
          Attribute pictureContent.
 String pictureContentMimeType
          Attribute pictureContentMimeType.
 String pictureContentName
          Attribute pictureContentName.
 
Fields inherited from class org.opencrx.kernel.product1.jpa3.ProductAddress
createdAt, identity, modifiedAt
 
Constructor Summary
PostalAddress()
          Constructor
 
Method Summary
 String getPicture_Id()
           
 Media getPicture()
          Retrieves the value for the reference picture.
 byte[] getPictureContent()
          Retrieves the possibly null value for the optional attribute pictureContent.
 String getPictureContentMimeType()
          Retrieves the possibly null value for the optional attribute pictureContentMimeType.
 String getPictureContentName()
          Retrieves the possibly null value for the optional attribute pictureContentName.
 List<String> getPostalAddressLine()
          Retrieves a list containing all the elements for the attribute postalAddressLine.
 String getPostalCity()
          Retrieves the possibly null value for the optional attribute postalCity.
 String getPostalCode()
          Retrieves the possibly null value for the optional attribute postalCode.
 short getPostalCountry()
          Retrieves the value for the attribute postalCountry.
 String getPostalCounty()
          Retrieves the possibly null value for the optional attribute postalCounty.
 short getPostalFreightTerms()
          Retrieves the value for the attribute postalFreightTerms.
 BigDecimal getPostalLatitude()
          Retrieves the possibly null value for the optional attribute postalLatitude.
 BigDecimal getPostalLongitude()
          Retrieves the possibly null value for the optional attribute postalLongitude.
 String getPostalState()
          Retrieves the possibly null value for the optional attribute postalState.
 List<String> getPostalStreet()
          Retrieves a list containing all the elements for the attribute postalStreet.
 String getPostalStreetNumber()
          Retrieves the possibly null value for the optional attribute postalStreetNumber.
 short getPostalUtcOffset()
          Retrieves the value for the attribute postalUtcOffset.
 void setPicture_Id(String picture)
           
 void setPicture(Media picture)
          Sets a new value for the reference picture.
 void setPostalAddressLine(String... postalAddressLine)
          Clears postalAddressLine and adds the given value(s).
 void setPostalCity(String postalCity)
          Sets a new value for the attribute postalCity.
 void setPostalCode(String postalCode)
          Sets a new value for the attribute postalCode.
 void setPostalCountry(short postalCountry)
          Sets a new value for the attribute postalCountry.
 void setPostalCounty(String postalCounty)
          Sets a new value for the attribute postalCounty.
 void setPostalFreightTerms(short postalFreightTerms)
          Sets a new value for the attribute postalFreightTerms.
 void setPostalLatitude(BigDecimal postalLatitude)
          Sets a new value for the attribute postalLatitude.
 void setPostalLongitude(BigDecimal postalLongitude)
          Sets a new value for the attribute postalLongitude.
 void setPostalState(String postalState)
          Sets a new value for the attribute postalState.
 void setPostalStreet(String... postalStreet)
          Clears postalStreet and adds the given value(s).
 void setPostalStreetNumber(String postalStreetNumber)
          Sets a new value for the attribute postalStreetNumber.
 void setPostalUtcOffset(short postalUtcOffset)
          Sets a new value for the attribute postalUtcOffset.
 
Methods inherited from class org.opencrx.kernel.product1.jpa3.ProductAddress
addOwningGroup, checkPermissions, clone_, exportItem, exportItemAdvanced, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAdditionalExternalLink, getAssignedTimer, getAttachedDocument, getAudit, getBuilding_Id, getBuilding, getCategory, getCreatedAt, getCreatedBy, getDisabledReason, getDocumentFolderAssignment, getExternalLink, getIdentity, getIndexEntry, getLocalizedField, getMedia, getModifiedAt, getModifiedBy, getNote, getOpenmdxjdoIdentity, getOwner, getOwningGroup_Id, getOwningGroup, getOwningUser_Id, getOwningUser, getPropertySet, getPropertySetEntry, getRating, getRegion1, getRegion2, getRegion3, getRegionType1_Id, getRegionType1, getRegionType2_Id, getRegionType2, getRegionType3_Id, getRegionType3, getTz, getUsage, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, getValidFrom, getValidTo, importItem, isDisabled, isMain, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, sendAlert, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setAddressContainer_Id, setAddressContainer, setBuilding_Id, setBuilding, setCategory, setDisabled, setDisabledReason, setExternalLink, setMain, setOpenmdxjdoIdentity, setOwner, setOwningUser_Id, setOwningUser, setOwningUser, setRegion1, setRegion2, setRegion3, setRegionType1_Id, setRegionType1, setRegionType2_Id, setRegionType2, setRegionType3_Id, setRegionType3, setTz, setUsage, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4, setValidFrom, setValidTo, updateIndex
 
Methods inherited from class org.w3c.jpa3.AbstractObject
openmdxjdoMakeDirty, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.ProductAddress
getValidFrom, getValidTo, setValidFrom, setValidTo
 
Methods inherited from interface org.opencrx.kernel.address1.cci2.Addressable
getBuilding, getRegion1, getRegion2, getRegion3, getRegionType1, getRegionType2, getRegionType3, getTz, getUsage, isMain, setBuilding, setMain, setRegion1, setRegion2, setRegion3, setRegionType1, setRegionType2, setRegionType3, setTz, setUsage
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAssignedTimer, getAttachedDocument, getCategory, getDisabledReason, getDocumentFolderAssignment, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.LocalizedFieldContainer
getLocalizedField
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt, getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt, getModifiedBy
 

Field Detail

pictureContentMimeType

public String pictureContentMimeType
Attribute pictureContentMimeType.


pictureContent

public byte[] pictureContent
Attribute pictureContent.


pictureContentName

public String pictureContentName
Attribute pictureContentName.

Constructor Detail

PostalAddress

public PostalAddress()
Constructor

Method Detail

getPictureContentMimeType

public final String getPictureContentMimeType()
Retrieves the possibly null value for the optional attribute pictureContentMimeType.

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

getPostalCountry

public short getPostalCountry()
Retrieves the value for the attribute postalCountry.

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

setPostalCountry

public void setPostalCountry(short postalCountry)
Sets a new value for the attribute postalCountry.

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

getPostalAddressLine

public List<String> getPostalAddressLine()
Retrieves a list containing all the elements for the attribute postalAddressLine.

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

setPostalAddressLine

public void setPostalAddressLine(String... postalAddressLine)
Clears postalAddressLine and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

Specified by:
setPostalAddressLine in interface PostalAddressable
Parameters:
postalAddressLine - value(s) to be added to postalAddressLine

getPostalStreet

public List<String> getPostalStreet()
Retrieves a list containing all the elements for the attribute postalStreet.

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

setPostalStreet

public void setPostalStreet(String... postalStreet)
Clears postalStreet and adds the given value(s).

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

Specified by:
setPostalStreet in interface PostalAddressable
Parameters:
postalStreet - value(s) to be added to postalStreet

getPostalCode

public final String getPostalCode()
Retrieves the possibly null value for the optional attribute postalCode.

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

setPostalCode

public void setPostalCode(String postalCode)
Sets a new value for the attribute postalCode.

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

getPostalCounty

public final String getPostalCounty()
Retrieves the possibly null value for the optional attribute postalCounty.

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

setPostalCounty

public void setPostalCounty(String postalCounty)
Sets a new value for the attribute postalCounty.

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

getPostalState

public final String getPostalState()
Retrieves the possibly null value for the optional attribute postalState.

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

setPostalState

public void setPostalState(String postalState)
Sets a new value for the attribute postalState.

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

getPictureContent

public final byte[] getPictureContent()
Retrieves the possibly null value for the optional attribute pictureContent.

Specified by:
getPictureContent in interface Pictured
Returns:
The possibly null value for attribute pictureContent.

getPostalCity

public final String getPostalCity()
Retrieves the possibly null value for the optional attribute postalCity.

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

setPostalCity

public void setPostalCity(String postalCity)
Sets a new value for the attribute postalCity.

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

getPicture

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

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

getPicture_Id

public String getPicture_Id()

setPicture

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

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

setPicture_Id

public void setPicture_Id(String picture)

getPostalLatitude

public final BigDecimal getPostalLatitude()
Retrieves the possibly null value for the optional attribute postalLatitude.

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

setPostalLatitude

public void setPostalLatitude(BigDecimal postalLatitude)
Sets a new value for the attribute postalLatitude.

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

getPostalFreightTerms

public short getPostalFreightTerms()
Retrieves the value for the attribute postalFreightTerms.

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

setPostalFreightTerms

public void setPostalFreightTerms(short postalFreightTerms)
Sets a new value for the attribute postalFreightTerms.

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

getPostalLongitude

public final BigDecimal getPostalLongitude()
Retrieves the possibly null value for the optional attribute postalLongitude.

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

setPostalLongitude

public void setPostalLongitude(BigDecimal postalLongitude)
Sets a new value for the attribute postalLongitude.

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

getPostalUtcOffset

public short getPostalUtcOffset()
Retrieves the value for the attribute postalUtcOffset.

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

setPostalUtcOffset

public void setPostalUtcOffset(short postalUtcOffset)
Sets a new value for the attribute postalUtcOffset.

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

getPostalStreetNumber

public final String getPostalStreetNumber()
Retrieves the possibly null value for the optional attribute postalStreetNumber.

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

setPostalStreetNumber

public void setPostalStreetNumber(String postalStreetNumber)
Sets a new value for the attribute postalStreetNumber.

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

getPictureContentName

public final String getPictureContentName()
Retrieves the possibly null value for the optional attribute pictureContentName.

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


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