Class GeneratedAdvancedShippingNotice

    • Constructor Detail

      • GeneratedAdvancedShippingNotice

        public GeneratedAdvancedShippingNotice()
    • Method Detail

      • getAsnEntries

        public java.util.List<AdvancedShippingNoticeEntry> getAsnEntries​(SessionContext ctx)
        Generated method - Getter of the AdvancedShippingNotice.asnEntries attribute.
        Returns:
        the asnEntries
      • getAsnEntries

        public java.util.List<AdvancedShippingNoticeEntry> getAsnEntries()
        Generated method - Getter of the AdvancedShippingNotice.asnEntries attribute.
        Returns:
        the asnEntries
      • setAsnEntries

        public void setAsnEntries​(SessionContext ctx,
                                  java.util.List<AdvancedShippingNoticeEntry> value)
        Generated method - Setter of the AdvancedShippingNotice.asnEntries attribute.
        Parameters:
        value - the asnEntries
      • setAsnEntries

        public void setAsnEntries​(java.util.List<AdvancedShippingNoticeEntry> value)
        Generated method - Setter of the AdvancedShippingNotice.asnEntries attribute.
        Parameters:
        value - the asnEntries
      • addToAsnEntries

        public void addToAsnEntries​(AdvancedShippingNoticeEntry value)
        Generated method - Adds value to asnEntries.
        Parameters:
        value - the item to add to asnEntries
      • removeFromAsnEntries

        public void removeFromAsnEntries​(SessionContext ctx,
                                         AdvancedShippingNoticeEntry value)
        Generated method - Removes value from asnEntries.
        Parameters:
        value - the item to remove from asnEntries
      • removeFromAsnEntries

        public void removeFromAsnEntries​(AdvancedShippingNoticeEntry value)
        Generated method - Removes value from asnEntries.
        Parameters:
        value - the item to remove from asnEntries
      • 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
      • getExternalId

        public java.lang.String getExternalId​(SessionContext ctx)
        Generated method - Getter of the AdvancedShippingNotice.externalId attribute.
        Returns:
        the externalId - ASN id coming from external provider
      • getExternalId

        public java.lang.String getExternalId()
        Generated method - Getter of the AdvancedShippingNotice.externalId attribute.
        Returns:
        the externalId - ASN id coming from external provider
      • setExternalId

        public void setExternalId​(SessionContext ctx,
                                  java.lang.String value)
        Generated method - Setter of the AdvancedShippingNotice.externalId attribute.
        Parameters:
        value - the externalId - ASN id coming from external provider
      • setExternalId

        public void setExternalId​(java.lang.String value)
        Generated method - Setter of the AdvancedShippingNotice.externalId attribute.
        Parameters:
        value - the externalId - ASN id coming from external provider
      • getInternalId

        public java.lang.String getInternalId​(SessionContext ctx)
        Generated method - Getter of the AdvancedShippingNotice.internalId attribute.
        Returns:
        the internalId - Internal ASN id which is generated by NumberSeries
      • getInternalId

        public java.lang.String getInternalId()
        Generated method - Getter of the AdvancedShippingNotice.internalId attribute.
        Returns:
        the internalId - Internal ASN id which is generated by NumberSeries
      • setInternalId

        public void setInternalId​(SessionContext ctx,
                                  java.lang.String value)
        Generated method - Setter of the AdvancedShippingNotice.internalId attribute.
        Parameters:
        value - the internalId - Internal ASN id which is generated by NumberSeries
      • setInternalId

        public void setInternalId​(java.lang.String value)
        Generated method - Setter of the AdvancedShippingNotice.internalId attribute.
        Parameters:
        value - the internalId - Internal ASN id which is generated by NumberSeries
      • getPointOfService

        public PointOfService getPointOfService​(SessionContext ctx)
        Generated method - Getter of the AdvancedShippingNotice.pointOfService attribute.
        Returns:
        the pointOfService
      • getPointOfService

        public PointOfService getPointOfService()
        Generated method - Getter of the AdvancedShippingNotice.pointOfService attribute.
        Returns:
        the pointOfService
      • setPointOfService

        public void setPointOfService​(SessionContext ctx,
                                      PointOfService value)
        Generated method - Setter of the AdvancedShippingNotice.pointOfService attribute.
        Parameters:
        value - the pointOfService
      • setPointOfService

        public void setPointOfService​(PointOfService value)
        Generated method - Setter of the AdvancedShippingNotice.pointOfService attribute.
        Parameters:
        value - the pointOfService
      • getReleaseDate

        public java.util.Date getReleaseDate​(SessionContext ctx)
        Generated method - Getter of the AdvancedShippingNotice.releaseDate attribute.
        Returns:
        the releaseDate - Release date for asn entries
      • getReleaseDate

        public java.util.Date getReleaseDate()
        Generated method - Getter of the AdvancedShippingNotice.releaseDate attribute.
        Returns:
        the releaseDate - Release date for asn entries
      • setReleaseDate

        public void setReleaseDate​(SessionContext ctx,
                                   java.util.Date value)
        Generated method - Setter of the AdvancedShippingNotice.releaseDate attribute.
        Parameters:
        value - the releaseDate - Release date for asn entries
      • setReleaseDate

        public void setReleaseDate​(java.util.Date value)
        Generated method - Setter of the AdvancedShippingNotice.releaseDate attribute.
        Parameters:
        value - the releaseDate - Release date for asn entries
      • getStatus

        public EnumerationValue getStatus​(SessionContext ctx)
        Generated method - Getter of the AdvancedShippingNotice.status attribute.
        Returns:
        the status - Determines the status of given ASN
      • getStatus

        public EnumerationValue getStatus()
        Generated method - Getter of the AdvancedShippingNotice.status attribute.
        Returns:
        the status - Determines the status of given ASN
      • setStatus

        public void setStatus​(SessionContext ctx,
                              EnumerationValue value)
        Generated method - Setter of the AdvancedShippingNotice.status attribute.
        Parameters:
        value - the status - Determines the status of given ASN
      • setStatus

        public void setStatus​(EnumerationValue value)
        Generated method - Setter of the AdvancedShippingNotice.status attribute.
        Parameters:
        value - the status - Determines the status of given ASN
      • getWarehouse

        public Warehouse getWarehouse​(SessionContext ctx)
        Generated method - Getter of the AdvancedShippingNotice.warehouse attribute.
        Returns:
        the warehouse
      • getWarehouse

        public Warehouse getWarehouse()
        Generated method - Getter of the AdvancedShippingNotice.warehouse attribute.
        Returns:
        the warehouse
      • setWarehouse

        public void setWarehouse​(SessionContext ctx,
                                 Warehouse value)
        Generated method - Setter of the AdvancedShippingNotice.warehouse attribute.
        Parameters:
        value - the warehouse
      • setWarehouse

        public void setWarehouse​(Warehouse value)
        Generated method - Setter of the AdvancedShippingNotice.warehouse attribute.
        Parameters:
        value - the warehouse