Class WorkPackageLink
- java.lang.Object
-
- com.xwiki.projectmanagement.openproject.model.WorkPackageLink
-
public class WorkPackageLink extends Object
The model of a link to a work package.- Since:
- 1.2.0-rc-1
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description WorkPackageLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInstance()StringgetProject()StringgetWorkPackage()voidsetInstance(String instance)voidsetProject(String project)voidsetWorkPackage(String workPackage)
-
-
-
Method Detail
-
getProject
public String getProject()
- Returns:
- the id of the OpenProject project that is linked to a xwiki page.
-
setProject
public void setProject(String project)
- Parameters:
project- seegetProject().
-
getWorkPackage
public String getWorkPackage()
- Returns:
- the id of the OpenProject work package that is linked to a xwiki page.
-
setWorkPackage
public void setWorkPackage(String workPackage)
- Parameters:
workPackage- seegetWorkPackage().
-
getInstance
public String getInstance()
- Returns:
- the id of the configured OpenProject instance where the linked work package/project can be found.
-
setInstance
public void setInstance(String instance)
- Parameters:
instance- seegetInstance().
-
-