Package com.sun.corba.ee.impl.ior
Class GenericIdentifiable
- java.lang.Object
-
- com.sun.corba.ee.impl.ior.GenericIdentifiable
-
- All Implemented Interfaces:
Identifiable,Writeable
- Direct Known Subclasses:
GenericTaggedComponent,GenericTaggedProfile
@ManagedData @Description("A generic implementation of an IIOP encapsulation with an integer id") public abstract class GenericIdentifiable extends java.lang.Object implements Identifiable
-
-
Constructor Summary
Constructors Constructor Description GenericIdentifiable(int id, byte[] data)GenericIdentifiable(int id, InputStream is)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)byte[]getData()intgetId()Return the (type) identity of this entity.inthashCode()java.lang.StringtoString()voidwrite(OutputStream os)Write this object directly to the output stream.
-
-
-
Constructor Detail
-
GenericIdentifiable
public GenericIdentifiable(int id, InputStream is)
-
GenericIdentifiable
public GenericIdentifiable(int id, byte[] data)
-
-
Method Detail
-
getId
public int getId()
Description copied from interface:IdentifiableReturn the (type) identity of this entity.- Specified by:
getIdin interfaceIdentifiable- Returns:
- int
-
write
public void write(OutputStream os)
Description copied from interface:WriteableWrite this object directly to the output stream.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getData
@ManagedAttribute @Description("The tagged component or profile CDR encoded data") public byte[] getData()
-
-