Class ObjectAdapterIdArray

java.lang.Object
com.sun.corba.ee.impl.ior.ObjectAdapterIdArray
All Implemented Interfaces:
ObjectAdapterId, Writeable, Iterable<String>
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.
      Parameters:
      name1 - First name part
      name2 - Second name part
  • Method Details

    • equals

      public boolean equals(Object obj)
    • getNumLevels

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

      public Iterator<String> 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.
      Returns:
      iterator over components
    • getAdapterName

      public String[] getAdapterName()
      Description copied from interface: ObjectAdapterId
      Get the adapter name simply as an array of strings.
      Returns:
      adapter name
    • 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
      Parameters:
      os - stream to write to