Package org.faktorips.fl
Interface UnaryOperation<T extends org.faktorips.codegen.CodeFragment>
- Type Parameters:
T- aCodeFragmentimplementation for a specific target language
- All Known Implementing Classes:
AbstractUnaryJavaOperation,AbstractUnaryOperation,MinusDecimal,MinusInteger,MinusMoney,MinusPrimitiveInt,ParenthesisDecimal,ParenthesisInt,ParenthesisMoney,ParenthesisString,PlusDecimal,PlusInteger,PlusMoney,PlusPrimitiveInt
public interface UnaryOperation<T extends org.faktorips.codegen.CodeFragment>
An operation combining one operator with it's single operand.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongenerate(CompilationResult<T> arg) Generates theCompilationResultfor the given operand.org.faktorips.datatype.DatatypeReturns theDatatypeof the operation's result.Returns the operator.
-
Field Details
-
NOT
- See Also:
-
-
Method Details
-
getOperator
String getOperator()Returns the operator. -
getDatatype
org.faktorips.datatype.Datatype getDatatype()Returns theDatatypeof the operation's result. -
generate
Generates theCompilationResultfor the given operand.- Parameters:
arg- the operand- Returns:
- the given operand combined with this operation's operator
-