Class Location


  • @Entity
    public class Location
    extends HibernateObject
    This class represents a location Locations can be either Stock or Production dependent on Location.LocationType and can be categorized beyond that with category Locations can be physical racks, groups of locations, areas or just a logical grouping of terminals See how locations and terminals are linked with TerminalLocation
    Author:
    SGSystems
    • Field Detail

      • code

        public java.lang.String code
        *Primary Key* The unique location code
      • description

        public java.lang.String description
        A description for the location
      • x

        public java.lang.Integer x
        The X position of the location. Typically this would be a rack column
      • y

        public java.lang.Integer y
        The Y position of the location. Typically this would be a rack row
      • site

        public Site site
        The Site that this location belongs to
      • height

        public java.lang.Double height
        The physical height of the location
      • width

        public java.lang.Double width
        The physical width of the location
      • depth

        public java.lang.Double depth
        The physical depth of the location
      • distance

        public java.lang.String distance
        An alphanumeric distance rating from the dock doors. Not really used if Aisle, X and Y are used.
      • singleItemOnly

        public int singleItemOnly
        Boolean value indicates whether only one lot number or pallet may exist in this location
      • aisle

        public java.lang.Integer aisle
        The aisle on which this location lives
      • mixAllergens

        public int mixAllergens
        A boolean value to indicate whether this location allows allergens to mix
      • weightLimit

        public java.lang.Double weightLimit
        The maximum weight limit for the location
      • singleCommodityOnly

        public int singleCommodityOnly
        A boolean value to indicate whether only one commodity may be placed in this location. This will allow multiple lots/pallets but they must be of the same Commodity
      • unavailable

        public int unavailable
        Marker to denote whether location is currently unavailable
      • datafield1

        public java.lang.String datafield1
        A datafield for optional use, storage and label printing
      • datafield2

        public java.lang.String datafield2
        A datafield for optional use, storage and label printing
      • datafield3

        public java.lang.String datafield3
        A datafield for optional use, storage and label printing
      • bin

        public java.lang.Integer bin
        Bin location. Works in conjunction with aisle,x,y for fundamentally greater granularity
      • holdRestricted

        public int holdRestricted
        Signifies whether the location should warn or disallow pallets which are on hold
    • Constructor Detail

      • Location

        public Location()
    • Method Detail

      • getCode

        public java.lang.String getCode()
      • setCode

        public void setCode​(java.lang.String code)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getType

        public int getType()
      • setType

        public void setType​(int type)
      • getDeleted

        public java.util.Date getDeleted()
      • setDeleted

        public void setDeleted​(java.util.Date deleted)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getX

        public java.lang.Integer getX()
      • getY

        public java.lang.Integer getY()
      • setX

        public void setX​(java.lang.Integer x)
      • setY

        public void setY​(java.lang.Integer y)
      • getSite

        public Site getSite()
      • setSite

        public void setSite​(Site site)
      • getHeight

        public java.lang.Double getHeight()
      • getWidth

        public java.lang.Double getWidth()
      • getDepth

        public java.lang.Double getDepth()
      • setHeight

        public void setHeight​(java.lang.Double height)
      • setWidth

        public void setWidth​(java.lang.Double width)
      • setDepth

        public void setDepth​(java.lang.Double depth)
      • getDistance

        public java.lang.String getDistance()
      • setDistance

        public void setDistance​(java.lang.String distance)
      • getSingleItemOnly

        public int getSingleItemOnly()
      • setSingleItemOnly

        public void setSingleItemOnly​(int singleItemOnly)
      • getAisle

        public java.lang.Integer getAisle()
      • setAisle

        public void setAisle​(java.lang.Integer aisle)
      • getCategory

        public int getCategory()
      • setCategory

        public void setCategory​(int category)
      • getMixAllergens

        public int getMixAllergens()
      • setMixAllergens

        public void setMixAllergens​(int mixAllergens)
      • getWeightLimit

        public java.lang.Double getWeightLimit()
      • setWeightLimit

        public void setWeightLimit​(java.lang.Double weightLimit)
      • getSingleCommodityOnly

        public int getSingleCommodityOnly()
      • setSingleCommodityOnly

        public void setSingleCommodityOnly​(int singleCommodityOnly)
      • getUnavailable

        public int getUnavailable()
      • setUnavailable

        public void setUnavailable​(int unavailable)
      • getDatafield1

        public java.lang.String getDatafield1()
      • setDatafield1

        public void setDatafield1​(java.lang.String datafield1)
      • getDatafield2

        public java.lang.String getDatafield2()
      • setDatafield2

        public void setDatafield2​(java.lang.String datafield2)
      • getDatafield3

        public java.lang.String getDatafield3()
      • setDatafield3

        public void setDatafield3​(java.lang.String datafield3)
      • getBin

        public java.lang.Integer getBin()
      • setBin

        public void setBin​(java.lang.Integer bin)
      • getHoldRestricted

        public int getHoldRestricted()
      • setHoldRestricted

        public void setHoldRestricted​(int holdRestricted)
      • getGravRackShiftLocation

        public Location getGravRackShiftLocation()
      • setGravRackShiftLocation

        public void setGravRackShiftLocation​(Location gravRackShiftLocation)