Package com.sgs.common.database
Class Transfer
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.Transfer
-
public class Transfer extends HibernateObject
This class details a Transfer order between locations or facilities Transfers can be used to schedule stock movements- Author:
- SGSystems
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Transfer.TransferStatus
The current status of the transfer through the process
-
Field Summary
Fields Modifier and Type Field Description OrderInformation
carrier
The carrier for the goodsjava.lang.String
comment
Any additional comments for the transfer orderUser
createdBy
TheUser
who created this Transferjava.util.Date
createdDate
The date this transfer order was createdjava.util.Date
deliveryDate
int
directTransfer
Boolean signal whether the order should directly ship and receive in one action.java.lang.String
externalID
The External ID used by third party applicationAddress
fromAddress
The Address where the goods will be departingLocation
fromLocation
The production location from which the goods will be departingjava.util.Date
postingDate
The date that this order postedjava.lang.String
reference
*Primary Key* This is the unique reference number for the Transferjava.util.Date
shipmentDate
The date this order was shippedint
status
The status of the order.Address
toAddress
The Address where the goods will be arrivingLocation
toLocation
The production location to which the goods will arriveTrailer
trailer
The trailer (to be/which this order was) transferred onjava.util.List<TransferLine>
transferLines
The Transfer lines associated with this transfer-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description Transfer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrderInformation
getCarrier()
java.lang.String
getComment()
User
getCreatedBy()
java.util.Date
getCreatedDate()
java.util.Date
getDeliveryDate()
int
getDirectTransfer()
java.lang.String
getExternalID()
Address
getFromAddress()
Location
getFromLocation()
java.util.Date
getPostingDate()
java.lang.String
getReference()
java.util.Date
getShipmentDate()
int
getStatus()
Transfer.TransferStatus
getStatusEnum()
Address
getToAddress()
Location
getToLocation()
Trailer
getTrailer()
java.util.List<TransferLine>
getTransferLines()
boolean
isSelected()
void
setCarrier(OrderInformation carrier)
void
setComment(java.lang.String comment)
void
setCreatedBy(User createdBy)
void
setCreatedDate(java.util.Date createdDate)
void
setDeliveryDate(java.util.Date deliveryDate)
void
setDirectTransfer(int directTransfer)
void
setExternalID(java.lang.String externalID)
void
setFromAddress(Address fromAddress)
void
setFromLocation(Location fromLocation)
void
setPostingDate(java.util.Date postingDate)
void
setReference(java.lang.String reference)
void
setSelected(boolean selected)
void
setShipmentDate(java.util.Date shipmentDate)
void
setStatus(int status)
void
setStatusEnum(Transfer.TransferStatus status)
void
setToAddress(Address toAddress)
void
setToLocation(Location toLocation)
void
setTrailer(Trailer trailer)
void
setTransferLines(java.util.List<TransferLine> transferLines)
-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
reference
public java.lang.String reference
*Primary Key* This is the unique reference number for the Transfer
-
fromAddress
public Address fromAddress
The Address where the goods will be departing
-
toAddress
public Address toAddress
The Address where the goods will be arriving
-
fromLocation
public Location fromLocation
The production location from which the goods will be departing
-
toLocation
public Location toLocation
The production location to which the goods will arrive
-
createdDate
public java.util.Date createdDate
The date this transfer order was created
-
shipmentDate
public java.util.Date shipmentDate
The date this order was shipped
-
postingDate
public java.util.Date postingDate
The date that this order posted
-
status
public int status
The status of the order. SeeTransfer.TransferStatus
-
comment
public java.lang.String comment
Any additional comments for the transfer order
-
carrier
public OrderInformation carrier
The carrier for the goods
-
trailer
public Trailer trailer
The trailer (to be/which this order was) transferred on
-
transferLines
public java.util.List<TransferLine> transferLines
The Transfer lines associated with this transfer
-
directTransfer
public int directTransfer
Boolean signal whether the order should directly ship and receive in one action. Useful if no receipt tablet is present at destination facility
-
externalID
public java.lang.String externalID
The External ID used by third party application
-
deliveryDate
public java.util.Date deliveryDate
-
-
Method Detail
-
getStatusEnum
public Transfer.TransferStatus getStatusEnum()
-
getReference
public java.lang.String getReference()
-
setReference
public void setReference(java.lang.String reference)
-
getFromLocation
public Location getFromLocation()
-
setFromLocation
public void setFromLocation(Location fromLocation)
-
getToLocation
public Location getToLocation()
-
setToLocation
public void setToLocation(Location toLocation)
-
getCreatedDate
public java.util.Date getCreatedDate()
-
setCreatedDate
public void setCreatedDate(java.util.Date createdDate)
-
getShipmentDate
public java.util.Date getShipmentDate()
-
setShipmentDate
public void setShipmentDate(java.util.Date shipmentDate)
-
getPostingDate
public java.util.Date getPostingDate()
-
setPostingDate
public void setPostingDate(java.util.Date postingDate)
-
getStatus
public int getStatus()
-
setStatus
public void setStatus(int status)
-
getComment
public java.lang.String getComment()
-
setComment
public void setComment(java.lang.String comment)
-
getFromAddress
public Address getFromAddress()
-
setFromAddress
public void setFromAddress(Address fromAddress)
-
getToAddress
public Address getToAddress()
-
setToAddress
public void setToAddress(Address toAddress)
-
setStatusEnum
public void setStatusEnum(Transfer.TransferStatus status)
-
getCarrier
public OrderInformation getCarrier()
-
setCarrier
public void setCarrier(OrderInformation carrier)
-
isSelected
public boolean isSelected()
-
setSelected
public void setSelected(boolean selected)
-
getTrailer
public Trailer getTrailer()
-
setTrailer
public void setTrailer(Trailer trailer)
-
getTransferLines
public java.util.List<TransferLine> getTransferLines()
-
setTransferLines
public void setTransferLines(java.util.List<TransferLine> transferLines)
-
getDirectTransfer
public int getDirectTransfer()
-
setDirectTransfer
public void setDirectTransfer(int directTransfer)
-
getExternalID
public java.lang.String getExternalID()
-
setExternalID
public void setExternalID(java.lang.String externalID)
-
getCreatedBy
public User getCreatedBy()
-
setCreatedBy
public void setCreatedBy(User createdBy)
-
getDeliveryDate
public java.util.Date getDeliveryDate()
-
setDeliveryDate
public void setDeliveryDate(java.util.Date deliveryDate)
-
-