Package com.projity.pm.key

Examples of com.projity.pm.key.HasKeyImpl


  private Project(boolean local) {
    super();
    // get the appropriate subproject handler
    initSubprojectHandler();
    hasKey =new HasKeyImpl(local,this);
    setWorkCalendar(CalendarService.getInstance().getDefaultInstance());

    start = CalendarOption.getInstance().makeValidStart(DateTime.midnightToday(), true);
    start = getEffectiveWorkCalendar().adjustInsideCalendar(start,false);
    end = start;
View Full Code Here


  private Project(boolean local) {
    super();
    // get the appropriate subproject handler
    initSubprojectHandler();
    hasKey =new HasKeyImpl(local,this);
    setWorkCalendar(CalendarService.getInstance().getDefaultInstance());

    start = CalendarOption.getInstance().makeValidStart(DateTime.midnightToday(), true);
    start = getEffectiveWorkCalendar().adjustInsideCalendar(start,false);
    end = start;
View Full Code Here

  }

  public Object clone(){
    try {
      Assignment a=(Assignment)super.clone();
      a.hasKey=new HasKeyImpl(true,a);
      a.setName(getName());
//      barClosureInstance = new BarClosure();
      a.detail=(AssignmentDetail)detail.clone();
      return a;
    } catch (CloneNotSupportedException e) {
View Full Code Here

  public EnterpriseResource(ResourcePool resourcePool) {
    this(resourcePool==null||resourcePool.isLocal(),resourcePool);
  }
  public EnterpriseResource(boolean local,ResourcePool resourcePool) {
    hasKey = new HasKeyImpl(local,this);
    this.resourcePool = resourcePool;
    if (resourcePool != null) {
      workCalendar = WorkingCalendar.getInstanceBasedOn(resourcePool.getDefaultCalendar());
      workCalendar.setName("");
    }
View Full Code Here

  }

  public Object clone(){
    try {
      EnterpriseResource resource=(EnterpriseResource)super.clone();
      resource.hasKey=new HasKeyImpl(isLocal()&&Environment.getStandAlone(),resource);
      resource.setName(new String(getName()));
      if (notes!=null) resource.notes = new String(notes);
      if (group!=null)resource.group = new String(group);
      if (group!=null)resource.initials = new String(initials);
      if (phonetics!=null)resource.phonetics = new String(phonetics);
View Full Code Here

  public Task() {
    this(true);
  }
  public Task(boolean local) {
    hasKey = new HasKeyImpl(local,this);
    currentSchedule = new TaskSchedule();
    initializeTransientTaskObjects();
  }
View Full Code Here

    owningProject=null;
    project=null;
  }

  private void _cloneTo(Task task){
    task.hasKey=new HasKeyImpl(isLocal()&&Environment.getStandAlone(),task);
    task.setName(new String(getName()));
    task.setRawDuration(getRawDuration());

    task.earlySchedule=(TaskSchedule)earlySchedule.cloneWithTask(task);
    task.lateSchedule=(TaskSchedule)lateSchedule.cloneWithTask(task);
View Full Code Here

TOP

Related Classes of com.projity.pm.key.HasKeyImpl

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.