Administration Tools

org.topcased.service.templatetoproject.structure
Class TemplateProjectTree

java.lang.Object
  extended by org.topcased.service.templatetoproject.structure.TemplateProjectTree

public class TemplateProjectTree
extends java.lang.Object

Structure of a Tree :
TemplateProjectTree The tree is composed of :


Constructor Summary
TemplateProjectTree(TemplateProjectTree parent, java.util.Map<java.lang.String,InfosDirectory> mapDirectory, java.util.Map<java.lang.String,InfosFile> mapFile, java.lang.String name, java.lang.String path, boolean isDirectory)
          Constructor
 
Method Summary
 java.util.Map<java.lang.String,InfosDirectory> getMapInfosDirectory()
          Get Map Informations Directory
 java.util.Map<java.lang.String,InfosFile> getMapInfosFile()
          Get Map Informations File
 java.lang.String getName()
          Get name
 TemplateProjectTree getParent()
          Returns parent of selected TemplateProjectTree
 java.lang.String getPath()
          Get path
 java.util.List<TemplateProjectTree> getSons()
          Get sons
 boolean isDirectory()
          Get information : is a Directory or a File
 void setName(java.lang.String nameProjectTree)
          Get name of the project
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateProjectTree

public TemplateProjectTree(TemplateProjectTree parent,
                           java.util.Map<java.lang.String,InfosDirectory> mapDirectory,
                           java.util.Map<java.lang.String,InfosFile> mapFile,
                           java.lang.String name,
                           java.lang.String path,
                           boolean isDirectory)
Constructor

Parameters:
parent -
mapDirectory - : key=name ; value=TemplatePojectTree
mapFile - : key=name ; value=InfosFile
name - : parent name
path - : parent path
isDirectory - : true if is a Directory, false if is a File
Method Detail

getParent

public TemplateProjectTree getParent()
Returns parent of selected TemplateProjectTree

Returns:
TemplateProjectTree

getSons

public java.util.List<TemplateProjectTree> getSons()
Get sons

Returns:
map : key=name ; value=TemplatePojectTree

getName

public java.lang.String getName()
Get name

Returns:
parent name

setName

public void setName(java.lang.String nameProjectTree)
Get name of the project

Parameters:
nameProjectTree -

getPath

public java.lang.String getPath()
Get path

Returns:
parent path

isDirectory

public boolean isDirectory()
Get information : is a Directory or a File

Returns:
'true' if is a directory ans 'false' if is a 'File'

getMapInfosDirectory

public java.util.Map<java.lang.String,InfosDirectory> getMapInfosDirectory()
Get Map Informations Directory

Returns:
map : key=name ; value=InfosDirectory

getMapInfosFile

public java.util.Map<java.lang.String,InfosFile> getMapInfosFile()
Get Map Informations File

Returns:
map : key=name ; value=InfosFile

Administration Tools

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.