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 boolean
equals(java.lang.Object obj)
byte[]
getData()
int
getId()
Return the (type) identity of this entity.int
hashCode()
java.lang.String
toString()
void
write(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:Identifiable
Return the (type) identity of this entity.- Specified by:
getId
in interfaceIdentifiable
- Returns:
- int
-
write
public void write(OutputStream os)
Description copied from interface:Writeable
Write this object directly to the output stream.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getData
@ManagedAttribute @Description("The tagged component or profile CDR encoded data") public byte[] getData()
-
-