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 boolean
equals(Object o)
String
getAuthor()
Returns the author of this project.String
getDescription()
Returns the description of this project.String
getKeywords()
Returns the keywords of this project.String
getTitle()
Returns the title of this project.int
hashCode()
void
setAuthor(String author)
Sets the project's author.void
setDescription(String description)
Sets the project's description.void
setKeywords(String keywords)
Sets the project's keywords.void
setTitle(String title)
Sets the project's title.
-
-
-
Method Detail
-
getAuthor
public String getAuthor()
Description copied from interface:ProjectMetaData
Returns the author of this project.The default value is the computer's user name.
- Specified by:
getAuthor
in interfaceProjectMetaData
- Returns:
- project's author
-
setAuthor
public void setAuthor(String author)
Description copied from interface:ProjectMetaData
Sets the project's author.- Specified by:
setAuthor
in interfaceProjectMetaData
- Parameters:
author
- author
-
getDescription
public String getDescription()
Description copied from interface:ProjectMetaData
Returns the description of this project.- Specified by:
getDescription
in interfaceProjectMetaData
- Returns:
- the project's description or empty string if missing
-
setDescription
public void setDescription(String description)
Description copied from interface:ProjectMetaData
Sets the project's description.- Specified by:
setDescription
in interfaceProjectMetaData
- Parameters:
description
- description
-
getKeywords
public String getKeywords()
Description copied from interface:ProjectMetaData
Returns the keywords of this project.- Specified by:
getKeywords
in interfaceProjectMetaData
- Returns:
- the project's keywords or empty string if missing
-
setKeywords
public void setKeywords(String keywords)
Description copied from interface:ProjectMetaData
Sets the project's keywords.- Specified by:
setKeywords
in interfaceProjectMetaData
- Parameters:
keywords
- keywords
-
getTitle
public String getTitle()
Description copied from interface:ProjectMetaData
Returns the title of this project.- Specified by:
getTitle
in interfaceProjectMetaData
- Returns:
- the project's title or empty string if missing
-
setTitle
public void setTitle(String title)
Description copied from interface:ProjectMetaData
Sets the project's title.- Specified by:
setTitle
in interfaceProjectMetaData
- Parameters:
title
- title
-
-