Class ApplicationSetup
java.lang.Object
de.iip_ecosphere.platform.support.iip_aas.ApplicationSetup
Describes static information about an application, e.g., taken from the configuration. May be read from yaml,
therefore already in snakeyaml style.
A bit of ZVEI Digital Nameplate for industrial equipment V1.0.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents part of an address. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the address.Returns the description.getId()Returns the application id.Returns the optional manufacturer logo.Returns the manufacturer name.Returns the manufacturer product designation.getName()Returns the application name.Returns the optional product image.de.iip_ecosphere.platform.support.VersionReturns the version of the application.voidsetAddress(ApplicationSetup.Address address) Changes the address.voidsetDescription(String description) Changes the description.voidChanges the application id.voidsetManufacturerLogo(String manufacturerLogo) Defines the optional manufacturer logo.voidsetManufacturerName(String manufacturerName) Changes the manufacturer name.voidsetManufacturerProductDesignation(String manufacturerProductDesignation) Changes the manufacturer product designation.voidChanges the application name.voidsetProductImage(String productImage) Changes the optional product image.voidsetVersion(de.iip_ecosphere.platform.support.Version version) Changes the version.voidsetVersion(String version) Changes the version.
-
Field Details
-
id
-
name
-
version
private de.iip_ecosphere.platform.support.Version version -
description
-
manufacturerName
-
manufacturerProductDesignation
-
productImage
-
manufacturerLogo
-
address
-
-
Constructor Details
-
ApplicationSetup
public ApplicationSetup()For snakeyaml. -
ApplicationSetup
Copy constructor.- Parameters:
setup- the instance to copy from
-
-
Method Details
-
getId
Returns the application id.- Returns:
- the application id
-
setId
Changes the application id. [snakeyaml]- Parameters:
id- the application id
-
getName
Returns the application name.- Returns:
- the application name
-
setName
Changes the application name. [snakeyaml]- Parameters:
name- the application name
-
getVersion
public de.iip_ecosphere.platform.support.Version getVersion()Returns the version of the application.- Returns:
- the version
-
setVersion
public void setVersion(de.iip_ecosphere.platform.support.Version version) Changes the version. [snakeyaml]- Parameters:
version- the version
-
setVersion
Changes the version. [convenience]- Parameters:
version- the version
-
getDescription
Returns the description.- Returns:
- the description
-
setDescription
Changes the description.- Parameters:
description- the description
-
getManufacturerName
Returns the manufacturer name.- Returns:
- the manufacturer name
-
setManufacturerName
Changes the manufacturer name.- Parameters:
manufacturerName- the manufacturer name
-
getManufacturerProductDesignation
Returns the manufacturer product designation.- Returns:
- the designation
-
setManufacturerProductDesignation
Changes the manufacturer product designation.- Parameters:
manufacturerProductDesignation- the designation
-
getAddress
Returns the address.- Returns:
- the address
-
setAddress
Changes the address.- Parameters:
address- the address
-
getProductImage
Returns the optional product image.- Returns:
- the image (local resolvable name or URI to image)
-
setProductImage
Changes the optional product image.- Parameters:
productImage- the image (local resolvable name or URI to image)
-
getManufacturerLogo
Returns the optional manufacturer logo.- Returns:
- the logo (local resolvable name or URI to image)
-
setManufacturerLogo
Defines the optional manufacturer logo.- Parameters:
manufacturerLogo- the logo (local resolvable name or URI to image)
-