org.ujac.util.exi.type
Class StringType

java.lang.Object
  extended by org.ujac.util.exi.type.BaseType
      extended by org.ujac.util.exi.type.StringType
All Implemented Interfaces:
ExpressionType

public class StringType
extends BaseType

Name: StringType
Description: An expression type handler for String values.

Author:
lauerc

Nested Class Summary
 class StringType.CapitalizeOperation
          The capitalize operation for Strings.
 class StringType.ConcatOperation
          The 'concat' operation for Strings.
 class StringType.EqualOperation
          The equal compare operation for Strings.
 class StringType.IsEmptyOperation
          The 'isEmpty' operation for Strings.
 class StringType.LengthOperation
          The length operation for Strings.
 class StringType.LikeOperation
          The like compare operation for Strings.
 class StringType.LowerCaseOperation
          The lowerCase operation for Strings.
 class StringType.NotEmptyOperation
          The 'notEmpty' operation for Strings.
 class StringType.NotEqualOperation
          The 'not equal' compare operation for Strings.
 class StringType.NotLikeOperation
          The notLike compare operation for Strings.
 class StringType.SubstringOperation
          The 'substring' operation for Strings.
 class StringType.TrimOperation
          The 'trim' operation for Strings.
 class StringType.UpperCaseOperation
          The upperCase operation for Strings.
 
Nested classes/interfaces inherited from class org.ujac.util.exi.type.BaseType
BaseType.InstanceofOperation, BaseType.ObjectDefinedOperation, BaseType.ObjectNotDefinedOperation, BaseType.ToStringOperation
 
Field Summary
 
Fields inherited from class org.ujac.util.exi.type.BaseType
interpreter, operations
 
Constructor Summary
StringType(ExpressionInterpreter interpreter)
          Constructs a StringType instance with specific arguments.
 
Method Summary
 String getAlias()
          Gets the alias of the expression type.
 Class getType()
          Gets the class of the expression type.
 
Methods inherited from class org.ujac.util.exi.type.BaseType
addOperation, evalTuple, execToString, getDescription, getOperation, getOperationNames, getOperations, getTypeName, removeAllOperations, removeOperation, typeCast
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringType

public StringType(ExpressionInterpreter interpreter)
Constructs a StringType instance with specific arguments.

Parameters:
interpreter - The expression interpreter.
Method Detail

getType

public Class getType()
Description copied from interface: ExpressionType
Gets the class of the expression type.

Returns:
The class the expression type is valid for.
See Also:
ExpressionType.getType()

getAlias

public String getAlias()
Gets the alias of the expression type.

Specified by:
getAlias in interface ExpressionType
Overrides:
getAlias in class BaseType
Returns:
The tpye alias.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.