org.openorb.constraint.evaluator
Class ValueExtractor

java.lang.Object
  extended by org.openorb.constraint.evaluator.ValueExtractor

public class ValueExtractor
extends java.lang.Object

Author:
Jerome Daniel

Constructor Summary
ValueExtractor(IdentifierEvaluator eval, org.omg.CORBA.ORB orb)
          Constructor
 
Method Summary
 int component_type(java.lang.String component_name, org.omg.CORBA.Any value)
          This operation returns the component type from a component name Supports implicit members (per Notification Svc spec 2.4.2) _type_id, _repos_id, _length, _d
 int final_kind(org.omg.CORBA.TypeCode type)
          This operation returns a final kind value to describe an any type content
 org.omg.CORBA.TypeCode final_type(org.omg.CORBA.TypeCode type)
          This operation returns a final typecode value to describe an any type content
 java.lang.Object getValue(java.lang.Object value)
          This operation extracts a value that must be a final value : - boolean - integer - real - character - string - dynamic object - sequence - enum This operation raises BAD_PARAM is the parameter type is not managed.
 java.lang.Object getValueByPath(java.lang.Object value, java.lang.String path, java.lang.String complete_name)
          This operation is used to find a value by going through a complex any value and using a path.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueExtractor

public ValueExtractor(IdentifierEvaluator eval,
                      org.omg.CORBA.ORB orb)
Constructor

Method Detail

getValue

public java.lang.Object getValue(java.lang.Object value)
This operation extracts a value that must be a final value : - boolean - integer - real - character - string - dynamic object - sequence - enum This operation raises BAD_PARAM is the parameter type is not managed.


getValueByPath

public java.lang.Object getValueByPath(java.lang.Object value,
                                       java.lang.String path,
                                       java.lang.String complete_name)
This operation is used to find a value by going through a complex any value and using a path.


component_type

public int component_type(java.lang.String component_name,
                          org.omg.CORBA.Any value)
This operation returns the component type from a component name Supports implicit members (per Notification Svc spec 2.4.2) _type_id, _repos_id, _length, _d


final_kind

public int final_kind(org.omg.CORBA.TypeCode type)
This operation returns a final kind value to describe an any type content


final_type

public org.omg.CORBA.TypeCode final_type(org.omg.CORBA.TypeCode type)
This operation returns a final typecode value to describe an any type content