org.openorb.constraint.object
Class IdentifierValue

java.lang.Object
  extended by org.openorb.constraint.object.Base
      extended by org.openorb.constraint.object.IdentifierValue

public class IdentifierValue
extends Base

This class is returned by the identifier evaluator if the result type is an identifier

Author:
Jerome Daniel

Constructor Summary
IdentifierValue(java.lang.String name, IdentifierEvaluator identEval)
          Constructor
 
Method Summary
 java.lang.Object evaluate()
          Returns the identifier value
 java.lang.String getIdentifierName()
          Returns the identifier name
 boolean isDefaultUnionValue()
          Return true if the current value is a default union value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentifierValue

public IdentifierValue(java.lang.String name,
                       IdentifierEvaluator identEval)
Constructor

Method Detail

evaluate

public java.lang.Object evaluate()
Returns the identifier value

Specified by:
evaluate in class Base

isDefaultUnionValue

public boolean isDefaultUnionValue()
                            throws InvalidValue
Return true if the current value is a default union value

Throws:
InvalidValue

getIdentifierName

public java.lang.String getIdentifierName()
Returns the identifier name