Class GeneratedSAPReturnRequests

    • Field Detail

      • CODE

        public static final java.lang.String CODE
        Qualifier of the SAPReturnRequests.code attribute
        See Also:
        Constant Field Values
      • SAPRETURNREQUESTORDERSTATUS

        public static final java.lang.String SAPRETURNREQUESTORDERSTATUS
        Qualifier of the SAPReturnRequests.sapReturnRequestOrderStatus attribute
        See Also:
        Constant Field Values
      • CONSIGNMENTSENTRY

        public static final java.lang.String CONSIGNMENTSENTRY
        Qualifier of the SAPReturnRequests.consignmentsEntry attribute
        See Also:
        Constant Field Values
      • ISDELIVERED

        public static final java.lang.String ISDELIVERED
        Qualifier of the SAPReturnRequests.isDelivered attribute
        See Also:
        Constant Field Values
      • RETURNWAREHOUSE

        public static final java.lang.String RETURNWAREHOUSE
        Qualifier of the SAPReturnRequests.returnWarehouse attribute
        See Also:
        Constant Field Values
      • RETURNREQUESTPOS

        public static final java.lang.String RETURNREQUESTPOS
        Qualifier of the SAPReturnRequests.returnRequestPOS attribute
        See Also:
        Constant Field Values
      • RETURNREQUEST

        public static final java.lang.String RETURNREQUEST
        Qualifier of the SAPReturnRequests.returnRequest 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

      • GeneratedSAPReturnRequests

        public GeneratedSAPReturnRequests()
    • Method Detail

      • getCode

        public java.lang.String getCode​(SessionContext ctx)
        Generated method - Getter of the SAPReturnRequests.code attribute.
        Returns:
        the code - SAP Return Request Order Number
      • getCode

        public java.lang.String getCode()
        Generated method - Getter of the SAPReturnRequests.code attribute.
        Returns:
        the code - SAP Return Request Order Number
      • setCode

        public void setCode​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the SAPReturnRequests.code attribute.
        Parameters:
        value - the code - SAP Return Request Order Number
      • setCode

        public void setCode​(java.lang.String value)
        Generated method - Setter of the SAPReturnRequests.code attribute.
        Parameters:
        value - the code - SAP Return Request Order Number
      • getConsignmentsEntry

        public java.util.Set<ConsignmentEntry> getConsignmentsEntry​(SessionContext ctx)
        Generated method - Getter of the SAPReturnRequests.consignmentsEntry attribute.
        Returns:
        the consignmentsEntry
      • getConsignmentsEntry

        public java.util.Set<ConsignmentEntry> getConsignmentsEntry()
        Generated method - Getter of the SAPReturnRequests.consignmentsEntry attribute.
        Returns:
        the consignmentsEntry
      • setConsignmentsEntry

        public void setConsignmentsEntry​(SessionContext ctx,
                                         java.util.Set<ConsignmentEntry> value)
        Generated method - Setter of the SAPReturnRequests.consignmentsEntry attribute.
        Parameters:
        value - the consignmentsEntry
      • setConsignmentsEntry

        public void setConsignmentsEntry​(java.util.Set<ConsignmentEntry> value)
        Generated method - Setter of the SAPReturnRequests.consignmentsEntry attribute.
        Parameters:
        value - the consignmentsEntry
      • 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
      • isIsDelivered

        public java.lang.Boolean isIsDelivered​(SessionContext ctx)
        Generated method - Getter of the SAPReturnRequests.isDelivered attribute.
        Returns:
        the isDelivered
      • isIsDelivered

        public java.lang.Boolean isIsDelivered()
        Generated method - Getter of the SAPReturnRequests.isDelivered attribute.
        Returns:
        the isDelivered
      • isIsDeliveredAsPrimitive

        public boolean isIsDeliveredAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the SAPReturnRequests.isDelivered attribute.
        Returns:
        the isDelivered
      • isIsDeliveredAsPrimitive

        public boolean isIsDeliveredAsPrimitive()
        Generated method - Getter of the SAPReturnRequests.isDelivered attribute.
        Returns:
        the isDelivered
      • setIsDelivered

        public void setIsDelivered​(SessionContext ctx,
                                   java.lang.Boolean value)
        Generated method - Setter of the SAPReturnRequests.isDelivered attribute.
        Parameters:
        value - the isDelivered
      • setIsDelivered

        public void setIsDelivered​(java.lang.Boolean value)
        Generated method - Setter of the SAPReturnRequests.isDelivered attribute.
        Parameters:
        value - the isDelivered
      • setIsDelivered

        public void setIsDelivered​(SessionContext ctx,
                                   boolean value)
        Generated method - Setter of the SAPReturnRequests.isDelivered attribute.
        Parameters:
        value - the isDelivered
      • setIsDelivered

        public void setIsDelivered​(boolean value)
        Generated method - Setter of the SAPReturnRequests.isDelivered attribute.
        Parameters:
        value - the isDelivered
      • getReturnRequest

        public ReturnRequest getReturnRequest​(SessionContext ctx)
        Generated method - Getter of the SAPReturnRequests.returnRequest attribute.
        Returns:
        the returnRequest
      • getReturnRequest

        public ReturnRequest getReturnRequest()
        Generated method - Getter of the SAPReturnRequests.returnRequest attribute.
        Returns:
        the returnRequest
      • setReturnRequest

        public void setReturnRequest​(SessionContext ctx,
                                     ReturnRequest value)
        Generated method - Setter of the SAPReturnRequests.returnRequest attribute.
        Parameters:
        value - the returnRequest
      • setReturnRequest

        public void setReturnRequest​(ReturnRequest value)
        Generated method - Setter of the SAPReturnRequests.returnRequest attribute.
        Parameters:
        value - the returnRequest
      • getReturnWarehouse

        public Warehouse getReturnWarehouse​(SessionContext ctx)
        Generated method - Getter of the SAPReturnRequests.returnWarehouse attribute.
        Returns:
        the returnWarehouse - Determines the warehouse where the products need to be returned by the customer
      • getReturnWarehouse

        public Warehouse getReturnWarehouse()
        Generated method - Getter of the SAPReturnRequests.returnWarehouse attribute.
        Returns:
        the returnWarehouse - Determines the warehouse where the products need to be returned by the customer
      • setReturnWarehouse

        public void setReturnWarehouse​(SessionContext ctx,
                                       Warehouse value)
        Generated method - Setter of the SAPReturnRequests.returnWarehouse attribute.
        Parameters:
        value - the returnWarehouse - Determines the warehouse where the products need to be returned by the customer
      • setReturnWarehouse

        public void setReturnWarehouse​(Warehouse value)
        Generated method - Setter of the SAPReturnRequests.returnWarehouse attribute.
        Parameters:
        value - the returnWarehouse - Determines the warehouse where the products need to be returned by the customer
      • getSapReturnRequestOrderStatus

        public EnumerationValue getSapReturnRequestOrderStatus​(SessionContext ctx)
        Generated method - Getter of the SAPReturnRequests.sapReturnRequestOrderStatus attribute.
        Returns:
        the sapReturnRequestOrderStatus - Sap Return Request Order Status
      • getSapReturnRequestOrderStatus

        public EnumerationValue getSapReturnRequestOrderStatus()
        Generated method - Getter of the SAPReturnRequests.sapReturnRequestOrderStatus attribute.
        Returns:
        the sapReturnRequestOrderStatus - Sap Return Request Order Status
      • setSapReturnRequestOrderStatus

        public void setSapReturnRequestOrderStatus​(SessionContext ctx,
                                                   EnumerationValue value)
        Generated method - Setter of the SAPReturnRequests.sapReturnRequestOrderStatus attribute.
        Parameters:
        value - the sapReturnRequestOrderStatus - Sap Return Request Order Status
      • setSapReturnRequestOrderStatus

        public void setSapReturnRequestOrderStatus​(EnumerationValue value)
        Generated method - Setter of the SAPReturnRequests.sapReturnRequestOrderStatus attribute.
        Parameters:
        value - the sapReturnRequestOrderStatus - Sap Return Request Order Status