Class WorkPackageLink
java.lang.Object
com.xwiki.projectmanagement.openproject.model.WorkPackageLink
The model of a link to a work package.
- Since:
- 1.2.0-rc-1
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetInstance(String instance) voidsetPrimary(Boolean primary) voidsetProject(String project) voidsetWorkPackage(String workPackage)
-
Constructor Details
-
WorkPackageLink
public WorkPackageLink()
-
-
Method Details
-
getProject
- Returns:
- the id of the OpenProject project that is linked to a xwiki page.
-
setProject
- Parameters:
project- seegetProject().
-
getWorkPackage
- Returns:
- the id of the OpenProject work package that is linked to a xwiki page.
-
setWorkPackage
- Parameters:
workPackage- seegetWorkPackage().
-
getInstance
- Returns:
- the id of the configured OpenProject instance where the linked work package/project can be found.
-
setInstance
- Parameters:
instance- seegetInstance().
-
isPrimary
- Returns:
- whether this link is marked as the primary, most important link of the page.
-
setPrimary
- Parameters:
primary- seeisPrimary().
-