package com.voce.sktucc.mh.mif2.bean;
import java.util.Date;
public class UtsJob2 {
private Integer jobid;
private String srcpath;
private String dstpath;
private String vcodec = new String("vp6");
private String vsize;
private String vwidth = new String("400");
private String vheight = new String("304");
private Integer vfps = new Integer(15);
private Integer vbitrate = new Integer(400);
private String acodec = new String("mp3");
private Integer asample = new Integer(44100);
private Integer abitrate = new Integer(48);
private String callback;
private String assigned;
private Date registered;
private Date started;
private Date ended;
private Integer srcsize = new Integer(0);
private Integer dstsize = new Integer(0);
private Integer svccode = new Integer(0);
private Integer encerror = new Integer(0);
private Integer playtime = new Integer(0);
private Integer curtime = new Integer(0);
private String cookie;
private Integer called;
private String reporturl;
private Integer canceljob;
private String uniqueid;
private String resultExtract = null;
private Integer snaps;
private String snapspath;
private String width = new String("400");;
private String height = new String("304");;
private Integer result;
private String status; // Media Interface¿¡¼ÀÇ »óÅÂ(unassigned, doing, done, failed)
private int error; // Media Interface or Xcodd¿¡¼ ¹æ»ýÇÑ Error
public String getCookie() {
return cookie;
}
public void setCookie(String cookie) {
if(cookie == null || cookie.equals(""))
{
return;
}
this.cookie = cookie;
}
public Integer getAbitrate() {
return abitrate == null ? new Integer(0) : abitrate;
}
public String getAcodec() {
return acodec == null ? new String("") : acodec;
}
public Integer getAsample() {
return asample == null ? new Integer(0) : asample;
}
public String getAssigned() {
return assigned == null ? new String("") : assigned;
}
public String getCallback() {
return callback;
}
public String getReporturl() {
return reporturl;
}
public String getDstpath() {
return dstpath == null ? new String("") : dstpath;
}
public Integer getDstsize() {
return dstsize == null ? new Integer(0) : dstsize;
}
public Date getEnded() {
return ended;
}
public Integer getJobid() {
return jobid == null ? new Integer(-1) : jobid;
}
public Date getRegistered() {
return registered;
}
public String getSrcpath() {
return srcpath == null ? new String("") : srcpath;
}
public Integer getSrcsize() {
return srcsize == null ? new Integer(0) : srcsize;
}
public Date getStarted() {
return started;
}
public Integer getVbitrate() {
return vbitrate == null ? new Integer(0) : vbitrate;
}
public String getVcodec() {
return vcodec == null ? new String("") : vcodec;
}
public Integer getVfps() {
return vfps == null ? new Integer(0) : vfps;
}
public String getVsize() {
return vsize == null ? new String("") : vsize;
}
public void setAbitrate(Integer abitrate) {
this.abitrate = ( abitrate == null ? new Integer(0) : abitrate);
}
public void setAbitrateString(String abitrate) {
if(abitrate == null || abitrate.equals(""))
{
return;
}
this.abitrate = new Integer(abitrate);
}
public void setAcodec(String acodec) {
if(acodec == null || acodec.equals(""))
{
return;
}
this.acodec = acodec;
}
public void setAsample(Integer asample) {
this.asample = ( asample == null ? new Integer(0) : asample);
}
public void setAsampleString(String asample) {
if(asample == null || asample.equals(""))
{
return;
}
this.asample = new Integer(asample);
}
public void setAssigned(String assigned) {
this.assigned = assigned == null ? new String("") : assigned;
}
public void setCallback(String callback) {
if(callback == null || callback.equals(""))
{
return;
}
this.callback = callback;
}
public void setReporturl(String reporturl) {
if(reporturl == null || reporturl.equals(""))
{
return;
}
this.reporturl = reporturl;
}
public void setDstpath(String dstpath) {
this.dstpath = dstpath;
}
public void setDstsize(Integer dstsize) {
this.dstsize = ( dstsize == null ? new Integer(0) : dstsize);
}
public void setEnded(Date ended) {
this.ended = ended;
}
public void setJobid(Integer jobid) {
this.jobid = ( jobid == null ? new Integer(0) : jobid);
}
public void setRegistered(Date registered) {
this.registered = registered;
}
public void setSrcpath(String srcpath) {
this.srcpath = srcpath;
}
public void setSrcsize(Integer srcsize) {
this.srcsize = ( srcsize == null ? new Integer(0) : srcsize);
}
public void setStarted(Date started) {
this.started = started;
}
public void setVbitrate(Integer vbitrate) {
this.vbitrate = ( vbitrate == null ? new Integer(0) : vbitrate);
}
public void setVbitrateString(String vbitrate) {
if(vbitrate == null || vbitrate.equals(""))
{
return;
}
this.vbitrate = new Integer(vbitrate);
}
public void setVcodec(String vcodec) {
if(vcodec == null || vcodec.equals(""))
{
return;
}
this.vcodec = vcodec;
}
public void setVfps(Integer vfps) {
this.vfps = ( vfps == null ? new Integer(0) : vfps);
}
public void setVfpsString(String vfps) {
if(vfps == null || vfps.equals(""))
{
return;
}
this.vfps = new Integer(vfps);
}
public void setVsize(String vsize) {
this.vsize = vsize == null ? new String("") : vsize;
}
public Integer getEncerror() {
return (encerror == null || encerror.intValue() < 0) ? new Integer(0) : encerror;
}
public void setEncerror(Integer encerror) {
this.encerror = encerror == null ? new Integer(0) : encerror;
}
public Integer getSvccode() {
return svccode == null ? new Integer(0) : svccode;
}
public void setSvccode(Integer svccode) {
this.svccode = svccode == null ? new Integer(0) : svccode;
}
public Integer getPlaytime() {
return playtime == null ? new Integer(0) : playtime;
}
public void setPlaytime(Integer playtime) {
this.playtime = playtime == null ? new Integer(0) : playtime;
}
public Integer getCurtime() {
return curtime == null ? new Integer(0) : curtime;
}
public void setCurtime(Integer curtime) {
this.curtime = curtime == null ? new Integer(0) : curtime;
}
public Integer getCalled() {
return called == null ? new Integer(0) : called;
}
public void setCalled(Integer called) {
this.called = called;
}
public String getVheight() {
return vheight == null ? new String("") : vheight;
}
public void setVheight(String vheight) {
if(vheight == null || vheight.equals(""))
{
return;
}
this.vheight = vheight;
}
public String getVwidth() {
return vwidth == null ? new String("") : vwidth;
}
public void setVwidth(String vwidth) {
if(vwidth == null || vwidth.equals(""))
{
return;
}
this.vwidth = vwidth;
}
public int getError() {
return error;
}
public void setError(int error) {
this.error = error;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
/**
* Constructs a String
with all attributes
* in name = value format.
*
* @return a String
representation
* of this object.
*/
public String toString()
{
final String TAB = " ";
String retValue = "";
retValue = "UtsJob ( "
+ super.toString() + TAB
+ "jobid = " + this.jobid + TAB
+ "srcpath = " + this.srcpath + TAB
+ "dstpath = " + this.dstpath + TAB
+ "vcodec = " + this.vcodec + TAB
+ "vsize = " + this.vsize + TAB
+ "vwidth = " + this.vwidth + TAB
+ "vheight = " + this.vheight + TAB
+ "vfps = " + this.vfps + TAB
+ "vbitrate = " + this.vbitrate + TAB
+ "acodec = " + this.acodec + TAB
+ "asample = " + this.asample + TAB
+ "abitrate = " + this.abitrate + TAB
+ "callback = " + this.callback + TAB
+ "assigned = " + this.assigned + TAB
+ "registered = " + this.registered + TAB
+ "started = " + this.started + TAB
+ "ended = " + this.ended + TAB
+ "srcsize = " + this.srcsize + TAB
+ "dstsize = " + this.dstsize + TAB
+ "svccode = " + this.svccode + TAB
+ "encerror = " + this.encerror + TAB
+ "playtime = " + this.playtime + TAB
+ "curtime = " + this.curtime + TAB
+ "cookie = " + this.cookie + TAB
+ "called = " + this.called + TAB
+ "status = " + this.status + TAB
+ "error = " + this.error + TAB
+ "reporturl = " + this.reporturl + TAB
+ " )";
return retValue;
}
public Integer getCanceljob()
{
return canceljob;
}
public void setCanceljob(Integer canceljob)
{
this.canceljob = canceljob;
}
public String getUniqueid()
{
return uniqueid;
}
public void setUniqueid(String uniqueid)
{
this.uniqueid = uniqueid;
}
public String getResultExtract()
{
return resultExtract;
}
public void setResultExtract(String resultExtract)
{
this.resultExtract = resultExtract;
}
public Integer getSnaps()
{
return snaps;
}
public void setSnaps(Integer snaps)
{
this.snaps = snaps;
}
public String getSnapspath()
{
return snapspath;
}
public void setSnapspath(String snapspath)
{
this.snapspath = snapspath;
}
public String getHeight()
{
return height;
}
public void setHeight(String height)
{
if(height == null)
{
return;
}
this.height = height;
}
public String getWidth()
{
return width;
}
public void setWidth(String width)
{
if(width == null)
{
return;
}
this.width = width;
}
public Integer getResult()
{
return result;
}
public void setResult(Integer result)
{
this.result = result;
}
}