@Entity public class Transport extends BaseEntity implements java.io.Serializable
Constructor and Description |
---|
Transport() |
Modifier and Type | Method and Description |
---|---|
Recipient |
addRecipient(Recipient recipient)
Adds recipient to array.
|
Sender |
addSender(Sender sender)
Adds sender to array.
|
Document |
getDokument()
Returns the dokument.
|
java.util.List<Recipient> |
getRecipients()
Returns the recipients.
|
java.util.List<Sender> |
getSenders()
Returns the senders.
|
java.sql.Timestamp |
getSendingEnd()
Returns the sendingEnd.
|
java.sql.Timestamp |
getSendingStart()
Returns the sendingStart.
|
java.lang.Integer |
getStatusId()
Returns the statusId.
|
java.lang.Integer |
getTransportId()
Returns the transportId.
|
Sender |
removeSender(Sender sender)
Removes sender from array.
|
Recipient |
removeVastuvotja(Recipient recipient)
Removes recipient from array.
|
void |
setDokument(Document dokument)
Sets the dokument.
|
void |
setRecipients(java.util.List<Recipient> recipients)
Sets the recipients.
|
void |
setSenders(java.util.List<Sender> senders)
Sets the senders.
|
void |
setSendingEnd(java.sql.Timestamp sendingEnd)
Sets the sendingEnd.
|
void |
setSendingStart(java.sql.Timestamp sendingStart)
Sets the sendingStart.
|
void |
setStatusId(java.lang.Integer statusId)
Sets the statusId.
|
void |
setTransportId(java.lang.Integer transportId)
Sets the transportId.
|
java.lang.String |
toString() |
beforeInsert, beforeUpdate, getDateCreated, getDateModified, getVersion, setDateCreated, setDateModified, setVersion
public Sender addSender(Sender sender)
sender
- sender to addpublic Sender removeSender(Sender sender)
sender
- sender to removepublic Recipient addRecipient(Recipient recipient)
recipient
- recipient to addpublic Recipient removeVastuvotja(Recipient recipient)
recipient
- recipient to removepublic java.lang.Integer getTransportId()
public void setTransportId(java.lang.Integer transportId)
transportId
- the transportId to setpublic java.sql.Timestamp getSendingStart()
public void setSendingStart(java.sql.Timestamp sendingStart)
sendingStart
- the sendingStart to setpublic java.sql.Timestamp getSendingEnd()
public void setSendingEnd(java.sql.Timestamp sendingEnd)
sendingEnd
- the sendingEnd to setpublic java.util.List<Sender> getSenders()
public void setSenders(java.util.List<Sender> senders)
senders
- the senders to setpublic Document getDokument()
public void setDokument(Document dokument)
dokument
- the dokument to setpublic java.lang.Integer getStatusId()
public void setStatusId(java.lang.Integer statusId)
statusId
- the statusId to setpublic java.util.List<Recipient> getRecipients()
public void setRecipients(java.util.List<Recipient> recipients)
recipients
- the recipients to setpublic java.lang.String toString()
toString
in class java.lang.Object