java.lang.Object
de.iip_ecosphere.platform.services.spring.yaml.YamlField
All Implemented Interfaces:
Field

public class YamlField extends Object implements Field
Implements Field for YAML.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • YamlField

      public YamlField()
  • Method Details

    • getName

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

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

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

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