public class LicenseDto extends SingleResourceTransportDto
| Modifier and Type | Field and Description |
|---|---|
static String |
DATE_FORMAT
The date format used to store license dates.
|
static String |
MEDIA_TYPE |
static String |
MEDIA_TYPE_JSON |
static String |
MEDIA_TYPE_XML |
static String |
SHORT_MEDIA_TYPE_JSON |
static String |
SHORT_MEDIA_TYPE_XML |
API_VERSION, API_VERSION_20, API_VERSION_22, API_VERSION_23, API_VERSION_24, API_VERSION_26, API_VERSION_27, API_VERSION_28, API_VERSION_29, APPLICATION, editLink, JSON, links, VERSION_PARAM, XML| Constructor and Description |
|---|
LicenseDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
String |
getCode()
The license code
|
String |
getEnabledPlugins()
The enabled plugins
|
String |
getExpiration()
The expiration date of the license
|
Integer |
getId()
The identifier of the entity
|
String |
getMediaType() |
Integer |
getNumcores()
The number of cores that the license enables
|
boolean |
isActive() |
void |
setCode(String code) |
void |
setEnabledPlugins(String enabledPlugins) |
void |
setExpiration(String expiration) |
void |
setId(Integer id) |
void |
setNumcores(Integer numcores) |
addEditLink, addLink, addLinks, getEditLink, getIdFromLink, getLinks, modifyLink, searchLink, searchLink, searchLinkByHref, searchLinks, setLinkspublic static final String MEDIA_TYPE
public static final String SHORT_MEDIA_TYPE_JSON
public static final String SHORT_MEDIA_TYPE_XML
public static final String MEDIA_TYPE_XML
public static final String MEDIA_TYPE_JSON
public static final String DATE_FORMAT
public Integer getId()
public void setId(Integer id)
@NotNull public String getCode()
public void setCode(String code)
public Integer getNumcores()
public void setNumcores(Integer numcores)
public String getExpiration()
public void setExpiration(String expiration)
public String getEnabledPlugins()
public void setEnabledPlugins(String enabledPlugins)
public String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtopublic boolean isActive()
Copyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.