Class GeneratedPartnerAddress

    • Field Detail

      • PARTNERCODE

        public static final java.lang.String PARTNERCODE
        Qualifier of the PartnerAddress.partnerCode attribute
        See Also:
        Constant Field Values
      • PARTNERFUNCTION

        public static final java.lang.String PARTNERFUNCTION
        Qualifier of the PartnerAddress.partnerFunction attribute
        See Also:
        Constant Field Values
      • PARTNER

        public static final java.lang.String PARTNER
        Qualifier of the PartnerAddress.partner attribute
        See Also:
        Constant Field Values
      • STREETHOUSENUMBER1

        public static final java.lang.String STREETHOUSENUMBER1
        Qualifier of the PartnerAddress.streetHouseNumber1 attribute
        See Also:
        Constant Field Values
      • STREETHOUSENUMBER2

        public static final java.lang.String STREETHOUSENUMBER2
        Qualifier of the PartnerAddress.streetHouseNumber2 attribute
        See Also:
        Constant Field Values
      • POBOX

        public static final java.lang.String POBOX
        Qualifier of the PartnerAddress.poBox attribute
        See Also:
        Constant Field Values
      • CITY

        public static final java.lang.String CITY
        Qualifier of the PartnerAddress.city attribute
        See Also:
        Constant Field Values
      • COUNTRYCODE

        public static final java.lang.String COUNTRYCODE
        Qualifier of the PartnerAddress.countryCode attribute
        See Also:
        Constant Field Values
      • POSTALCODE

        public static final java.lang.String POSTALCODE
        Qualifier of the PartnerAddress.postalCode attribute
        See Also:
        Constant Field Values
      • POBOXPOSTALCODE

        public static final java.lang.String POBOXPOSTALCODE
        Qualifier of the PartnerAddress.poBoxPostalCode attribute
        See Also:
        Constant Field Values
      • COUNTRYKEY

        public static final java.lang.String COUNTRYKEY
        Qualifier of the PartnerAddress.countryKey attribute
        See Also:
        Constant Field Values
      • SAPB2BDOCUMENT

        public static final java.lang.String SAPB2BDOCUMENT
        Qualifier of the PartnerAddress.sapB2BDocument 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

      • GeneratedPartnerAddress

        public GeneratedPartnerAddress()
    • Method Detail

      • getCity

        public java.lang.String getCity​(SessionContext ctx)
        Generated method - Getter of the PartnerAddress.city attribute.
        Returns:
        the city - Partner City
      • getCity

        public java.lang.String getCity()
        Generated method - Getter of the PartnerAddress.city attribute.
        Returns:
        the city - Partner City
      • setCity

        public void setCity​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the PartnerAddress.city attribute.
        Parameters:
        value - the city - Partner City
      • setCity

        public void setCity​(java.lang.String value)
        Generated method - Setter of the PartnerAddress.city attribute.
        Parameters:
        value - the city - Partner City
      • getCountryCode

        public java.lang.String getCountryCode​(SessionContext ctx)
        Generated method - Getter of the PartnerAddress.countryCode attribute.
        Returns:
        the countryCode - Partner Country Code
      • getCountryCode

        public java.lang.String getCountryCode()
        Generated method - Getter of the PartnerAddress.countryCode attribute.
        Returns:
        the countryCode - Partner Country Code
      • setCountryCode

        public void setCountryCode​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the PartnerAddress.countryCode attribute.
        Parameters:
        value - the countryCode - Partner Country Code
      • setCountryCode

        public void setCountryCode​(java.lang.String value)
        Generated method - Setter of the PartnerAddress.countryCode attribute.
        Parameters:
        value - the countryCode - Partner Country Code
      • getCountryKey

        public java.lang.String getCountryKey​(SessionContext ctx)
        Generated method - Getter of the PartnerAddress.countryKey attribute.
        Returns:
        the countryKey - Partner Country Key
      • getCountryKey

        public java.lang.String getCountryKey()
        Generated method - Getter of the PartnerAddress.countryKey attribute.
        Returns:
        the countryKey - Partner Country Key
      • setCountryKey

        public void setCountryKey​(SessionContext ctx,
                                  java.lang.String value)
        Generated method - Setter of the PartnerAddress.countryKey attribute.
        Parameters:
        value - the countryKey - Partner Country Key
      • setCountryKey

        public void setCountryKey​(java.lang.String value)
        Generated method - Setter of the PartnerAddress.countryKey attribute.
        Parameters:
        value - the countryKey - Partner Country Key
      • 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
      • getPartner

        public java.lang.String getPartner​(SessionContext ctx)
        Generated method - Getter of the PartnerAddress.partner attribute.
        Returns:
        the partner - Partner Number
      • getPartner

        public java.lang.String getPartner()
        Generated method - Getter of the PartnerAddress.partner attribute.
        Returns:
        the partner - Partner Number
      • setPartner

        public void setPartner​(SessionContext ctx,
                               java.lang.String value)
        Generated method - Setter of the PartnerAddress.partner attribute.
        Parameters:
        value - the partner - Partner Number
      • setPartner

        public void setPartner​(java.lang.String value)
        Generated method - Setter of the PartnerAddress.partner attribute.
        Parameters:
        value - the partner - Partner Number
      • getPartnerCode

        public java.lang.String getPartnerCode​(SessionContext ctx)
        Generated method - Getter of the PartnerAddress.partnerCode attribute.
        Returns:
        the partnerCode - Partner Function
      • getPartnerCode

        public java.lang.String getPartnerCode()
        Generated method - Getter of the PartnerAddress.partnerCode attribute.
        Returns:
        the partnerCode - Partner Function
      • setPartnerCode

        public void setPartnerCode​(SessionContext ctx,
                                   java.lang.String value)
        Generated method - Setter of the PartnerAddress.partnerCode attribute.
        Parameters:
        value - the partnerCode - Partner Function
      • setPartnerCode

        public void setPartnerCode​(java.lang.String value)
        Generated method - Setter of the PartnerAddress.partnerCode attribute.
        Parameters:
        value - the partnerCode - Partner Function
      • getPartnerFunction

        public java.lang.String getPartnerFunction​(SessionContext ctx)
        Generated method - Getter of the PartnerAddress.partnerFunction attribute.
        Returns:
        the partnerFunction - Partner Function
      • getPartnerFunction

        public java.lang.String getPartnerFunction()
        Generated method - Getter of the PartnerAddress.partnerFunction attribute.
        Returns:
        the partnerFunction - Partner Function
      • setPartnerFunction

        public void setPartnerFunction​(SessionContext ctx,
                                       java.lang.String value)
        Generated method - Setter of the PartnerAddress.partnerFunction attribute.
        Parameters:
        value - the partnerFunction - Partner Function
      • setPartnerFunction

        public void setPartnerFunction​(java.lang.String value)
        Generated method - Setter of the PartnerAddress.partnerFunction attribute.
        Parameters:
        value - the partnerFunction - Partner Function
      • getPoBox

        public java.lang.String getPoBox​(SessionContext ctx)
        Generated method - Getter of the PartnerAddress.poBox attribute.
        Returns:
        the poBox - Partner PO BOX
      • getPoBox

        public java.lang.String getPoBox()
        Generated method - Getter of the PartnerAddress.poBox attribute.
        Returns:
        the poBox - Partner PO BOX
      • setPoBox

        public void setPoBox​(SessionContext ctx,
                             java.lang.String value)
        Generated method - Setter of the PartnerAddress.poBox attribute.
        Parameters:
        value - the poBox - Partner PO BOX
      • setPoBox

        public void setPoBox​(java.lang.String value)
        Generated method - Setter of the PartnerAddress.poBox attribute.
        Parameters:
        value - the poBox - Partner PO BOX
      • getPoBoxPostalCode

        public java.lang.String getPoBoxPostalCode​(SessionContext ctx)
        Generated method - Getter of the PartnerAddress.poBoxPostalCode attribute.
        Returns:
        the poBoxPostalCode - Partner poBoxPostalCode
      • getPoBoxPostalCode

        public java.lang.String getPoBoxPostalCode()
        Generated method - Getter of the PartnerAddress.poBoxPostalCode attribute.
        Returns:
        the poBoxPostalCode - Partner poBoxPostalCode
      • setPoBoxPostalCode

        public void setPoBoxPostalCode​(SessionContext ctx,
                                       java.lang.String value)
        Generated method - Setter of the PartnerAddress.poBoxPostalCode attribute.
        Parameters:
        value - the poBoxPostalCode - Partner poBoxPostalCode
      • setPoBoxPostalCode

        public void setPoBoxPostalCode​(java.lang.String value)
        Generated method - Setter of the PartnerAddress.poBoxPostalCode attribute.
        Parameters:
        value - the poBoxPostalCode - Partner poBoxPostalCode
      • getPostalCode

        public java.lang.String getPostalCode​(SessionContext ctx)
        Generated method - Getter of the PartnerAddress.postalCode attribute.
        Returns:
        the postalCode - Partner Postal Code
      • getPostalCode

        public java.lang.String getPostalCode()
        Generated method - Getter of the PartnerAddress.postalCode attribute.
        Returns:
        the postalCode - Partner Postal Code
      • setPostalCode

        public void setPostalCode​(SessionContext ctx,
                                  java.lang.String value)
        Generated method - Setter of the PartnerAddress.postalCode attribute.
        Parameters:
        value - the postalCode - Partner Postal Code
      • setPostalCode

        public void setPostalCode​(java.lang.String value)
        Generated method - Setter of the PartnerAddress.postalCode attribute.
        Parameters:
        value - the postalCode - Partner Postal Code
      • getSapB2BDocument

        public SapB2BDocument getSapB2BDocument​(SessionContext ctx)
        Generated method - Getter of the PartnerAddress.sapB2BDocument attribute.
        Returns:
        the sapB2BDocument
      • getSapB2BDocument

        public SapB2BDocument getSapB2BDocument()
        Generated method - Getter of the PartnerAddress.sapB2BDocument attribute.
        Returns:
        the sapB2BDocument
      • setSapB2BDocument

        public void setSapB2BDocument​(SessionContext ctx,
                                      SapB2BDocument value)
        Generated method - Setter of the PartnerAddress.sapB2BDocument attribute.
        Parameters:
        value - the sapB2BDocument
      • setSapB2BDocument

        public void setSapB2BDocument​(SapB2BDocument value)
        Generated method - Setter of the PartnerAddress.sapB2BDocument attribute.
        Parameters:
        value - the sapB2BDocument
      • getStreetHouseNumber1

        public java.lang.String getStreetHouseNumber1​(SessionContext ctx)
        Generated method - Getter of the PartnerAddress.streetHouseNumber1 attribute.
        Returns:
        the streetHouseNumber1 - Partner Street House Number 1
      • getStreetHouseNumber1

        public java.lang.String getStreetHouseNumber1()
        Generated method - Getter of the PartnerAddress.streetHouseNumber1 attribute.
        Returns:
        the streetHouseNumber1 - Partner Street House Number 1
      • setStreetHouseNumber1

        public void setStreetHouseNumber1​(SessionContext ctx,
                                          java.lang.String value)
        Generated method - Setter of the PartnerAddress.streetHouseNumber1 attribute.
        Parameters:
        value - the streetHouseNumber1 - Partner Street House Number 1
      • setStreetHouseNumber1

        public void setStreetHouseNumber1​(java.lang.String value)
        Generated method - Setter of the PartnerAddress.streetHouseNumber1 attribute.
        Parameters:
        value - the streetHouseNumber1 - Partner Street House Number 1
      • getStreetHouseNumber2

        public java.lang.String getStreetHouseNumber2​(SessionContext ctx)
        Generated method - Getter of the PartnerAddress.streetHouseNumber2 attribute.
        Returns:
        the streetHouseNumber2 - Partner Street House Number 2
      • getStreetHouseNumber2

        public java.lang.String getStreetHouseNumber2()
        Generated method - Getter of the PartnerAddress.streetHouseNumber2 attribute.
        Returns:
        the streetHouseNumber2 - Partner Street House Number 2
      • setStreetHouseNumber2

        public void setStreetHouseNumber2​(SessionContext ctx,
                                          java.lang.String value)
        Generated method - Setter of the PartnerAddress.streetHouseNumber2 attribute.
        Parameters:
        value - the streetHouseNumber2 - Partner Street House Number 2
      • setStreetHouseNumber2

        public void setStreetHouseNumber2​(java.lang.String value)
        Generated method - Setter of the PartnerAddress.streetHouseNumber2 attribute.
        Parameters:
        value - the streetHouseNumber2 - Partner Street House Number 2