Back to index

nordugrid-arc-nox  1.1.0~rc6
JobIdentificationType.java
Go to the documentation of this file.
00001 /* ----------------------------------------------------------------------------
00002  * This file was automatically generated by SWIG (http://www.swig.org).
00003  * Version 1.3.36
00004  *
00005  * Do not make changes to this file unless you know what you are doing--modify
00006  * the SWIG interface file instead.
00007  * ----------------------------------------------------------------------------- */
00008 
00009 package nordugrid.arc;
00010 
00011 public class JobIdentificationType {
00012   private long swigCPtr;
00013   protected boolean swigCMemOwn;
00014 
00015   protected JobIdentificationType(long cPtr, boolean cMemoryOwn) {
00016     swigCMemOwn = cMemoryOwn;
00017     swigCPtr = cPtr;
00018   }
00019 
00020   protected static long getCPtr(JobIdentificationType obj) {
00021     return (obj == null) ? 0 : obj.swigCPtr;
00022   }
00023 
00024   public synchronized void delete() {
00025     if(swigCPtr != 0 && swigCMemOwn) {
00026       swigCMemOwn = false;
00027       throw new UnsupportedOperationException("C++ destructor does not have public access");
00028     }
00029     swigCPtr = 0;
00030   }
00031 
00032   public JobIdentificationType() {
00033     this(arcJNI.new_JobIdentificationType(), true);
00034   }
00035 
00036   public void setJobName(String value) {
00037     arcJNI.JobIdentificationType_JobName_set(swigCPtr, this, value);
00038   }
00039 
00040   public String getJobName() {
00041     return arcJNI.JobIdentificationType_JobName_get(swigCPtr, this);
00042   }
00043 
00044   public void setDescription(String value) {
00045     arcJNI.JobIdentificationType_Description_set(swigCPtr, this, value);
00046   }
00047 
00048   public String getDescription() {
00049     return arcJNI.JobIdentificationType_Description_get(swigCPtr, this);
00050   }
00051 
00052   public void setJobVOName(String value) {
00053     arcJNI.JobIdentificationType_JobVOName_set(swigCPtr, this, value);
00054   }
00055 
00056   public String getJobVOName() {
00057     return arcJNI.JobIdentificationType_JobVOName_get(swigCPtr, this);
00058   }
00059 
00060   public void setJobType(ComputingActivityType value) {
00061     arcJNI.JobIdentificationType_JobType_set(swigCPtr, this, value.swigValue());
00062   }
00063 
00064   public ComputingActivityType getJobType() {
00065     return ComputingActivityType.swigToEnum(arcJNI.JobIdentificationType_JobType_get(swigCPtr, this));
00066   }
00067 
00068   public void setUserTag(StringList value) {
00069     arcJNI.JobIdentificationType_UserTag_set(swigCPtr, this, StringList.getCPtr(value), value);
00070   }
00071 
00072   public StringList getUserTag() {
00073     long cPtr = arcJNI.JobIdentificationType_UserTag_get(swigCPtr, this);
00074     return (cPtr == 0) ? null : new StringList(cPtr, false);
00075   }
00076 
00077   public void setActivityOldId(StringList value) {
00078     arcJNI.JobIdentificationType_ActivityOldId_set(swigCPtr, this, StringList.getCPtr(value), value);
00079   }
00080 
00081   public StringList getActivityOldId() {
00082     long cPtr = arcJNI.JobIdentificationType_ActivityOldId_get(swigCPtr, this);
00083     return (cPtr == 0) ? null : new StringList(cPtr, false);
00084   }
00085 
00086 }