java.lang.Object
de.iip_ecosphere.platform.services.spring.yaml.YamlType
All Implemented Interfaces:
Type

public class YamlType extends Object implements Type
Implements Type for Yaml.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • YamlType

      public YamlType()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Type
      Returns the name of the type.
      Specified by:
      getName in interface Type
      Returns:
      the name as Java qualified name
    • getFields

      public List<YamlField> getFields()
      Description copied from interface: Type
      Returns the fields of the type.
      Specified by:
      getFields in interface Type
      Returns:
      the fields
    • setName

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

      public void setFields(List<YamlField> fields)
      Defines the fields of the type.
      Parameters:
      fields - the fields