Class GenericIdentifiable

java.lang.Object
com.sun.corba.se.impl.ior.GenericIdentifiable
All Implemented Interfaces:
Identifiable, Writeable
Direct Known Subclasses:
GenericTaggedComponent, GenericTaggedProfile

public abstract class GenericIdentifiable extends Object implements Identifiable
Author:
This is used for unknown components and profiles. A TAG_MULTICOMPONENT_PROFILE will be represented this way.
  • Constructor Details

    • GenericIdentifiable

      public GenericIdentifiable(int id, InputStream is)
    • GenericIdentifiable

      public GenericIdentifiable(int id, byte[] data)
  • Method Details

    • getId

      public int getId()
      Description copied from interface: Identifiable
      Return the (type) identity of this entity.
      Specified by:
      getId in interface Identifiable
      Returns:
      int
    • write

      public void write(OutputStream os)
      Description copied from interface: Writeable
      Write this object directly to the output stream.
      Specified by:
      write in interface Writeable
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getData

      public byte[] getData()