@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, wait
getAuditName
public Template()
public Template(Template template)
public void update(Template template)
public Integer getId()
Identifiable
getId
in interface Identifiable<Integer>
public void setId(Integer id)
public void setName(String name)
public String getAppNGVersion()
Identifier
Application
is compatible with.getAppNGVersion
in interface Identifier
Application
is compatible withpublic void setAppNGVersion(String appNGVersion)
public String getDescription()
Nameable
getDescription
in interface Nameable
public void setDescription(String description)
public String getDisplayName()
Identifier
getDisplayName
in interface Identifier
public void setDisplayName(String displayName)
public String getLongDescription()
Identifier
getLongDescription
in interface Identifier
public void setLongDescription(String longDescription)
public String getTimestamp()
Identifier
Application
was build.getTimestamp
in interface Identifier
Application
was buildpublic void setTimestamp(String timestamp)
public String getPackageVersion()
Identifier
getPackageVersion
in interface Identifier
public void setPackageVersion(String packageVersion)
public TemplateType getType()
public void setType(TemplateType type)
public boolean isInstalled()
Identifier
Application
is installed.isInstalled
in interface Identifier
true
if the Application
is installed, false
otherwisepublic boolean isSnapshot()
Identifier
Application
has a SNAPSHOT-versionisSnapshot
in interface Identifier
true
if the Application
has a SNAPSHOT-version, false
otherwisepublic List<TemplateResource> getResources()
public void setResources(List<TemplateResource> resources)
public Date getVersion()
Versionable
getVersion
in interface Versionable<Date>
public void setVersion(Date version)
Copyright © 2011–2020 aiticon GmbH. All rights reserved.