fr.cnes.sitools.project.model
Class Project

java.lang.Object
  extended by fr.cnes.sitools.project.model.Project
All Implemented Interfaces:
IResource, java.io.Serializable

public final class Project
extends java.lang.Object
implements IResource, java.io.Serializable

Class definition of a project

Author:
jp.boignard (AKKA Technologies)
See Also:
Serialized Form

Constructor Summary
Project()
          Default constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCss()
          Gets the css value
 java.util.List<Resource> getDataSets()
          Gets the dataSets value
 Resource[] getDataSetsArray()
          Facilities with Arrays
 java.lang.String getDescription()
          Gets the description value
 java.lang.String getFtlTemplateFile()
          Gets the ftlTemplateFile value
 java.lang.String getHtmlDescription()
          Gets the htmlDescription value
 java.lang.String getHtmlHeader()
          Gets the htmlHeader value
 java.lang.String getId()
          Gets the id value
 Resource getImage()
          Gets the image value
 java.util.List<LinkModel> getLinks()
          Gets the links value
 java.lang.String getMaintenanceText()
          Gets the maintenanceText value
 java.util.List<ProjectModule> getModules()
          Gets the modules value
 java.lang.String getName()
          Gets the name value
 java.lang.String getNavigationMode()
          Gets the navigationMode value
 java.lang.String getSitoolsAttachementForUsers()
          Gets the sitoolsAttachementForUsers value
 java.lang.String getStatus()
          Gets the status value
 int hashCode()
           
 boolean isAuthorized()
          Gets the authorized value
 boolean isMaintenance()
          Gets the maintenance value
 boolean isVisible()
          Gets the visible value
 void setAuthorized(boolean authorized)
          Sets the value of authorized
 void setCss(java.lang.String css)
          Sets the value of css
 void setDataSets(java.util.List<Resource> dataSets)
          Sets the value of dataSets
 void setDataSetsArray(Resource[] resources)
          Sets the array of dataset resources
 void setDescription(java.lang.String description)
          Sets the value of description
 void setFtlTemplateFile(java.lang.String ftlTemplateFile)
          Sets the value of ftlTemplateFile
 void setHtmlDescription(java.lang.String htmlDescription)
          Sets the value of htmlDescription
 void setHtmlHeader(java.lang.String htmlHeader)
          Sets the value of htmlHeader
 void setId(java.lang.String id)
          Sets the value of id
 void setImage(Resource image)
          Sets the value of image
 void setLinks(java.util.List<LinkModel> links)
          Sets the value of links
 void setMaintenance(boolean maintenance)
          Sets the value of maintenance
 void setMaintenanceText(java.lang.String maintenanceText)
          Sets the value of maintenanceText
 void setModules(java.util.List<ProjectModule> modules)
          Sets the value of modules
 void setName(java.lang.String name)
          Sets the value of name
 void setNavigationMode(java.lang.String navigationMode)
          Sets the value of navigationMode
 void setSitoolsAttachementForUsers(java.lang.String sitoolsAttachementForUsers)
          Sets the value of sitoolsAttachementForUsers
 void setStatus(java.lang.String status)
          Sets the value of status
 void setVisible(boolean visible)
          Sets the value of visible
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Project

public Project()
Default constructor

Method Detail

getId

public java.lang.String getId()
Gets the id value

Specified by:
getId in interface IResource
Returns:
the id

setId

public void setId(java.lang.String id)
Sets the value of id

Specified by:
setId in interface IResource
Parameters:
id - the id to set

getName

public java.lang.String getName()
Gets the name value

Specified by:
getName in interface IResource
Returns:
the name

setName

public void setName(java.lang.String name)
Sets the value of name

Parameters:
name - the name to set

getDescription

public java.lang.String getDescription()
Gets the description value

Specified by:
getDescription in interface IResource
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Sets the value of description

Parameters:
description - the description to set

getCss

public java.lang.String getCss()
Gets the css value

Returns:
the css

setCss

public void setCss(java.lang.String css)
Sets the value of css

Parameters:
css - the css to set

getImage

public Resource getImage()
Gets the image value

Returns:
the image

setImage

public void setImage(Resource image)
Sets the value of image

Parameters:
image - the image to set

getDataSets

public java.util.List<Resource> getDataSets()
Gets the dataSets value

Returns:
the dataSets

setDataSets

public void setDataSets(java.util.List<Resource> dataSets)
Sets the value of dataSets

Parameters:
dataSets - the dataSets to set

getDataSetsArray

public Resource[] getDataSetsArray()
Facilities with Arrays

Returns:
array

setDataSetsArray

public void setDataSetsArray(Resource[] resources)
Sets the array of dataset resources

Parameters:
resources - array of datasets

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

setStatus

public void setStatus(java.lang.String status)
Sets the value of status

Parameters:
status - the status to set

getStatus

public java.lang.String getStatus()
Gets the status value

Returns:
the status

getSitoolsAttachementForUsers

public java.lang.String getSitoolsAttachementForUsers()
Gets the sitoolsAttachementForUsers value

Returns:
the sitoolsAttachementForUsers

setSitoolsAttachementForUsers

public void setSitoolsAttachementForUsers(java.lang.String sitoolsAttachementForUsers)
Sets the value of sitoolsAttachementForUsers

Parameters:
sitoolsAttachementForUsers - the sitoolsAttachementForUsers to set

setVisible

public void setVisible(boolean visible)
Sets the value of visible

Parameters:
visible - the visible to set

isVisible

public boolean isVisible()
Gets the visible value

Returns:
the visible

setAuthorized

public void setAuthorized(boolean authorized)
Sets the value of authorized

Parameters:
authorized - the authorized to set

isAuthorized

public boolean isAuthorized()
Gets the authorized value

Returns:
the authorized

getModules

public java.util.List<ProjectModule> getModules()
Gets the modules value

Returns:
the modules

setModules

public void setModules(java.util.List<ProjectModule> modules)
Sets the value of modules

Parameters:
modules - the modules to set

getHtmlHeader

public java.lang.String getHtmlHeader()
Gets the htmlHeader value

Returns:
the htmlHeader

setHtmlHeader

public void setHtmlHeader(java.lang.String htmlHeader)
Sets the value of htmlHeader

Parameters:
htmlHeader - the htmlHeader to set

getHtmlDescription

public java.lang.String getHtmlDescription()
Gets the htmlDescription value

Returns:
the htmlDescription

setHtmlDescription

public void setHtmlDescription(java.lang.String htmlDescription)
Sets the value of htmlDescription

Parameters:
htmlDescription - the htmlDescription to set

isMaintenance

public boolean isMaintenance()
Gets the maintenance value

Returns:
the maintenance

setMaintenance

public void setMaintenance(boolean maintenance)
Sets the value of maintenance

Parameters:
maintenance - the maintenance to set

getMaintenanceText

public java.lang.String getMaintenanceText()
Gets the maintenanceText value

Returns:
the maintenanceText

setMaintenanceText

public void setMaintenanceText(java.lang.String maintenanceText)
Sets the value of maintenanceText

Parameters:
maintenanceText - the maintenanceText to set

setLinks

public void setLinks(java.util.List<LinkModel> links)
Sets the value of links

Parameters:
links - the links to set

getLinks

public java.util.List<LinkModel> getLinks()
Gets the links value

Returns:
the links

setFtlTemplateFile

public void setFtlTemplateFile(java.lang.String ftlTemplateFile)
Sets the value of ftlTemplateFile

Parameters:
ftlTemplateFile - the ftlTemplateFile to set

getFtlTemplateFile

public java.lang.String getFtlTemplateFile()
Gets the ftlTemplateFile value

Returns:
the ftlTemplateFile

getNavigationMode

public java.lang.String getNavigationMode()
Gets the navigationMode value

Returns:
the navigationMode

setNavigationMode

public void setNavigationMode(java.lang.String navigationMode)
Sets the value of navigationMode

Parameters:
navigationMode - the navigationMode to set


Copyright © 2010-2013 CNES. All Rights Reserved.