@Entity public class Template extends Object implements Identifier, Auditable<Integer>
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAppNGVersion()
Returns the version of appNG the
Application is compatible with. |
String |
getDescription()
Returns the description.
|
String |
getDisplayName()
Returns the display name.
|
Integer |
getId()
Returns the id.
|
String |
getLongDescription()
Returns the description.
|
String |
getName()
Returns the name.
|
String |
getPackageVersion()
Returns the version.
|
List<TemplateResource> |
getResources() |
String |
getTimestamp()
Returns the timestamp the
Application was build. |
TemplateType |
getType() |
Date |
getVersion()
Returns the version.
|
int |
hashCode() |
boolean |
isInstalled()
Checks whether the
Application is installed. |
boolean |
isSnapshot()
Checks whether the
Application has a SNAPSHOT-version |
void |
setAppNGVersion(String appNGVersion) |
void |
setDescription(String description) |
void |
setDisplayName(String displayName) |
void |
setId(Integer id) |
void |
setLongDescription(String longDescription) |
void |
setName(String name) |
void |
setPackageVersion(String packageVersion) |
void |
setResources(List<TemplateResource> resources) |
void |
setTimestamp(String timestamp) |
void |
setType(TemplateType type) |
void |
setVersion(Date version) |
void |
update(Template template) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAuditNamepublic Template()
public Template(Template template)
public void update(Template template)
public Integer getId()
IdentifiablegetId in interface Identifiable<Integer>public void setId(Integer id)
public void setName(String name)
public String getAppNGVersion()
IdentifierApplication is compatible with.getAppNGVersion in interface IdentifierApplication is compatible withpublic void setAppNGVersion(String appNGVersion)
public String getDescription()
NameablegetDescription in interface Nameablepublic void setDescription(String description)
public String getDisplayName()
IdentifiergetDisplayName in interface Identifierpublic void setDisplayName(String displayName)
public String getLongDescription()
IdentifiergetLongDescription in interface Identifierpublic void setLongDescription(String longDescription)
public String getTimestamp()
IdentifierApplication was build.getTimestamp in interface IdentifierApplication was buildpublic void setTimestamp(String timestamp)
public String getPackageVersion()
IdentifiergetPackageVersion in interface Identifierpublic void setPackageVersion(String packageVersion)
public TemplateType getType()
public void setType(TemplateType type)
public boolean isInstalled()
IdentifierApplication is installed.isInstalled in interface Identifiertrue if the Application is installed, false otherwisepublic boolean isSnapshot()
IdentifierApplication has a SNAPSHOT-versionisSnapshot in interface Identifiertrue if the Application has a SNAPSHOT-version, false otherwisepublic List<TemplateResource> getResources()
public void setResources(List<TemplateResource> resources)
public Date getVersion()
VersionablegetVersion in interface Versionable<Date>public void setVersion(Date version)
Copyright © 2011–2018 aiticon GmbH. All rights reserved.