Package org.gephi.project.impl
Class ProjectMetaDataImpl
- java.lang.Object
-
- org.gephi.project.impl.ProjectMetaDataImpl
-
- All Implemented Interfaces:
ProjectMetaData
public class ProjectMetaDataImpl extends Object implements ProjectMetaData
- Author:
- Mathieu Bastian
-
-
Constructor Summary
Constructors Constructor Description ProjectMetaDataImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAuthor()Returns the author of this project.StringgetDescription()Returns the description of this project.StringgetKeywords()Returns the keywords of this project.StringgetTitle()Returns the title of this project.inthashCode()voidsetAuthor(String author)Sets the project's author.voidsetDescription(String description)Sets the project's description.voidsetKeywords(String keywords)Sets the project's keywords.voidsetTitle(String title)Sets the project's title.
-
-
-
Method Detail
-
getAuthor
public String getAuthor()
Description copied from interface:ProjectMetaDataReturns the author of this project.The default value is the computer's user name.
- Specified by:
getAuthorin interfaceProjectMetaData- Returns:
- project's author
-
setAuthor
public void setAuthor(String author)
Description copied from interface:ProjectMetaDataSets the project's author.- Specified by:
setAuthorin interfaceProjectMetaData- Parameters:
author- author
-
getDescription
public String getDescription()
Description copied from interface:ProjectMetaDataReturns the description of this project.- Specified by:
getDescriptionin interfaceProjectMetaData- Returns:
- the project's description or empty string if missing
-
setDescription
public void setDescription(String description)
Description copied from interface:ProjectMetaDataSets the project's description.- Specified by:
setDescriptionin interfaceProjectMetaData- Parameters:
description- description
-
getKeywords
public String getKeywords()
Description copied from interface:ProjectMetaDataReturns the keywords of this project.- Specified by:
getKeywordsin interfaceProjectMetaData- Returns:
- the project's keywords or empty string if missing
-
setKeywords
public void setKeywords(String keywords)
Description copied from interface:ProjectMetaDataSets the project's keywords.- Specified by:
setKeywordsin interfaceProjectMetaData- Parameters:
keywords- keywords
-
getTitle
public String getTitle()
Description copied from interface:ProjectMetaDataReturns the title of this project.- Specified by:
getTitlein interfaceProjectMetaData- Returns:
- the project's title or empty string if missing
-
setTitle
public void setTitle(String title)
Description copied from interface:ProjectMetaDataSets the project's title.- Specified by:
setTitlein interfaceProjectMetaData- Parameters:
title- title
-
-