Class MetaData

  • All Implemented Interfaces:
    Dumpable

    public class MetaData
    extends java.lang.Object
    implements Dumpable
    • Constructor Summary

      Constructors 
      Constructor Description
      MetaData​(java.lang.String displayName, java.lang.String vendor, java.lang.String version, java.lang.String description)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClassName()  
      java.lang.String getDescription()  
      java.lang.String getDisplayName()  
      int getDumpId()
      Returns a unique dump id for this object.
      java.lang.String getName()  
      java.lang.String getVendor()  
      java.lang.String getVersion()  
      void readContent​(java.io.DataInput in)
      Read the content of this object from the stream.
      void setClassName​(java.lang.String className)  
      void setName​(java.lang.String name)  
      java.lang.String toString()  
      void writeContent​(java.io.DataOutput out)
      Write the content of this object to the stream.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MetaData

        public MetaData​(java.lang.String displayName,
                        java.lang.String vendor,
                        java.lang.String version,
                        java.lang.String description)
    • Method Detail

      • getDumpId

        public int getDumpId()
        Description copied from interface: Dumpable
        Returns a unique dump id for this object.
        Specified by:
        getDumpId in interface Dumpable
        Returns:
        unique dump id
      • writeContent

        public void writeContent​(java.io.DataOutput out)
                          throws java.io.IOException
        Description copied from interface: Dumpable
        Write the content of this object to the stream.
        Specified by:
        writeContent in interface Dumpable
        Parameters:
        out - output stream
        Throws:
        java.io.IOException - if an error occurs
      • readContent

        public void readContent​(java.io.DataInput in)
                         throws java.io.IOException
        Description copied from interface: Dumpable
        Read the content of this object from the stream.
        Specified by:
        readContent in interface Dumpable
        Parameters:
        in - input stream
        Throws:
        java.io.IOException - if an error occurs
      • getName

        public java.lang.String getName()
        Returns:
      • setName

        public void setName​(java.lang.String name)
      • getDisplayName

        public java.lang.String getDisplayName()
        Returns:
      • getVendor

        public java.lang.String getVendor()
        Returns:
      • getVersion

        public java.lang.String getVersion()
        Returns:
      • getClassName

        public java.lang.String getClassName()
        Returns:
      • setClassName

        public void setClassName​(java.lang.String className)
      • getDescription

        public java.lang.String getDescription()
        Returns:
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object