Class YamlTypedData

  • All Implemented Interfaces:
    TypedData

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

      Fields 
      Modifier and Type Field Description
      private java.lang.String description  
      private java.lang.String name  
      private java.lang.String type  
    • Constructor Summary

      Constructors 
      Constructor Description
      YamlTypedData()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Returns the description of the data.
      java.lang.String getName()
      Returns the name of the data.
      java.lang.String getType()
      Returns the type of the data.
      void setDescription​(java.lang.String description)
      Defines the description of the data.
      void setName​(java.lang.String name)
      Defines the name of the data.
      void setType​(java.lang.String type)
      Defines the type of the data.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        private java.lang.String name
      • description

        private java.lang.String description
      • type

        private java.lang.String type
    • Constructor Detail

      • YamlTypedData

        public YamlTypedData()
    • Method Detail

      • getName

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

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

        public java.lang.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​(java.lang.String name)
        Defines the name of the data. [required by SnakeYaml]
        Parameters:
        name - the name
      • setDescription

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

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