ua.gradsoft.termware
Class AbstractBuildinTransformer

java.lang.Object
  extended by ua.gradsoft.termware.AbstractBuildinTransformer
All Implemented Interfaces:
ITermTransformer
Direct Known Subclasses:
AbstractTermRewritingStrategy, ApplyTransformer, ArityTransformer, AssignTransformer, CloneTransformer, DefaultFacts.MethodTransformer, DivideTransformer, DomainTransformer, EqTransformer, GetCurrentTimeInMillisTransformer, GetPropertyTransformer, GetRulesetTransformer, GreaterEqTransformer, GreaterTransformer, IfTransformer, IntersectionTransformer, IsAtomTransformer, IsBigDecimalTransformer, IsBigIntegerTransformer, IsBooleanTransformer, IsByteTransformer, IsCharTransformer, IsDoubleTransformer, IsFloatTransformer, IsIntTransformer, IsJavaObjectTransformer, IsListTransformer, IsLongTransformer, IsNilTransformer, IsNumberTransformer, IsShortTransformer, IsStringTransformer, IsXTransformer, JavaFactsTransformer, JavaStrategyTransformer, JSR223ProgramTransformer, LessEqTransformer, LessTransformer, LetTransformer, ListAppendTransformer, ListCarTransformer, ListCdrTransformer, ListInsertTransformer, ListLengthTransformer, LoadFileTransformer, LogicalAndTransformer, LogicalNotTransformer, LogicalOrTransformer, MinusTransformer, ModTransformer, MultiplyTransformer, NeqTransformer, PlusTransformer, PrintStringTransformer, PrintTermTransformer, ReduceTransformer, ReverseTransformer, SetFactTransformer, SetPropertyTransformer, StringConcatTransformer, StringConvertTransformer, StringLengthTransformer, StringMatchesTransformer, StringParseTransformer, StringSplitTransformer, StringSubstTransformer, SublistTransformer, SystemTransformer, TermNameTransformer, ToBigDecimalTransformer, ToBigIntegerTransformer, ToBooleanTransformer, ToDoubleTransformer, ToIntTransformer, ToLongTransformer, ToStringTransformer, UnifyTransformer, WhereTransformer

public abstract class AbstractBuildinTransformer
extends Object
implements ITermTransformer

Abstract transformer for build-in operations.

Author:
Ruslan Shevchenko

Constructor Summary
AbstractBuildinTransformer()
           
 
Method Summary
 String getDescription()
          get description of transformer.
 String getName()
          get name of transformer.
 String getSource()
          return source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ua.gradsoft.termware.ITermTransformer
transform
 

Constructor Detail

AbstractBuildinTransformer

public AbstractBuildinTransformer()
Method Detail

getSource

public String getSource()
return source. in our case return string 'build-in'.

Specified by:
getSource in interface ITermTransformer

getName

public String getName()
get name of transformer. Default behaviour -- return the value of annotation @TransformerName binded to this.getClass().

Specified by:
getName in interface ITermTransformer
Returns:
name of transformer.
See Also:
TransformerName

getDescription

public String getDescription()
get description of transformer. Default behaviour -- return the value of annotation @TransformerDescription binded to this.getClass().

Specified by:
getDescription in interface ITermTransformer
See Also:
TransformerDescription