org.apache.ws.jaxme.sqls.impl
Class CaseImpl.WhenImpl

java.lang.Object
  extended by org.apache.ws.jaxme.sqls.impl.CaseImpl.WhenImpl
All Implemented Interfaces:
Case.When
Enclosing class:
CaseImpl

public static class CaseImpl.WhenImpl
extends java.lang.Object
implements Case.When

Implementation of a Case.When clause.


Constructor Summary
CaseImpl.WhenImpl(java.lang.Object pCondition, java.lang.Object pValue)
          Creates a new instance with the given condition and value.
 
Method Summary
 java.lang.Object getCondition()
          Returns the condition.
 java.lang.Object getValue()
          Returns the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseImpl.WhenImpl

public CaseImpl.WhenImpl(java.lang.Object pCondition,
                         java.lang.Object pValue)
Creates a new instance with the given condition and value.

Method Detail

getCondition

public java.lang.Object getCondition()
Description copied from interface: Case.When
Returns the condition. In a "when x then a" clause the condition is "x".

Specified by:
getCondition in interface Case.When

getValue

public java.lang.Object getValue()
Description copied from interface: Case.When
Returns the value. In a "when x then a" clause the condition is "a".

Specified by:
getValue in interface Case.When