Class GeneratedSAPPlantLogSysOrg

    • Constructor Detail

      • GeneratedSAPPlantLogSysOrg

        public GeneratedSAPPlantLogSysOrg()
    • Method Detail

      • 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
      • getLogSys

        public SAPLogicalSystem getLogSys​(SessionContext ctx)
        Generated method - Getter of the SAPPlantLogSysOrg.logSys attribute.
        Returns:
        the logSys - SAP Logical System
      • getLogSys

        public SAPLogicalSystem getLogSys()
        Generated method - Getter of the SAPPlantLogSysOrg.logSys attribute.
        Returns:
        the logSys - SAP Logical System
      • setLogSys

        public void setLogSys​(SessionContext ctx,
                              SAPLogicalSystem value)
        Generated method - Setter of the SAPPlantLogSysOrg.logSys attribute.
        Parameters:
        value - the logSys - SAP Logical System
      • setLogSys

        public void setLogSys​(SAPLogicalSystem value)
        Generated method - Setter of the SAPPlantLogSysOrg.logSys attribute.
        Parameters:
        value - the logSys - SAP Logical System
      • getPlant

        public Warehouse getPlant​(SessionContext ctx)
        Generated method - Getter of the SAPPlantLogSysOrg.plant attribute.
        Returns:
        the plant - Warehouse
      • getPlant

        public Warehouse getPlant()
        Generated method - Getter of the SAPPlantLogSysOrg.plant attribute.
        Returns:
        the plant - Warehouse
      • setPlant

        public void setPlant​(SessionContext ctx,
                             Warehouse value)
        Generated method - Setter of the SAPPlantLogSysOrg.plant attribute.
        Parameters:
        value - the plant - Warehouse
      • setPlant

        public void setPlant​(Warehouse value)
        Generated method - Setter of the SAPPlantLogSysOrg.plant attribute.
        Parameters:
        value - the plant - Warehouse
      • getSalesOrg

        public SAPSalesOrganization getSalesOrg​(SessionContext ctx)
        Generated method - Getter of the SAPPlantLogSysOrg.salesOrg attribute.
        Returns:
        the salesOrg - SAP Sales Organization
      • getSalesOrg

        public SAPSalesOrganization getSalesOrg()
        Generated method - Getter of the SAPPlantLogSysOrg.salesOrg attribute.
        Returns:
        the salesOrg - SAP Sales Organization
      • setSalesOrg

        public void setSalesOrg​(SessionContext ctx,
                                SAPSalesOrganization value)
        Generated method - Setter of the SAPPlantLogSysOrg.salesOrg attribute.
        Parameters:
        value - the salesOrg - SAP Sales Organization
      • setSalesOrg

        public void setSalesOrg​(SAPSalesOrganization value)
        Generated method - Setter of the SAPPlantLogSysOrg.salesOrg attribute.
        Parameters:
        value - the salesOrg - SAP Sales Organization
      • getSapConfiguration

        public SAPConfiguration getSapConfiguration​(SessionContext ctx)
        Generated method - Getter of the SAPPlantLogSysOrg.sapConfiguration attribute.
        Returns:
        the sapConfiguration
      • getSapConfiguration

        public SAPConfiguration getSapConfiguration()
        Generated method - Getter of the SAPPlantLogSysOrg.sapConfiguration attribute.
        Returns:
        the sapConfiguration
      • setSapConfiguration

        public void setSapConfiguration​(SessionContext ctx,
                                        SAPConfiguration value)
        Generated method - Setter of the SAPPlantLogSysOrg.sapConfiguration attribute.
        Parameters:
        value - the sapConfiguration
      • setSapConfiguration

        public void setSapConfiguration​(SAPConfiguration value)
        Generated method - Setter of the SAPPlantLogSysOrg.sapConfiguration attribute.
        Parameters:
        value - the sapConfiguration
      • getWarehouses

        public java.util.Collection<Warehouse> getWarehouses​(SessionContext ctx)
        Generated method - Getter of the SAPPlantLogSysOrg.warehouses attribute.
        Returns:
        the warehouses
      • getWarehouses

        public java.util.Collection<Warehouse> getWarehouses()
        Generated method - Getter of the SAPPlantLogSysOrg.warehouses attribute.
        Returns:
        the warehouses
      • setWarehouses

        public void setWarehouses​(SessionContext ctx,
                                  java.util.Collection<Warehouse> value)
        Generated method - Setter of the SAPPlantLogSysOrg.warehouses attribute.
        Parameters:
        value - the warehouses
      • setWarehouses

        public void setWarehouses​(java.util.Collection<Warehouse> value)
        Generated method - Setter of the SAPPlantLogSysOrg.warehouses attribute.
        Parameters:
        value - the warehouses
      • addToWarehouses

        public void addToWarehouses​(SessionContext ctx,
                                    Warehouse value)
        Generated method - Adds value to warehouses.
        Parameters:
        value - the item to add to warehouses
      • addToWarehouses

        public void addToWarehouses​(Warehouse value)
        Generated method - Adds value to warehouses.
        Parameters:
        value - the item to add to warehouses
      • removeFromWarehouses

        public void removeFromWarehouses​(SessionContext ctx,
                                         Warehouse value)
        Generated method - Removes value from warehouses.
        Parameters:
        value - the item to remove from warehouses
      • removeFromWarehouses

        public void removeFromWarehouses​(Warehouse value)
        Generated method - Removes value from warehouses.
        Parameters:
        value - the item to remove from warehouses