public class BGServerFile extends java.lang.Object implements Contractable, Idable, java.lang.Cloneable
Constructor and Description |
---|
BGServerFile() |
Modifier and Type | Method and Description |
---|---|
BGServerFile |
clone() |
static void |
fromJSON(org.json.JSONObject jsonObject,
BGServerFile bgServerFile) |
java.lang.String |
getComment() |
int |
getContractId()
Возвращает код договора к которому привязан объект.
|
java.util.Date |
getDate() |
int |
getId()
Возвращает id объекта
|
int |
getOwnerId() |
long |
getSize() |
java.lang.String |
getTitle() |
int |
getUserId() |
void |
setComment(java.lang.String comment) |
void |
setContractId(int contractId)
Устанавливает код договора к которому привязан объект.
|
void |
setDate(java.util.Date date) |
void |
setId(int id) |
void |
setOwnerId(int ownerId) |
void |
setSize(long size) |
void |
setTitle(java.lang.String title) |
void |
setUserId(int userId) |
static void |
toJSON(BGServerFile bgServerFile,
org.json.JSONObject jsonObject) |
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public java.util.Date getDate()
public void setDate(java.util.Date date)
public int getOwnerId()
public void setOwnerId(int ownerId)
public int getId()
Idable
public void setId(int id)
public long getSize()
public void setSize(long size)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public int getUserId()
public void setUserId(int userId)
public int getContractId()
Contractable
getContractId
in interface Contractable
public void setContractId(int contractId)
Contractable
setContractId
in interface Contractable
contractId
- код договораpublic BGServerFile clone()
clone
in class java.lang.Object
public static void toJSON(BGServerFile bgServerFile, org.json.JSONObject jsonObject)
public static void fromJSON(org.json.JSONObject jsonObject, BGServerFile bgServerFile)