public class ProductRest extends Object implements GenericRestEntity<Integer>
| Constructor and Description |
|---|
ProductRest() |
ProductRest(org.jboss.pnc.model.Product product) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAbbreviation() |
String |
getDescription() |
Integer |
getId()
Gets Id.
|
String |
getName() |
String |
getPgmSystemName() |
String |
getProductCode() |
List<Integer> |
getProductVersionIds() |
Set<ProductVersionRest> |
getProductVersions() |
void |
setAbbreviation(String abbreviation) |
void |
setDescription(String description) |
void |
setId(Integer id)
Sets id.
|
void |
setName(String name) |
void |
setPgmSystemName(String pgmSystemName) |
void |
setProductCode(String productCode) |
void |
setProductVersionIds(List<Integer> productVersionIds) |
void |
setProductVersions(Set<ProductVersionRest> productVersions) |
org.jboss.pnc.model.Product.Builder |
toDBEntityBuilder() |
public ProductRest()
public ProductRest(org.jboss.pnc.model.Product product)
public Integer getId()
GenericRestEntitygetId in interface GenericRestEntity<Integer>public void setId(Integer id)
GenericRestEntitysetId in interface GenericRestEntity<Integer>id - id.public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public String getAbbreviation()
public void setAbbreviation(String abbreviation)
public String getProductCode()
public void setProductCode(String productCode)
public String getPgmSystemName()
public void setPgmSystemName(String pgmSystemName)
public Set<ProductVersionRest> getProductVersions()
public void setProductVersions(Set<ProductVersionRest> productVersions)
public org.jboss.pnc.model.Product.Builder toDBEntityBuilder()
Copyright © 2014–2016. All rights reserved.