org.sourcejammer.project.controller
Class ProjectModification

java.lang.Object
  |
  +--org.sourcejammer.project.controller.ProjectModification

public class ProjectModification
extends java.lang.Object

This object contains info about properties of a ProjectNode that need to be changed. I use this object as a means of passing parameters to the synchronized projectChange() method, which ensures that a project will not simultaneously be modified by more than one process.


Field Summary
private  java.lang.Boolean mblnShared
           
private  int miPermanentlyDeleteChild
           
private  int miRestoreChild
           
private  ControllerNode mndAddChild
           
private  ProjectNode mndProjectParent
           
private  ControllerNode mndShareParent
           
private  java.lang.String msNodeName
           
private  java.lang.String msRemoveChildFile
           
private  java.lang.String msRemoveChildProject
           
private  java.lang.String msRestoreChildNewName
           
 
Constructor Summary
ProjectModification()
           
 
Method Summary
 ControllerNode getAddChild()
           
 java.lang.String getNodeName()
           
 int getPermanentlyDeleteChild()
           
 ProjectNode getProjectParent()
           
 java.lang.String getRemoveChildFile()
           
 java.lang.String getRemoveChildProject()
           
 int getRestoreChild()
           
 java.lang.String getRestoreChildNewName()
           
 java.lang.Boolean getShared()
           
 ControllerNode getShareParent()
           
 void setAddChild(ControllerNode nd)
           
 void setNodeName(java.lang.String s)
           
 void setPermanentlyDeleteChild(int i)
           
 void setProjectParent(ProjectNode nd)
           
 void setRemoveChildFile(java.lang.String s)
           
 void setRemoveChildProject(java.lang.String s)
           
 void setRestoreChild(int i)
           
 void setRestoreChildNewName(java.lang.String s)
           
 void setShared(java.lang.Boolean bln)
          Using Boolean object instead of boolean so getShared() will return null if setShared() has not been set.
 void setShareParent(ControllerNode nd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

msNodeName

private java.lang.String msNodeName

mndAddChild

private ControllerNode mndAddChild

mblnShared

private java.lang.Boolean mblnShared

mndShareParent

private ControllerNode mndShareParent

msRemoveChildProject

private java.lang.String msRemoveChildProject

msRemoveChildFile

private java.lang.String msRemoveChildFile

miRestoreChild

private int miRestoreChild

msRestoreChildNewName

private java.lang.String msRestoreChildNewName

mndProjectParent

private ProjectNode mndProjectParent

miPermanentlyDeleteChild

private int miPermanentlyDeleteChild
Constructor Detail

ProjectModification

public ProjectModification()
Method Detail

setNodeName

public void setNodeName(java.lang.String s)

getNodeName

public java.lang.String getNodeName()

setAddChild

public void setAddChild(ControllerNode nd)

getAddChild

public ControllerNode getAddChild()

setShared

public void setShared(java.lang.Boolean bln)
Using Boolean object instead of boolean so getShared() will return null if setShared() has not been set.


getShared

public java.lang.Boolean getShared()

setShareParent

public void setShareParent(ControllerNode nd)

getShareParent

public ControllerNode getShareParent()

setRemoveChildProject

public void setRemoveChildProject(java.lang.String s)

getRemoveChildProject

public java.lang.String getRemoveChildProject()

setRemoveChildFile

public void setRemoveChildFile(java.lang.String s)

getRemoveChildFile

public java.lang.String getRemoveChildFile()

setRestoreChild

public void setRestoreChild(int i)

getRestoreChild

public int getRestoreChild()

setRestoreChildNewName

public void setRestoreChildNewName(java.lang.String s)

getRestoreChildNewName

public java.lang.String getRestoreChildNewName()

setProjectParent

public void setProjectParent(ProjectNode nd)

getProjectParent

public ProjectNode getProjectParent()

setPermanentlyDeleteChild

public void setPermanentlyDeleteChild(int i)

getPermanentlyDeleteChild

public int getPermanentlyDeleteChild()


Copyright 2003 Soucejammer project.