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 Object
implements Identifiable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGenericIdentifiable
(int id, byte[] data) GenericIdentifiable
(int id, InputStream is) -
Method Summary
-
Field Details
-
id
private int id -
data
private byte[] data
-
-
Constructor Details
-
GenericIdentifiable
-
GenericIdentifiable
public GenericIdentifiable(int id, byte[] data)
-
-
Method Details
-
getId
public int getId()Description copied from interface:Identifiable
Return the (type) identity of this entity.- Specified by:
getId
in interfaceIdentifiable
- Returns:
- int
-
write
Description copied from interface:Writeable
Write this object directly to the output stream. -
toString
-
equals
-
hashCode
public int hashCode() -
getData
@ManagedAttribute @Description("The tagged component or profile CDR encoded data") public byte[] getData()
-