ca.aura.project
Class DefaultProject

java.lang.Object
  |
  +--ca.aura.project.DefaultProject
All Implemented Interfaces:
Project
Direct Known Subclasses:
VCRProject

public class DefaultProject
extends java.lang.Object
implements Project

Author:
aforward

Constructor Summary
DefaultProject()
          default
DefaultProject(java.lang.String name)
          set the name
DefaultProject(java.lang.String name, java.lang.String filename)
          set the name
 
Method Summary
protected  java.lang.Object build(java.io.File dir, java.lang.String name, ObjectXmlConverter converter)
          build the project elements
 boolean equals(java.lang.Object obj)
          check for equality
 Depot getDepot()
           
 java.lang.String getDepotFile()
          get the depot name
 java.lang.String getFilename()
          get the project file namename
 History getHistory()
           
 java.lang.String getHistoryFile()
          get the depot name
 java.lang.String getName()
          get the project name
 Relation getRelation()
           
 java.lang.String getRelationFile()
          get the relation name
 Structure getStructure()
           
 java.lang.String getStructureFile()
          get the depot name
 boolean load()
           
 void setDepotFile(java.lang.String filename)
          set the depot name
 void setFilename(java.lang.String projectFilename)
          set the project file name
 void setHistoryFile(java.lang.String filename)
          set the depot name
 void setName(java.lang.String name)
          set the project name
 void setRelationFile(java.lang.String filename)
          set the depot name
 void setStructureFile(java.lang.String filename)
          set the depot name
 java.lang.String toString()
          the object as a string
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultProject

public DefaultProject()
default


DefaultProject

public DefaultProject(java.lang.String name)
set the name


DefaultProject

public DefaultProject(java.lang.String name,
                      java.lang.String filename)
set the name

Method Detail

load

public boolean load()
Specified by:
load in interface Project
See Also:
Project.load()

getDepot

public Depot getDepot()
Specified by:
getDepot in interface Project
See Also:
Project.getDepot()

getHistory

public History getHistory()
Specified by:
getHistory in interface Project
See Also:
Project.getHistory()

getStructure

public Structure getStructure()
Specified by:
getStructure in interface Project
See Also:
Project.getStructure()

getRelation

public Relation getRelation()
Specified by:
getRelation in interface Project
See Also:
Project.getRelation()

getName

public java.lang.String getName()
get the project name

Specified by:
getName in interface Project

getFilename

public java.lang.String getFilename()
get the project file namename

Specified by:
getFilename in interface Project

getDepotFile

public java.lang.String getDepotFile()
get the depot name

Specified by:
getDepotFile in interface Project

getHistoryFile

public java.lang.String getHistoryFile()
get the depot name

Specified by:
getHistoryFile in interface Project

getStructureFile

public java.lang.String getStructureFile()
get the depot name

Specified by:
getStructureFile in interface Project

getRelationFile

public java.lang.String getRelationFile()
get the relation name

Specified by:
getRelationFile in interface Project

setName

public void setName(java.lang.String name)
set the project name


setFilename

public void setFilename(java.lang.String projectFilename)
set the project file name


setDepotFile

public void setDepotFile(java.lang.String filename)
set the depot name


setStructureFile

public void setStructureFile(java.lang.String filename)
set the depot name


setRelationFile

public void setRelationFile(java.lang.String filename)
set the depot name


setHistoryFile

public void setHistoryFile(java.lang.String filename)
set the depot name


equals

public boolean equals(java.lang.Object obj)
check for equality

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
the object as a string

Overrides:
toString in class java.lang.Object

build

protected java.lang.Object build(java.io.File dir,
                                 java.lang.String name,
                                 ObjectXmlConverter converter)
build the project elements



Copyright © 2002 University of Ottawa. All Rights Reserved.