Ignore:
Timestamp:
07/15/13 16:46:00 (12 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/dcworms/schedframe/scheduling/utils/JobDescription.java

    r490 r1130  
    1212import schedframe.DescriptionContainer; 
    1313 
    14 import org.qcg.broker.schemas.jobdesc.QcgJob; 
    1514 
    16  
    17 public class JobDescription extends ArrayList<TaskDescription> implements DescriptionContainer<QcgJob>{ 
     15public class JobDescription extends ArrayList<TaskDescription> implements DescriptionContainer<org.qcg.broker.schemas.jobdesc.Job>{ 
    1816 
    1917        private static final long serialVersionUID = 7853990656207447619L; 
     
    2220                XMLContext context = new XMLContext(); 
    2321                try { 
    24                         context.addClass(org.qcg.broker.schemas.jobdesc.QcgJob.class); 
     22                        context.addClass(org.qcg.broker.schemas.jobdesc.Job.class); 
    2523                        unmarshaller = context.createUnmarshaller(); 
    2624                } catch (ResolverException e) { 
     
    3129         
    3230        protected String xml; 
    33         protected QcgJob job; 
     31        protected org.qcg.broker.schemas.jobdesc.Job job; 
    3432        protected String jobId; 
    3533         
     
    5452        } 
    5553         
    56         public QcgJob getDescription() { 
     54        public org.qcg.broker.schemas.jobdesc.Job getDescription() { 
    5755                if(job == null){ 
    5856                        try { 
    59                                 job = (QcgJob) unmarshaller.unmarshal(new StringReader(xml)); 
     57                                job = (org.qcg.broker.schemas.jobdesc.Job) unmarshaller.unmarshal(new StringReader(xml)); 
    6058                        } catch (MarshalException e) { 
    6159                                e.printStackTrace(); 
Note: See TracChangeset for help on using the changeset viewer.