Class Project
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Object>
Describes a project coming from a project management platform.
- Since:
- 1.2.0
- Version:
- $Id$
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidvoidsetDescription(String description) voidsetIdentifier(Linkable identifier) voidMethods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
KEY_IDENTIFIER
The key identifying the identifier property of the project.- See Also:
-
KEY_NAME
The key identifying the name property of the project.- See Also:
-
KEY_DESCRIPTION
The key identifying the description property of the project.- See Also:
-
-
Constructor Details
-
Project
public Project()
-
-
Method Details
-
getIdentifier
- Returns:
- the identifier for this project together with a link to its location. For example, Open project and GitHub identify work packages numerically: '1001', Jira using a key: 'XWIKI-1001'.
-
setIdentifier
- Parameters:
identifier- seegetIdentifier().
-
getName
- Returns:
- a user facing, pretty name of the project.
-
setName
- Parameters:
name- seegetName()}.
-
getDescription
- Returns:
- a text that describes this project.
-
setDescription
- Parameters:
description- seegetDescription().
-
getMapEntries
- Returns:
- the map.
-
putEntry
- Parameters:
key- the key.value- the value.
-