Package adalid.core.expressions
Class AbstractConditionalX
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.AbstractExpression
-
- adalid.core.expressions.AbstractConditionalX
-
- All Implemented Interfaces:
Wrappable,Artifact,ConditionalX,Expression,NaryExpression,NaryOperation,TypedArtifact
- Direct Known Subclasses:
BooleanConditionalX,BooleanOtherwiseX,CharacterConditionalX,CharacterOtherwiseX,EntityConditionalX,EntityOtherwiseX,NumericConditionalX,NumericOtherwiseX,TemporalConditionalX,TemporalOtherwiseX
public abstract class AbstractConditionalX extends AbstractExpression implements ConditionalX
- Author:
- Jorge Campins
-
-
Field Summary
-
Fields inherited from class adalid.core.AbstractArtifact
_de_, _of_, BR, ENGLISH, FWGTS, FWLTS, HT, PORTUGUESE, SPANISH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringfieldsToString(int n, java.lang.String key, boolean verbose, boolean fields, boolean maps)BooleanExpressiongetBooleanExpression()java.lang.Class<?>getDataType()java.lang.ObjectgetElseValue()java.lang.Object[]getOperands()ConditionalOpgetOperator()java.lang.ObjectgetThenValue()-
Methods inherited from class adalid.core.AbstractExpression
checkArguments, checkUnusualArguments, checkUnusualInstance, copyDataType, finalise, getCorrespondingReferencedColumnsList, getCrossReferencedExpressionsKey, getCrossReferencedExpressionsSet, getCrossReferencedExpressionsSet, getDefaultWrapperClass, getExpressionString, getFinalStateBusinessOperationsList, getForeignExpression, getForeignExpressionField, getForeignExpressionName, getForeignExpressionType, getInitialStateBusinessOperationsList, getObjectDataType, getParentExpression, getReferencedColumnsList, getReferencedColumnsMap, getReferencedJoinsList, getReferencedJoinsList, getReferencedJoinsMap, getReferencedJoinsMap, getStringsSet, getVerifiedUsages, isBooleanExpression, isCharacterExpression, isComparisonExpression, isConditionalExpression, isCrossReferencedExpression, isDataAggregateExpression, isEntityExpression, isLogicalTautology, isNumericExpression, isOrderedPairExpression, isRowsAggregateExpression, isScalarExpression, isSingleEntityExpression, isSingleEntityExpression, isTemporalExpression, isVariantExpression, setDataType, setForeignExpressionField, setLogicalTautology
-
Methods inherited from class adalid.core.AbstractArtifact
a, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, annotate, b, b, bigDecimal, bigInteger, checkName, classToString, clearAttributes, coalesce, copyLocalizedStrings, defaultLocale, depth, fa, finish, getAlias, getAttribute, getAttribute, getAttributes, getAttributesArray, getAttributesArray, getAttributesKeySetByRegex, getBooleanAttribute, getBooleanAttribute, getClassPath, getDeclaringArtifact, getDeclaringEntity, getDeclaringEntityRoot, getDeclaringField, getDeclaringFieldEntityRoot, getDeclaringFieldIndex, getDeclaringFieldNamedClassSimpleName, getDeclaringFieldPersistentEntityRoot, getDeclaringFieldPersistentEntityTableRoot, getDeclaringOperation, getDeclaringPersistentEntity, getDeclaringPersistentEntityRoot, getDefaultCollectionLabel, getDefaultCollectionShortLabel, getDefaultDescription, getDefaultLabel, getDefaultLocale, getDefaultShortDescription, getDefaultShortLabel, getDefaultSymbol, getDefaultTooltip, getFullName, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getIntegerAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getKeyValuePairAttribute, getLocalizedCollectionLabel, getLocalizedCollectionShortLabel, getLocalizedDescription, getLocalizedLabel, getLocalizedShortDescription, getLocalizedShortLabel, getLocalizedSymbol, getLocalizedTooltip, getName, getPartialName, getPathList, getPathString, getSqlName, getStringAttribute, getStringAttribute, getStringAttribute, getStringAttribute, getStringKeyValuePairAttribute, getStringKeyValuePairAttribute, getTrace, getValidFieldAnnotations, getValidTypeAnnotations, getValueString, getValueString, getWrapper, greaterThanZero, h1, h2, h3, h4, h5, h6, hashCodeHexString, i, i, ic, ic, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isFinished, isFontAwesomeClass, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isLocalizedSymbolDefined, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, isUnicodeSymbolClass, isValidEmbeddedDocument, isValidFieldAnnotation, isValidHelpFileName, isValidHelpFileType, isValidJavaClassName, isValidSnippetFileName, isValidTypeAnnotation, localeReadingKey, localeWritingKey, m, m, mapsToString, put, round, s, s, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, setStaticAttributes, settler, setTrace, specified, specified, specified, specified, specified, specified, specified, toString, toString, toString, toString, toString, u, u, ul, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyNames, xs
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adalid.core.interfaces.Artifact
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, clearAttributes, depth, finalise, finish, getAlias, getAttribute, getAttribute, getClassPath, getDeclaringArtifact, getDeclaringEntity, getDeclaringEntityRoot, getDeclaringField, getDeclaringFieldEntityRoot, getDeclaringFieldIndex, getDeclaringFieldPersistentEntityRoot, getDeclaringFieldPersistentEntityTableRoot, getDeclaringOperation, getDeclaringPersistentEntity, getDeclaringPersistentEntityRoot, getDefaultCollectionLabel, getDefaultCollectionShortLabel, getDefaultDescription, getDefaultLabel, getDefaultLocale, getDefaultShortDescription, getDefaultShortLabel, getDefaultSymbol, getDefaultTooltip, getFullName, getLocalizedCollectionLabel, getLocalizedCollectionShortLabel, getLocalizedDescription, getLocalizedLabel, getLocalizedShortDescription, getLocalizedShortLabel, getLocalizedSymbol, getLocalizedTooltip, getName, getPartialName, getPathList, getPathString, getSqlName, hashCodeHexString, isAnnotated, isClassInPath, isDeclared, isExpression, isFinalised, isFinished, isInherited, isInheritedFromAbstract, isInheritedFromConcrete, isNotDeclared, isNotInherited, isNotInheritedFromAbstract, isNotInheritedFromConcrete, isOperation, put, round, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, toString, toString, toString, toString
-
Methods inherited from interface adalid.core.interfaces.Expression
getCrossReferencedExpressionsKey, getCrossReferencedExpressionsSet, getCrossReferencedExpressionsSet, getExpressionString, getParentExpression, getReferencedColumnsList, getReferencedColumnsMap, getReferencedJoinsList, getReferencedJoinsList, getReferencedJoinsMap, getReferencedJoinsMap, getStringsSet, getVerifiedUsages, isCrossReferencedExpression, isSingleEntityExpression, isSingleEntityExpression
-
-
-
-
Method Detail
-
getOperator
public ConditionalOp getOperator()
- Specified by:
getOperatorin interfaceConditionalX- Specified by:
getOperatorin interfaceExpression- Specified by:
getOperatorin interfaceNaryOperation- Returns:
- the operator
-
getOperands
public java.lang.Object[] getOperands()
- Specified by:
getOperandsin interfaceExpression- Specified by:
getOperandsin interfaceNaryOperation- Returns:
- the operands
-
getBooleanExpression
public BooleanExpression getBooleanExpression()
- Specified by:
getBooleanExpressionin interfaceConditionalX- Returns:
- the boolean expression
-
getThenValue
public java.lang.Object getThenValue()
- Specified by:
getThenValuein interfaceConditionalX- Returns:
- the then value
-
getElseValue
public java.lang.Object getElseValue()
- Specified by:
getElseValuein interfaceConditionalX- Returns:
- the else value
-
getDataType
public java.lang.Class<?> getDataType()
- Specified by:
getDataTypein interfaceTypedArtifact- Overrides:
getDataTypein classAbstractExpression- Returns:
- the data type
-
fieldsToString
protected java.lang.String fieldsToString(int n, java.lang.String key, boolean verbose, boolean fields, boolean maps)- Overrides:
fieldsToStringin classAbstractExpression
-
-