MonitoredEntities
Class EntityTypeImpl

java.lang.Object
  |
  +--org.omg.PortableServer.Servant
        |
        +--MonitoredEntities.EntityTypePOA
              |
              +--MonitoredEntities.EntityTypeImpl
All Implemented Interfaces:
MonitoredEntities.EntityTypeOperations, org.omg.CORBA.portable.InvokeHandler

public class EntityTypeImpl
extends MonitoredEntities.EntityTypePOA

Implements the MonitoredEntities/EntityType interface.


Constructor Summary
EntityTypeImpl(java.lang.String metid, org.omg.CORBA.ORB orb, Persistence pobj)
          Loads the state of the entity type this object is incarnating from persistent storage.
 
Method Summary
 java.lang.String description()
          Returns the description of this entity type.
 java.lang.String metid()
          Returns the identification of this entity type.
 
Methods inherited from class MonitoredEntities.EntityTypePOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityTypeImpl

public EntityTypeImpl(java.lang.String metid,
                      org.omg.CORBA.ORB orb,
                      Persistence pobj)
Loads the state of the entity type this object is incarnating from persistent storage. Receives an reference to the Persistence object and calls the method ETLoadState that returns the state of the entity type this object is incarnating (identified by meid).

The state of the entity type is returned in an object array that must have its elements casted to the specific type of each class variable.

Parameters:
metid - identification of the entity type the object is incarnating
orb - reference to orb
pobj - reference to Persistence object
Method Detail

metid

public java.lang.String metid()
Returns the identification of this entity type.
Overrides:
metid in class MonitoredEntities.EntityTypePOA
Returns:
the identification of this entity type

description

public java.lang.String description()
Returns the description of this entity type.
Overrides:
description in class MonitoredEntities.EntityTypePOA
Returns:
the description of this entity type