net.sf.mpxj
Class SubProject

java.lang.Object
  extended by net.sf.mpxj.SubProject

public final class SubProject
extends Object

This class represents a sub project.


Constructor Summary
SubProject()
           
 
Method Summary
 void addExternalTaskUniqueID(Integer externalTaskUniqueID)
          This package-private method is used to add external task unique id.
 List<Integer> getAllExternalTaskUniqueIDs()
          Retrieves all the external task unique ids for this MPX file.
 String getDosFileName()
          Retrieves the DOS file name.
 String getDosFullPath()
          Retrieves the DOS full path.
 String getFileName()
          Retrieve the file name.
 String getFullPath()
          Retrieve the full path.
 Integer getTaskUniqueID()
          Retrieve the unique ID of the task to which this subproject relates.
 Integer getUniqueIDOffset()
          Retrieves the offset applied to task unique IDs from the sub project.
 boolean isExternalTask(Integer taskUniqueID)
          Check to see if the given task is an external task from this subproject.
 void setDosFileName(String dosFileName)
          Sets the DOS file name.
 void setDosFullPath(String dosFullPath)
          Sets the DOS full path.
 void setFileName(String fileName)
          Sets the file name.
 void setFullPath(String fullPath)
          Sets the full path.
 void setTaskUniqueID(Integer taskUniqueID)
          Set the unique ID of the task to which this subproject relates.
 void setUniqueIDOffset(Integer uniqueIDOffset)
          Set the the offset applied to task unique IDs from the sub project.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubProject

public SubProject()
Method Detail

getDosFileName

public String getDosFileName()
Retrieves the DOS file name.

Returns:
DOS file name

setDosFileName

public void setDosFileName(String dosFileName)
Sets the DOS file name.

Parameters:
dosFileName - DOS file name

getDosFullPath

public String getDosFullPath()
Retrieves the DOS full path.

Returns:
DOS full path

setDosFullPath

public void setDosFullPath(String dosFullPath)
Sets the DOS full path.

Parameters:
dosFullPath - DOS full path

getFileName

public String getFileName()
Retrieve the file name.

Returns:
file name

setFileName

public void setFileName(String fileName)
Sets the file name.

Parameters:
fileName - file name

getFullPath

public String getFullPath()
Retrieve the full path.

Returns:
full path

setFullPath

public void setFullPath(String fullPath)
Sets the full path.

Parameters:
fullPath - full path

getUniqueIDOffset

public Integer getUniqueIDOffset()
Retrieves the offset applied to task unique IDs from the sub project.

Returns:
unique ID offset

setUniqueIDOffset

public void setUniqueIDOffset(Integer uniqueIDOffset)
Set the the offset applied to task unique IDs from the sub project.

Parameters:
uniqueIDOffset - unique ID offset

getTaskUniqueID

public Integer getTaskUniqueID()
Retrieve the unique ID of the task to which this subproject relates.

Returns:
task Unique ID

setTaskUniqueID

public void setTaskUniqueID(Integer taskUniqueID)
Set the unique ID of the task to which this subproject relates.

Parameters:
taskUniqueID - task unique ID

isExternalTask

public boolean isExternalTask(Integer taskUniqueID)
Check to see if the given task is an external task from this subproject.

Parameters:
taskUniqueID - task unique ID
Returns:
true if the task is external

addExternalTaskUniqueID

public void addExternalTaskUniqueID(Integer externalTaskUniqueID)
This package-private method is used to add external task unique id.

Parameters:
externalTaskUniqueID - external task unique id

getAllExternalTaskUniqueIDs

public List<Integer> getAllExternalTaskUniqueIDs()
Retrieves all the external task unique ids for this MPX file.

Returns:
all sub project details

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.