net.sf.mpxj.mpx
Class MPXReader.DeferredRelationship

java.lang.Object
  extended by net.sf.mpxj.mpx.MPXReader.DeferredRelationship
Enclosing class:
MPXReader

protected static class MPXReader.DeferredRelationship
extends Object

This class is used to collect relationship data awaiting deferred processing. We do this to allow forward references between tasks.


Constructor Summary
protected MPXReader.DeferredRelationship()
           
 
Method Summary
 String getData()
          Retrieve the relationship data.
 TaskField getField()
          Retrieve the target task field.
 Task getTask()
          Retrieve the parent task.
 void setData(String data)
          Set the relationship data.
 void setField(TaskField field)
          Set the target task field.
 void setTask(Task task)
          Set the parent task instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MPXReader.DeferredRelationship

protected MPXReader.DeferredRelationship()
Method Detail

getTask

public Task getTask()
Retrieve the parent task.

Returns:
parent Task instance

setTask

public void setTask(Task task)
Set the parent task instance.

Parameters:
task - parent Task instance

getField

public TaskField getField()
Retrieve the target task field.

Returns:
TaskField instance

setField

public void setField(TaskField field)
Set the target task field.

Parameters:
field - TaskField instance

getData

public String getData()
Retrieve the relationship data.

Returns:
relationship data

setData

public void setData(String data)
Set the relationship data.

Parameters:
data - relationship data


Copyright © 2012. All Rights Reserved.