MonitoredEntities
Class ParameterImpl

java.lang.Object
  |
  +--org.omg.PortableServer.Servant
        |
        +--MonitoredEntities.ParameterPOA
              |
              +--MonitoredEntities.ParameterImpl
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, MonitoredEntities.ParameterOperations

public class ParameterImpl
extends MonitoredEntities.ParameterPOA

Implements the MonitoredEntities/Parameter interface.


Constructor Summary
ParameterImpl(java.lang.String pid, org.omg.CORBA.ORB orb, Persistence pobj)
          Loads the state of the parameter this object is incarnating from persistent storage.
 
Method Summary
 java.lang.String description()
          Returns the description of this parameter.
 MonitoredEntities.EntityType metype()
          Returns the identification of the entity type this parameter relates to.
 int num_ranges()
          Returns the number of ranges defined for this parameter.
 java.lang.String pid()
          Returns the identification of this parameter.
 MonitoredEntities.range[] ranges()
          Returns a list of ranges defined for this parameter.
 
Methods inherited from class MonitoredEntities.ParameterPOA
_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

ParameterImpl

public ParameterImpl(java.lang.String pid,
                     org.omg.CORBA.ORB orb,
                     Persistence pobj)
Loads the state of the parameter this object is incarnating from persistent storage. Receives an reference to the Persistence object and calls the method PLoadState that returns the state of the parameter this object is incarnating (identified by pid).

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

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

pid

public java.lang.String pid()
Returns the identification of this parameter.
Overrides:
pid in class MonitoredEntities.ParameterPOA
Returns:
the identification of this parameter

description

public java.lang.String description()
Returns the description of this parameter.
Overrides:
description in class MonitoredEntities.ParameterPOA
Returns:
the description of this parameter

metype

public MonitoredEntities.EntityType metype()
Returns the identification of the entity type this parameter relates to.
Overrides:
metype in class MonitoredEntities.ParameterPOA
Returns:
the identification of the entity type this parameter relates to

ranges

public MonitoredEntities.range[] ranges()
Returns a list of ranges defined for this parameter.
Overrides:
ranges in class MonitoredEntities.ParameterPOA
Returns:
a list of ranfes defined for this parameter

num_ranges

public int num_ranges()
Returns the number of ranges defined for this parameter.
Overrides:
num_ranges in class MonitoredEntities.ParameterPOA
Returns:
the number of ranfes defined for this parameter