Package com.sun.corba.ee.impl.ior
Class ObjectAdapterIdArray
java.lang.Object
com.sun.corba.ee.impl.ior.ObjectAdapterIdBase
com.sun.corba.ee.impl.ior.ObjectAdapterIdArray
- All Implemented Interfaces:
ObjectAdapterId
,Writeable
,Iterable<String>
- Direct Known Subclasses:
ObjectAdapterIdNumber
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObjectAdapterIdArray
(String[] objectAdapterId) ObjectAdapterIdArray
(String name1, String name2) Special constructor used for OA IDs of length 2. -
Method Summary
Methods inherited from class com.sun.corba.ee.impl.ior.ObjectAdapterIdBase
hashCode, toString, write
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
objectAdapterId
-
-
Constructor Details
-
ObjectAdapterIdArray
-
ObjectAdapterIdArray
Special constructor used for OA IDs of length 2.- Parameters:
name1
- First name partname2
- Second name part
-
-
Method Details
-
equals
- Overrides:
equals
in classObjectAdapterIdBase
-
getNumLevels
public int getNumLevels()Description copied from interface:ObjectAdapterId
Return the number of elements in the adapter ID.- Returns:
- number of elements
-
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
Description copied from interface:ObjectAdapterId
Get the adapter name simply as an array of strings.- Returns:
- adapter name
-