org.ocltf.test
Class ExpressionTest

java.lang.Object
  extended byorg.ocltf.test.ExpressionTest

public class ExpressionTest
extends java.lang.Object

Represents a ExpressionText object loaded into an TranslatorTestConfig object.

Author:
Chad Brandon

Constructor Summary
ExpressionTest()
           
 
Method Summary
 java.lang.String getContextType()
           
 java.lang.String getFrom()
          Gets the from translation.
 java.lang.String getTo()
          Gets the translation to which the translation should match.
 void setContextType(java.lang.String contextType)
           
 void setFrom(java.lang.String from)
          Set the from translation.
 void setTo(java.lang.String to)
          Sets the translation to which the translation should match after the translation of the 'from' property occurs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionTest

public ExpressionTest()
Method Detail

getContextType

public java.lang.String getContextType()
Returns:
String the fully qualified class of the contextType

setContextType

public void setContextType(java.lang.String contextType)
Parameters:
contextType - the fully qualified class of the context type

getFrom

public java.lang.String getFrom()
Gets the from translation.

Returns:
String

setFrom

public void setFrom(java.lang.String from)
Set the from translation.

Parameters:
from - the expression from which translation occurs.

getTo

public java.lang.String getTo()
Gets the translation to which the translation should match.

Returns:
String

setTo

public void setTo(java.lang.String to)
Sets the translation to which the translation should match after the translation of the 'from' property occurs.

Parameters:
to -


Copyright © 2003-2004 Chad Brandon. All Rights Reserved.