public class ProjectRest extends Object implements GenericRestEntity<Integer>
| Constructor and Description |
|---|
ProjectRest()
Instantiates a new project rest.
|
ProjectRest(org.jboss.pnc.model.Project project)
Instantiates a new project rest.
|
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
getConfigurationIds()
Gets the configuration ids.
|
String |
getDescription()
Gets the description.
|
Integer |
getId()
Gets the id.
|
String |
getIssueTrackerUrl()
Gets the issue tracker url.
|
Integer |
getLicenseId() |
String |
getName()
Gets the name.
|
String |
getProjectUrl()
Gets the project url.
|
void |
setConfigurationIds(List<Integer> configurationIds)
Sets the configuration ids.
|
void |
setDescription(String description)
Sets the description.
|
void |
setId(Integer id)
Sets the id.
|
void |
setIssueTrackerUrl(String issueTrackerUrl)
Sets the issue tracker url.
|
void |
setLicenseId(Integer licenseId) |
void |
setName(String name)
Sets the name.
|
void |
setProjectUrl(String projectUrl)
Sets the project url.
|
org.jboss.pnc.model.Project.Builder |
toDBEntityBuilder() |
public ProjectRest()
public ProjectRest(org.jboss.pnc.model.Project project)
project - the projectpublic Integer getId()
getId in interface GenericRestEntity<Integer>public void setId(Integer id)
setId in interface GenericRestEntity<Integer>id - the new idpublic String getName()
public void setName(String name)
name - the new namepublic String getDescription()
public void setDescription(String description)
description - the new descriptionpublic String getIssueTrackerUrl()
public void setIssueTrackerUrl(String issueTrackerUrl)
issueTrackerUrl - the new issue tracker urlpublic String getProjectUrl()
public void setProjectUrl(String projectUrl)
projectUrl - the new project urlpublic List<Integer> getConfigurationIds()
public void setConfigurationIds(List<Integer> configurationIds)
configurationIds - the new configuration idspublic Integer getLicenseId()
public void setLicenseId(Integer licenseId)
public org.jboss.pnc.model.Project.Builder toDBEntityBuilder()
Copyright © 2014–2016. All rights reserved.