public class LicenseRest extends Object implements GenericRestEntity<Integer>
| Constructor and Description |
|---|
LicenseRest() |
LicenseRest(org.jboss.pnc.model.License license) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFullContent() |
String |
getFullName() |
Integer |
getId()
Gets Id.
|
String |
getRefUrl() |
String |
getShortName() |
void |
setFullContent(String fullContent) |
void |
setFullName(String fullName) |
void |
setId(Integer id)
Sets id.
|
void |
setRefUrl(String refUrl) |
void |
setShortName(String shortName) |
org.jboss.pnc.model.License.Builder |
toDBEntityBuilder() |
public LicenseRest()
public LicenseRest(org.jboss.pnc.model.License license)
public Integer getId()
GenericRestEntitygetId in interface GenericRestEntity<Integer>public void setId(Integer id)
GenericRestEntitysetId in interface GenericRestEntity<Integer>id - the id to setpublic String getFullName()
public void setFullName(String fullName)
fullName - the fullName to setpublic String getFullContent()
public void setFullContent(String fullContent)
fullContent - the fullContent to setpublic String getRefUrl()
public void setRefUrl(String refUrl)
refUrl - the refUrl to setpublic String getShortName()
public void setShortName(String shortName)
shortName - the shortName to setpublic org.jboss.pnc.model.License.Builder toDBEntityBuilder()
Copyright © 2014–2016. All rights reserved.