Class YamlTypedData
java.lang.Object
de.iip_ecosphere.platform.services.spring.yaml.YamlTypedData
- All Implemented Interfaces:
TypedData
Yaml implementation of
TypedData.- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of the data.getName()Returns the name of the data.getType()Returns the type of the data.voidsetDescription(String description) Defines the description of the data.voidDefines the name of the data.voidDefines the type of the data.
-
Field Details
-
name
-
description
-
type
-
-
Constructor Details
-
YamlTypedData
public YamlTypedData()
-
-
Method Details
-
getName
Description copied from interface:TypedDataReturns the name of the data. -
getDescription
Description copied from interface:TypedDataReturns the description of the data.- Specified by:
getDescriptionin interfaceTypedData- Returns:
- the description
-
getType
Description copied from interface:TypedDataReturns the type of the data. -
setName
Defines the name of the data. [required by SnakeYaml]- Parameters:
name- the name
-
setDescription
Defines the description of the data. [required by SnakeYaml]- Parameters:
description- the description
-
setType
Defines the type of the data. [required by SnakeYaml]- Parameters:
type- the type as qualified Java name
-