Class PropertyMetadata

java.lang.Object
io.micronaut.inject.configuration.PropertyMetadata
All Implemented Interfaces:
Streamable, Writable

public class PropertyMetadata extends Object implements Writable
Metadata about a property.
Author:
Graeme Rocher
  • Constructor Details

    • PropertyMetadata

      public PropertyMetadata()
  • Method Details

    • getType

      public String getType()
      Returns:
      The type
    • getName

      public String getName()
      Returns:
      The name
    • getDescription

      public String getDescription()
      Returns:
      The description
    • getPath

      public String getPath()
      Returns:
      The path
    • getDefaultValue

      public String getDefaultValue()
      Returns:
      The default value
    • getDeclaringType

      public String getDeclaringType()
      Returns:
      The declaring type
    • writeTo

      public void writeTo(Writer out) throws IOException
      Description copied from interface: Writable
      Writes this object to the given writer.
      Specified by:
      writeTo in interface Writable
      Parameters:
      out - the Writer to which this Writable should output its data.
      Throws:
      IOException - if an error occurred while outputting data to the writer
    • toString

      public String toString()
      Overrides:
      toString in class Object