Class YamlTypedData

java.lang.Object
de.iip_ecosphere.platform.services.spring.yaml.YamlTypedData
All Implemented Interfaces:
TypedData

public class YamlTypedData extends Object implements TypedData
Yaml implementation of TypedData.
Author:
Holger Eichelberger, SSE
  • Field Details

    • name

      private String name
    • description

      private String description
    • type

      private String type
  • Constructor Details

    • YamlTypedData

      public YamlTypedData()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: TypedData
      Returns the name of the data.
      Specified by:
      getName in interface TypedData
      Returns:
      the name
    • getDescription

      public String getDescription()
      Description copied from interface: TypedData
      Returns the description of the data.
      Specified by:
      getDescription in interface TypedData
      Returns:
      the description
    • getType

      public String getType()
      Description copied from interface: TypedData
      Returns the type of the data.
      Specified by:
      getType in interface TypedData
      Returns:
      the type as qualified Java name
    • setName

      public void setName(String name)
      Defines the name of the data. [required by SnakeYaml]
      Parameters:
      name - the name
    • setDescription

      public void setDescription(String description)
      Defines the description of the data. [required by SnakeYaml]
      Parameters:
      description - the description
    • setType

      public void setType(String type)
      Defines the type of the data. [required by SnakeYaml]
      Parameters:
      type - the type as qualified Java name