Class DDdependableFinder

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int formatId  
    • Constructor Summary

      Constructors 
      Constructor Description
      DDdependableFinder​(int formatId)
      Public constructor for Formatable hoo-hah.
    • Field Detail

      • formatId

        private final int formatId
    • Constructor Detail

      • DDdependableFinder

        public DDdependableFinder​(int formatId)
        Public constructor for Formatable hoo-hah.
    • Method Detail

      • toString

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

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Read this object from a stream of stored objects. Nothing to do. Our persistent representation is just a 2-byte format id.
        Specified by:
        readExternal in interface java.io.Externalizable
        Parameters:
        in - read this.
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Write this object to a stream of stored objects. Again, nothing to do. We just stamp the output stream with our Format id.
        Specified by:
        writeExternal in interface java.io.Externalizable
        Parameters:
        out - write bytes here.
        Throws:
        java.io.IOException
      • getTypeFormatId

        public final int getTypeFormatId()
        Get the formatID which corresponds to this class.
        Specified by:
        getTypeFormatId in interface TypedFormat
        Returns:
        the formatID of this class
      • getSQLObjectType

        public java.lang.String getSQLObjectType()
        Description copied from interface: DependableFinder
        The name of the class of Dependables as a "SQL Object" which this Finder can find. This is a value like "Table" or "View". Every DependableFinder can find some class of Dependables.
        Specified by:
        getSQLObjectType in interface DependableFinder
        Returns:
        String type of the "SQL Object" which this Finder can find.
        See Also:
        DependableFinder.getSQLObjectType()