Class GeneratedAddress

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable
    Direct Known Subclasses:
    Address

    public abstract class GeneratedAddress
    extends GenericItem
    Generated class for type Address.
    See Also:
    Serialized Form
    • Field Detail

      • ORIGINAL

        public static final java.lang.String ORIGINAL
        Qualifier of the Address.original attribute
        See Also:
        Constant Field Values
      • DUPLICATE

        public static final java.lang.String DUPLICATE
        Qualifier of the Address.duplicate attribute
        See Also:
        Constant Field Values
      • APPARTMENT

        public static final java.lang.String APPARTMENT
        Qualifier of the Address.appartment attribute
        See Also:
        Constant Field Values
      • BUILDING

        public static final java.lang.String BUILDING
        Qualifier of the Address.building attribute
        See Also:
        Constant Field Values
      • CELLPHONE

        public static final java.lang.String CELLPHONE
        Qualifier of the Address.cellphone attribute
        See Also:
        Constant Field Values
      • COMPANY

        public static final java.lang.String COMPANY
        Qualifier of the Address.company attribute
        See Also:
        Constant Field Values
      • COUNTRY

        public static final java.lang.String COUNTRY
        Qualifier of the Address.country attribute
        See Also:
        Constant Field Values
      • DEPARTMENT

        public static final java.lang.String DEPARTMENT
        Qualifier of the Address.department attribute
        See Also:
        Constant Field Values
      • DISTRICT

        public static final java.lang.String DISTRICT
        Qualifier of the Address.district attribute
        See Also:
        Constant Field Values
      • EMAIL

        public static final java.lang.String EMAIL
        Qualifier of the Address.email attribute
        See Also:
        Constant Field Values
      • FAX

        public static final java.lang.String FAX
        Qualifier of the Address.fax attribute
        See Also:
        Constant Field Values
      • FIRSTNAME

        public static final java.lang.String FIRSTNAME
        Qualifier of the Address.firstname attribute
        See Also:
        Constant Field Values
      • LASTNAME

        public static final java.lang.String LASTNAME
        Qualifier of the Address.lastname attribute
        See Also:
        Constant Field Values
      • MIDDLENAME

        public static final java.lang.String MIDDLENAME
        Qualifier of the Address.middlename attribute
        See Also:
        Constant Field Values
      • MIDDLENAME2

        public static final java.lang.String MIDDLENAME2
        Qualifier of the Address.middlename2 attribute
        See Also:
        Constant Field Values
      • PHONE1

        public static final java.lang.String PHONE1
        Qualifier of the Address.phone1 attribute
        See Also:
        Constant Field Values
      • PHONE2

        public static final java.lang.String PHONE2
        Qualifier of the Address.phone2 attribute
        See Also:
        Constant Field Values
      • POBOX

        public static final java.lang.String POBOX
        Qualifier of the Address.pobox attribute
        See Also:
        Constant Field Values
      • POSTALCODE

        public static final java.lang.String POSTALCODE
        Qualifier of the Address.postalcode attribute
        See Also:
        Constant Field Values
      • REGION

        public static final java.lang.String REGION
        Qualifier of the Address.region attribute
        See Also:
        Constant Field Values
      • STREETNAME

        public static final java.lang.String STREETNAME
        Qualifier of the Address.streetname attribute
        See Also:
        Constant Field Values
      • STREETNUMBER

        public static final java.lang.String STREETNUMBER
        Qualifier of the Address.streetnumber attribute
        See Also:
        Constant Field Values
      • TITLE

        public static final java.lang.String TITLE
        Qualifier of the Address.title attribute
        See Also:
        Constant Field Values
      • TOWN

        public static final java.lang.String TOWN
        Qualifier of the Address.town attribute
        See Also:
        Constant Field Values
      • GENDER

        public static final java.lang.String GENDER
        Qualifier of the Address.gender attribute
        See Also:
        Constant Field Values
      • DATEOFBIRTH

        public static final java.lang.String DATEOFBIRTH
        Qualifier of the Address.dateOfBirth attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedAddress

        public GeneratedAddress()
    • Method Detail

      • getAppartment

        public java.lang.String getAppartment​(SessionContext ctx)
        Generated method - Getter of the Address.appartment attribute.
        Returns:
        the appartment
      • getAppartment

        public java.lang.String getAppartment()
        Generated method - Getter of the Address.appartment attribute.
        Returns:
        the appartment
      • setAppartment

        public void setAppartment​(SessionContext ctx,
                                  java.lang.String value)
        Generated method - Setter of the Address.appartment attribute.
        Parameters:
        value - the appartment
      • setAppartment

        public void setAppartment​(java.lang.String value)
        Generated method - Setter of the Address.appartment attribute.
        Parameters:
        value - the appartment
      • getBuilding

        public java.lang.String getBuilding​(SessionContext ctx)
        Generated method - Getter of the Address.building attribute.
        Returns:
        the building
      • getBuilding

        public java.lang.String getBuilding()
        Generated method - Getter of the Address.building attribute.
        Returns:
        the building
      • setBuilding

        public void setBuilding​(SessionContext ctx,
                                java.lang.String value)
        Generated method - Setter of the Address.building attribute.
        Parameters:
        value - the building
      • setBuilding

        public void setBuilding​(java.lang.String value)
        Generated method - Setter of the Address.building attribute.
        Parameters:
        value - the building
      • getCellphone

        public java.lang.String getCellphone​(SessionContext ctx)
        Generated method - Getter of the Address.cellphone attribute.
        Returns:
        the cellphone
      • getCellphone

        public java.lang.String getCellphone()
        Generated method - Getter of the Address.cellphone attribute.
        Returns:
        the cellphone
      • setCellphone

        public void setCellphone​(SessionContext ctx,
                                 java.lang.String value)
        Generated method - Setter of the Address.cellphone attribute.
        Parameters:
        value - the cellphone
      • setCellphone

        public void setCellphone​(java.lang.String value)
        Generated method - Setter of the Address.cellphone attribute.
        Parameters:
        value - the cellphone
      • getCompany

        public java.lang.String getCompany​(SessionContext ctx)
        Generated method - Getter of the Address.company attribute.
        Returns:
        the company
      • getCompany

        public java.lang.String getCompany()
        Generated method - Getter of the Address.company attribute.
        Returns:
        the company
      • setCompany

        public void setCompany​(SessionContext ctx,
                               java.lang.String value)
        Generated method - Setter of the Address.company attribute.
        Parameters:
        value - the company
      • setCompany

        public void setCompany​(java.lang.String value)
        Generated method - Setter of the Address.company attribute.
        Parameters:
        value - the company
      • getCountry

        public Country getCountry​(SessionContext ctx)
        Generated method - Getter of the Address.country attribute.
        Returns:
        the country
      • getCountry

        public Country getCountry()
        Generated method - Getter of the Address.country attribute.
        Returns:
        the country
      • setCountry

        public void setCountry​(SessionContext ctx,
                               Country value)
        Generated method - Setter of the Address.country attribute.
        Parameters:
        value - the country
      • setCountry

        public void setCountry​(Country value)
        Generated method - Setter of the Address.country attribute.
        Parameters:
        value - the country
      • createItem

        protected Item createItem​(SessionContext ctx,
                                  ComposedType type,
                                  Item.ItemAttributeMap allAttributes)
                           throws JaloBusinessException
        Description copied from class: Item
        Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

        In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
        Sn example:

        
         public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
         ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
         man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
         // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
         SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
         super.getNonInitialAttributes( ctx, allAttributes );
         // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
        
         
        Overrides:
        createItem in class GenericItem
        Parameters:
        ctx - the current session context which this item is created within
        type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
        Returns:
        the new item instance
        Throws:
        JaloBusinessException - indicates an error during creation - any changes will be rollbacked
      • getDateOfBirth

        public java.util.Date getDateOfBirth​(SessionContext ctx)
        Generated method - Getter of the Address.dateOfBirth attribute.
        Returns:
        the dateOfBirth
      • getDateOfBirth

        public java.util.Date getDateOfBirth()
        Generated method - Getter of the Address.dateOfBirth attribute.
        Returns:
        the dateOfBirth
      • setDateOfBirth

        public void setDateOfBirth​(SessionContext ctx,
                                   java.util.Date value)
        Generated method - Setter of the Address.dateOfBirth attribute.
        Parameters:
        value - the dateOfBirth
      • setDateOfBirth

        public void setDateOfBirth​(java.util.Date value)
        Generated method - Setter of the Address.dateOfBirth attribute.
        Parameters:
        value - the dateOfBirth
      • getDepartment

        public java.lang.String getDepartment​(SessionContext ctx)
        Generated method - Getter of the Address.department attribute.
        Returns:
        the department
      • getDepartment

        public java.lang.String getDepartment()
        Generated method - Getter of the Address.department attribute.
        Returns:
        the department
      • setDepartment

        public void setDepartment​(SessionContext ctx,
                                  java.lang.String value)
        Generated method - Setter of the Address.department attribute.
        Parameters:
        value - the department
      • setDepartment

        public void setDepartment​(java.lang.String value)
        Generated method - Setter of the Address.department attribute.
        Parameters:
        value - the department
      • getDistrict

        public java.lang.String getDistrict​(SessionContext ctx)
        Generated method - Getter of the Address.district attribute.
        Returns:
        the district
      • getDistrict

        public java.lang.String getDistrict()
        Generated method - Getter of the Address.district attribute.
        Returns:
        the district
      • setDistrict

        public void setDistrict​(SessionContext ctx,
                                java.lang.String value)
        Generated method - Setter of the Address.district attribute.
        Parameters:
        value - the district
      • setDistrict

        public void setDistrict​(java.lang.String value)
        Generated method - Setter of the Address.district attribute.
        Parameters:
        value - the district
      • isDuplicate

        public java.lang.Boolean isDuplicate​(SessionContext ctx)
        Generated method - Getter of the Address.duplicate attribute.
        Returns:
        the duplicate
      • isDuplicate

        public java.lang.Boolean isDuplicate()
        Generated method - Getter of the Address.duplicate attribute.
        Returns:
        the duplicate
      • isDuplicateAsPrimitive

        public boolean isDuplicateAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the Address.duplicate attribute.
        Returns:
        the duplicate
      • isDuplicateAsPrimitive

        public boolean isDuplicateAsPrimitive()
        Generated method - Getter of the Address.duplicate attribute.
        Returns:
        the duplicate
      • setDuplicate

        public void setDuplicate​(SessionContext ctx,
                                 java.lang.Boolean value)
        Generated method - Setter of the Address.duplicate attribute.
        Parameters:
        value - the duplicate
      • setDuplicate

        public void setDuplicate​(java.lang.Boolean value)
        Generated method - Setter of the Address.duplicate attribute.
        Parameters:
        value - the duplicate
      • setDuplicate

        public void setDuplicate​(SessionContext ctx,
                                 boolean value)
        Generated method - Setter of the Address.duplicate attribute.
        Parameters:
        value - the duplicate
      • setDuplicate

        public void setDuplicate​(boolean value)
        Generated method - Setter of the Address.duplicate attribute.
        Parameters:
        value - the duplicate
      • getEmail

        public java.lang.String getEmail​(SessionContext ctx)
        Generated method - Getter of the Address.email attribute.
        Returns:
        the email
      • getEmail

        public java.lang.String getEmail()
        Generated method - Getter of the Address.email attribute.
        Returns:
        the email
      • setEmail

        public void setEmail​(SessionContext ctx,
                             java.lang.String value)
        Generated method - Setter of the Address.email attribute.
        Parameters:
        value - the email
      • setEmail

        public void setEmail​(java.lang.String value)
        Generated method - Setter of the Address.email attribute.
        Parameters:
        value - the email
      • getFax

        public java.lang.String getFax​(SessionContext ctx)
        Generated method - Getter of the Address.fax attribute.
        Returns:
        the fax
      • getFax

        public java.lang.String getFax()
        Generated method - Getter of the Address.fax attribute.
        Returns:
        the fax
      • setFax

        public void setFax​(SessionContext ctx,
                           java.lang.String value)
        Generated method - Setter of the Address.fax attribute.
        Parameters:
        value - the fax
      • setFax

        public void setFax​(java.lang.String value)
        Generated method - Setter of the Address.fax attribute.
        Parameters:
        value - the fax
      • getFirstname

        public java.lang.String getFirstname​(SessionContext ctx)
        Generated method - Getter of the Address.firstname attribute.
        Returns:
        the firstname
      • getFirstname

        public java.lang.String getFirstname()
        Generated method - Getter of the Address.firstname attribute.
        Returns:
        the firstname
      • setFirstname

        public void setFirstname​(SessionContext ctx,
                                 java.lang.String value)
        Generated method - Setter of the Address.firstname attribute.
        Parameters:
        value - the firstname
      • setFirstname

        public void setFirstname​(java.lang.String value)
        Generated method - Setter of the Address.firstname attribute.
        Parameters:
        value - the firstname
      • getGender

        public EnumerationValue getGender​(SessionContext ctx)
        Generated method - Getter of the Address.gender attribute.
        Returns:
        the gender
      • getGender

        public EnumerationValue getGender()
        Generated method - Getter of the Address.gender attribute.
        Returns:
        the gender
      • setGender

        public void setGender​(SessionContext ctx,
                              EnumerationValue value)
        Generated method - Setter of the Address.gender attribute.
        Parameters:
        value - the gender
      • setGender

        public void setGender​(EnumerationValue value)
        Generated method - Setter of the Address.gender attribute.
        Parameters:
        value - the gender
      • getLastname

        public java.lang.String getLastname​(SessionContext ctx)
        Generated method - Getter of the Address.lastname attribute.
        Returns:
        the lastname
      • getLastname

        public java.lang.String getLastname()
        Generated method - Getter of the Address.lastname attribute.
        Returns:
        the lastname
      • setLastname

        public void setLastname​(SessionContext ctx,
                                java.lang.String value)
        Generated method - Setter of the Address.lastname attribute.
        Parameters:
        value - the lastname
      • setLastname

        public void setLastname​(java.lang.String value)
        Generated method - Setter of the Address.lastname attribute.
        Parameters:
        value - the lastname
      • getMiddlename

        public java.lang.String getMiddlename​(SessionContext ctx)
        Generated method - Getter of the Address.middlename attribute.
        Returns:
        the middlename
      • getMiddlename

        public java.lang.String getMiddlename()
        Generated method - Getter of the Address.middlename attribute.
        Returns:
        the middlename
      • setMiddlename

        public void setMiddlename​(SessionContext ctx,
                                  java.lang.String value)
        Generated method - Setter of the Address.middlename attribute.
        Parameters:
        value - the middlename
      • setMiddlename

        public void setMiddlename​(java.lang.String value)
        Generated method - Setter of the Address.middlename attribute.
        Parameters:
        value - the middlename
      • getMiddlename2

        public java.lang.String getMiddlename2​(SessionContext ctx)
        Generated method - Getter of the Address.middlename2 attribute.
        Returns:
        the middlename2
      • getMiddlename2

        public java.lang.String getMiddlename2()
        Generated method - Getter of the Address.middlename2 attribute.
        Returns:
        the middlename2
      • setMiddlename2

        public void setMiddlename2​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the Address.middlename2 attribute.
        Parameters:
        value - the middlename2
      • setMiddlename2

        public void setMiddlename2​(java.lang.String value)
        Generated method - Setter of the Address.middlename2 attribute.
        Parameters:
        value - the middlename2
      • getOriginal

        public Address getOriginal​(SessionContext ctx)
        Generated method - Getter of the Address.original attribute.
        Returns:
        the original
      • getOriginal

        public Address getOriginal()
        Generated method - Getter of the Address.original attribute.
        Returns:
        the original
      • setOriginal

        protected void setOriginal​(SessionContext ctx,
                                   Address value)
        Generated method - Setter of the Address.original attribute.
        Parameters:
        value - the original
      • setOriginal

        protected void setOriginal​(Address value)
        Generated method - Setter of the Address.original attribute.
        Parameters:
        value - the original
      • getPhone1

        public java.lang.String getPhone1​(SessionContext ctx)
        Generated method - Getter of the Address.phone1 attribute.
        Returns:
        the phone1
      • getPhone1

        public java.lang.String getPhone1()
        Generated method - Getter of the Address.phone1 attribute.
        Returns:
        the phone1
      • setPhone1

        public void setPhone1​(SessionContext ctx,
                              java.lang.String value)
        Generated method - Setter of the Address.phone1 attribute.
        Parameters:
        value - the phone1
      • setPhone1

        public void setPhone1​(java.lang.String value)
        Generated method - Setter of the Address.phone1 attribute.
        Parameters:
        value - the phone1
      • getPhone2

        public java.lang.String getPhone2​(SessionContext ctx)
        Generated method - Getter of the Address.phone2 attribute.
        Returns:
        the phone2
      • getPhone2

        public java.lang.String getPhone2()
        Generated method - Getter of the Address.phone2 attribute.
        Returns:
        the phone2
      • setPhone2

        public void setPhone2​(SessionContext ctx,
                              java.lang.String value)
        Generated method - Setter of the Address.phone2 attribute.
        Parameters:
        value - the phone2
      • setPhone2

        public void setPhone2​(java.lang.String value)
        Generated method - Setter of the Address.phone2 attribute.
        Parameters:
        value - the phone2
      • getPobox

        public java.lang.String getPobox​(SessionContext ctx)
        Generated method - Getter of the Address.pobox attribute.
        Returns:
        the pobox
      • getPobox

        public java.lang.String getPobox()
        Generated method - Getter of the Address.pobox attribute.
        Returns:
        the pobox
      • setPobox

        public void setPobox​(SessionContext ctx,
                             java.lang.String value)
        Generated method - Setter of the Address.pobox attribute.
        Parameters:
        value - the pobox
      • setPobox

        public void setPobox​(java.lang.String value)
        Generated method - Setter of the Address.pobox attribute.
        Parameters:
        value - the pobox
      • getPostalcode

        public java.lang.String getPostalcode​(SessionContext ctx)
        Generated method - Getter of the Address.postalcode attribute.
        Returns:
        the postalcode
      • getPostalcode

        public java.lang.String getPostalcode()
        Generated method - Getter of the Address.postalcode attribute.
        Returns:
        the postalcode
      • setPostalcode

        public void setPostalcode​(SessionContext ctx,
                                  java.lang.String value)
        Generated method - Setter of the Address.postalcode attribute.
        Parameters:
        value - the postalcode
      • setPostalcode

        public void setPostalcode​(java.lang.String value)
        Generated method - Setter of the Address.postalcode attribute.
        Parameters:
        value - the postalcode
      • getRegion

        public Region getRegion​(SessionContext ctx)
        Generated method - Getter of the Address.region attribute.
        Returns:
        the region
      • getRegion

        public Region getRegion()
        Generated method - Getter of the Address.region attribute.
        Returns:
        the region
      • setRegion

        public void setRegion​(SessionContext ctx,
                              Region value)
        Generated method - Setter of the Address.region attribute.
        Parameters:
        value - the region
      • setRegion

        public void setRegion​(Region value)
        Generated method - Setter of the Address.region attribute.
        Parameters:
        value - the region
      • getStreetname

        public java.lang.String getStreetname​(SessionContext ctx)
        Generated method - Getter of the Address.streetname attribute.
        Returns:
        the streetname
      • getStreetname

        public java.lang.String getStreetname()
        Generated method - Getter of the Address.streetname attribute.
        Returns:
        the streetname
      • setStreetname

        public void setStreetname​(SessionContext ctx,
                                  java.lang.String value)
        Generated method - Setter of the Address.streetname attribute.
        Parameters:
        value - the streetname
      • setStreetname

        public void setStreetname​(java.lang.String value)
        Generated method - Setter of the Address.streetname attribute.
        Parameters:
        value - the streetname
      • getStreetnumber

        public java.lang.String getStreetnumber​(SessionContext ctx)
        Generated method - Getter of the Address.streetnumber attribute.
        Returns:
        the streetnumber
      • getStreetnumber

        public java.lang.String getStreetnumber()
        Generated method - Getter of the Address.streetnumber attribute.
        Returns:
        the streetnumber
      • setStreetnumber

        public void setStreetnumber​(SessionContext ctx,
                                    java.lang.String value)
        Generated method - Setter of the Address.streetnumber attribute.
        Parameters:
        value - the streetnumber
      • setStreetnumber

        public void setStreetnumber​(java.lang.String value)
        Generated method - Setter of the Address.streetnumber attribute.
        Parameters:
        value - the streetnumber
      • getTitle

        public Title getTitle​(SessionContext ctx)
        Generated method - Getter of the Address.title attribute.
        Returns:
        the title
      • getTitle

        public Title getTitle()
        Generated method - Getter of the Address.title attribute.
        Returns:
        the title
      • setTitle

        public void setTitle​(SessionContext ctx,
                             Title value)
        Generated method - Setter of the Address.title attribute.
        Parameters:
        value - the title
      • setTitle

        public void setTitle​(Title value)
        Generated method - Setter of the Address.title attribute.
        Parameters:
        value - the title
      • getTown

        public java.lang.String getTown​(SessionContext ctx)
        Generated method - Getter of the Address.town attribute.
        Returns:
        the town
      • getTown

        public java.lang.String getTown()
        Generated method - Getter of the Address.town attribute.
        Returns:
        the town
      • setTown

        public void setTown​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the Address.town attribute.
        Parameters:
        value - the town
      • setTown

        public void setTown​(java.lang.String value)
        Generated method - Setter of the Address.town attribute.
        Parameters:
        value - the town