Class ObjectAdapterIdArray

java.lang.Object
com.sun.corba.se.impl.ior.ObjectAdapterIdArray
All Implemented Interfaces:
ObjectAdapterId, Writeable
Direct Known Subclasses:
ObjectAdapterIdNumber

public class ObjectAdapterIdArray extends Object
  • Constructor Details

    • ObjectAdapterIdArray

      public ObjectAdapterIdArray(String[] objectAdapterId)
    • ObjectAdapterIdArray

      public ObjectAdapterIdArray(String name1, String name2)
      Special constructor used for OA IDs of length 2.
  • Method Details

    • getNumLevels

      public int getNumLevels()
      Description copied from interface: ObjectAdapterId
      Return the number of elements in the adapter ID.
    • iterator

      public Iterator iterator()
      Description copied from interface: ObjectAdapterId
      Return an iterator that iterates over the components of this adapter ID. Each element is returned as a String.
    • getAdapterName

      public String[] getAdapterName()
      Description copied from interface: ObjectAdapterId
      Get the adapter name simply as an array of strings.
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object
    • 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