Package com.projity.pm.assignment

Examples of com.projity.pm.assignment.HasAssignmentsImpl


  public void setCurrentSchedule(TaskSchedule currentSchedule) {
    this.currentSchedule = currentSchedule;
  }
  public HasAssignments getHasAssignments() {
    if (hasAssignments == null) // lazy instantiation
      hasAssignments = new HasAssignmentsImpl();
    return hasAssignments;
  }
View Full Code Here


  public TaskSnapshot() {
  }


  public TaskSnapshot(Collection details) {
    hasAssignments=new HasAssignmentsImpl(details);
  }
View Full Code Here

  public static TaskSnapshot deserialize(ObjectInputStream s,NormalTask hasAssignments) throws IOException, ClassNotFoundException  {
      TaskSnapshot t=new TaskSnapshot();
      TaskSchedule schedule=TaskSchedule.deserialize(s);
      schedule.setTask(hasAssignments);
      t.setCurrentSchedule(schedule);
      t.hasAssignments=new HasAssignmentsImpl();//(HasAssignments)s.readObject();
     
      t.setFixedCost(s.readDouble());
      t.setFixedCostAccrual(s.readInt());
      t.setIgnoreResourceCalendar(s.readBoolean());
    
View Full Code Here

        customFields=CustomFieldsImpl.deserialize(s);
      } catch (java.io.OptionalDataException e) {
        // to ensure compatibilty with old files
        customFields = new CustomFieldsImpl();
      }
    hasAssignments = new HasAssignmentsImpl();
      if (version>=2){
        hasAssignments.setSchedulingType(s.readInt());
        hasAssignments.setEffortDriven(s.readBoolean());
        availabilityTable=AvailabilityTable.deserialize(s);
      }else availabilityTable=new AvailabilityTable(null);
View Full Code Here

TOP

Related Classes of com.projity.pm.assignment.HasAssignmentsImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.