Package adalid.core
Class Operation
- java.lang.Object
-
- adalid.core.AbstractArtifact
-
- adalid.core.Operation
-
- All Implemented Interfaces:
Wrappable,Artifact,EntityReferenceContainer,java.lang.Comparable<Operation>
- Direct Known Subclasses:
BasicDatabaseOperation,ExportOperation,ProcessOperation,ReportOperation
public abstract class Operation extends AbstractArtifact implements java.lang.Comparable<Operation>, EntityReferenceContainer
- Author:
- Jorge Campins
-
-
Field Summary
Fields Modifier and Type Field Description protected static TemporalScalarXCURRENT_DATEprotected static TemporalScalarXCURRENT_TIMEprotected static TemporalScalarXCURRENT_TIMESTAMPprotected static SpecialEntityValueCURRENT_USERprotected static CharacterScalarXCURRENT_USER_CODEprotected static NumericScalarXCURRENT_USER_IDprotected static java.lang.StringEMAIL_REGEXprotected static java.lang.StringEMAIL_REGEX_ENGLISH_DESCRIPTIONprotected static java.lang.StringEMAIL_REGEX_ENGLISH_ERROR_MESSAGEprotected static java.lang.StringEMAIL_REGEX_SPANISH_DESCRIPTIONprotected static java.lang.StringEMAIL_REGEX_SPANISH_ERROR_MESSAGEprotected static java.lang.StringEMBED_CALENDARprotected static java.lang.StringEMBED_MAPSprotected static java.lang.StringEMBED_YOUTUBEprotected static CharacterScalarXEMPTYprotected static CharacterScalarXEMPTY_STRINGprotected static java.sql.DateEPOCH_DATEprotected static java.sql.TimeEPOCH_TIMEprotected static java.sql.TimestampEPOCH_TIMESTAMPprotected static java.lang.StringGOOGLEprotected static java.lang.StringGOOGLE_CALENDARprotected static java.lang.StringGOOGLE_MAPSprotected static java.lang.StringGOOGLE_MAPS_EMBED_CONVERTERprotected static java.lang.StringLOCAL_PHONE_NUMBER_VALIDATORprotected static java.lang.StringLOCAL_PHONE_REGEXprotected static java.lang.StringLOCAL_PHONE_REGEX_ENGLISH_DESCRIPTIONprotected static java.lang.StringLOCAL_PHONE_REGEX_ENGLISH_ERROR_MESSAGEprotected static java.lang.StringLOCAL_PHONE_REGEX_SPANISH_DESCRIPTIONprotected static java.lang.StringLOCAL_PHONE_REGEX_SPANISH_ERROR_MESSAGEprotected static SpecialCharacterValueNO_IMAGEprotected static BooleanScalarXNULL_BOOLEANprotected static EntityScalarXNULL_ENTITYprotected static NumericScalarXNULL_NUMBERprotected static CharacterScalarXNULL_STRINGprotected static TemporalScalarXNULL_TEMPORALprotected static java.lang.StringPHONE_NUMBER_VALIDATORprotected static java.lang.StringPHONE_REGEXprotected static java.lang.StringPHONE_REGEX_ENGLISH_DESCRIPTIONprotected static java.lang.StringPHONE_REGEX_ENGLISH_ERROR_MESSAGEprotected static java.lang.StringPHONE_REGEX_SPANISH_DESCRIPTIONprotected static java.lang.StringPHONE_REGEX_SPANISH_ERROR_MESSAGEprotected static CharacterScalarXSPACEprotected static BooleanScalarXTRUTHprotected static BooleanScalarXUNTRUTHprotected static java.lang.StringURL_REGEXprotected static java.lang.StringURL_REGEX_ENGLISH_DESCRIPTIONprotected static java.lang.StringURL_REGEX_ENGLISH_ERROR_MESSAGEprotected static java.lang.StringURL_REGEX_SPANISH_DESCRIPTIONprotected static java.lang.StringURL_REGEX_SPANISH_ERROR_MESSAGEprotected static java.lang.StringYOUTUBE-
Fields inherited from class adalid.core.AbstractArtifact
_de_, _of_, BR, ENGLISH, FWGTS, FWLTS, HT, PORTUGUESE, SPANISH
-
-
Constructor Summary
Constructors Constructor Description Operation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddAllocationStrings()protected voidaddAllocationStrings(java.lang.String... strings)El método addAllocationStrings de la meta-operación se utiliza para establecer sus cadenas de asignación (allocation strings).protected static BooleanOrderedPairXand(BooleanExpression operand1, BooleanExpression operand2)La conjunción (AND) es un operador lógico que resulta en verdadero si ambos operandos son verdadero.protected static BooleanDataAggregateXand(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)La conjunción (AND) es un operador lógico que resulta en verdadero si todos los operandos son verdadero.protected static CharacterExpressioncharStringOf(java.lang.Object x)protected booleancheckName()protected static BooleanDataAggregateXcoalesce(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)protected static CharacterDataAggregateXcoalesce(CharacterExpression operand1, CharacterExpression operand2, CharacterExpression... extraOperands)protected static EntityDataAggregateXcoalesce(Entity operand1, Entity operand2, Entity... extraOperands)protected static NumericDataAggregateXcoalesce(NumericExpression operand1, NumericExpression operand2, NumericExpression... extraOperands)protected static TemporalDataAggregateXcoalesce(TemporalExpression operand1, TemporalExpression operand2, TemporalExpression... extraOperands)intcompareTo(Operation o)protected static CharacterExpressionconcat(SpecialCharacterValue x, Expression y)protected static CharacterExpressionconcat(Expression x, Expression y)protected static CharacterExpressionconcat(Expression x, Expression y, Expression... extraOperands)protected static CharacterExpressionconcat(java.lang.String x, Expression y)booleancontainsAnchorLinkedParameters()protected static TemporalScalarXcurrentDate()protected static TemporalScalarXcurrentTime()protected static TemporalScalarXcurrentTimestamp()protected static CharacterScalarXcurrentUserCode()protected static NumericScalarXcurrentUserId()protected static TemporalExpressiondateOf(java.lang.Object x)protected static CharacterScalarXempty()protected static CharacterScalarXemptyString()protected java.lang.StringfieldsToString(int n, java.lang.String key, boolean verbose, boolean fields, boolean maps)booleanfinalise()dot the i's and cross the t'sbooleanfinish()dot the i's and cross the t'sjava.util.Set<java.lang.String>getAllocationStrings()java.util.List<Property>getCheckReferencedColumnsList()java.util.List<Check>getChecksList()static java.lang.String[]getCrudOperationKeys()java.util.List<Property>getDatabaseTriggerCheckReferencedColumnsList()java.util.List<Check>getDatabaseTriggerChecksList()java.lang.StringgetDefaultConfirmationMessage()java.lang.StringgetDefaultSuccessMessage()java.lang.Class<? extends OperationWrapper>getDefaultWrapperClass()static java.lang.StringgetDeleteOperationKey()java.util.List<Expression>getExpressionsList()java.util.Map<java.lang.String,Expression>getExpressionsMap()java.util.List<State>getFinalStatesList()java.util.List<State>getInitialStatesList()static java.lang.StringgetInsertOperationKey()ParametergetInstanceParameter()java.util.List<Check>getInstanceParameterChecksList()java.lang.StringgetLocalizedConfirmationMessage(java.util.Locale locale)java.lang.StringgetLocalizedSuccessMessage(java.util.Locale locale)OperationAccessgetOperationAccess()OperationKindgetOperationKind()OperationLogginggetOperationLogging()OperationTypegetOperationType()java.util.List<Parameter>getParametersList()java.util.List<Parameter>getParametersListByDisplaySortKey()java.util.Map<java.lang.String,Parameter>getParametersMap()java.lang.StringgetProperName()static java.lang.StringgetSelectOperationKey()KleeneangetShellEnabled()java.util.List<Transition>getTransitionsList()java.util.Map<java.lang.String,Transition>getTransitionsMap()java.util.Map<java.lang.String,Trigger>getTriggersMap()static java.lang.StringgetUpdateOperationKey()java.util.List<Property>getUserInterfaceCheckReferencedColumnsList()java.util.List<Check>getUserInterfaceChecksList()protected java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>>getValidTypeAnnotations()booleanisAnnotatedWithOperationClass()booleanisAnnotatedWithOperationDocGen()booleanisAsynchronous()booleanisComplex()booleanisConfirmationRequired()booleanisConstructor()booleanisInitialised()booleanisLocalizedConfirmationMessageDefined()booleanisLocalizedSuccessMessageDefined()booleanisOperationActivityDiagramGenEnabled()booleanisSelfConstructor()booleanisSettled()booleanisSimple()protected java.lang.StringmapsToString(int n, java.lang.String key, boolean verbose, boolean fields, boolean maps)protected static BooleanOrderedPairXnand(BooleanExpression operand1, BooleanExpression operand2)La negación alternativa (NAND) es un operador lógico que resulta en verdadero si uno de los operandos es falso.protected static BooleanDataAggregateXnand(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)La negación alternativa (NAND) es un operador lógico que resulta en verdadero si al menos uno de los operandos es falso.protected static BooleanDataAggregateXnaxnor(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)La equivalencia no-asociativa (NAXNOR) es un operador lógico que resulta en verdadero si todos los operandos son verdadero ó si todos son falso.protected static BooleanDataAggregateXnaxor(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)La disyunción exclusiva no-asociativa (NAXOR) es un operador lógico que resulta en verdadero si uno y solo uno de los operandos es verdadero.protected static BooleanOrderedPairXnor(BooleanExpression operand1, BooleanExpression operand2)La negación conjunta (NOR) es un operador lógico que resulta en verdadero si ambos operandos son falso.protected static BooleanDataAggregateXnor(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)La negación conjunta (NOR) es un operador lógico que resulta en verdadero si todos los operandos son falso.protected static BooleanDataAggregateXnorOrNaxor(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)NOR_OR_NAXOR es un operador lógico compuesto que resulta en verdadero si uno y solo uno de los operandos es verdadero ó si todos son falso.protected static BooleanScalarXnot(BooleanExpression x)La negación (NOT), también llamada complemento lógico, es un operador lógico que resulta en verdadero si el operando es falso, y viceversa.protected static BooleanScalarXnullBoolean()protected static EntityScalarXnullEntity()protected static NumericScalarXnullNumber()protected static CharacterScalarXnullString()protected static TemporalScalarXnullTemporal()protected static BooleanOrderedPairXor(BooleanExpression operand1, BooleanExpression operand2)La disyunción (OR) es un operador lógico que resulta en verdadero si uno de los operandos es verdadero.protected static BooleanDataAggregateXor(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)La disyunción (OR) es un operador lógico que resulta en verdadero si al menos uno de los operandos es verdadero.voidsetDefaultConfirmationMessage(java.lang.String message)El método setDefaultConfirmationMessage se utiliza para establecer el mensaje de confirmación de la operación que se almacena en el archivo de recursos por defecto.voidsetDefaultSuccessMessage(java.lang.String message)El método setDefaultSuccessMessage se utiliza para establecer el mensaje de éxito de la operación que se almacena en el archivo de recursos por defecto.voidsetLocalizedConfirmationMessage(java.util.Locale locale, java.lang.String message)El método setLocalizedConfirmationMessage se utiliza para establecer el mensaje de confirmación de la operación que se almacena en el archivo de recursos de configuración regional.voidsetLocalizedSuccessMessage(java.util.Locale locale, java.lang.String message)El método setLocalizedSuccessMessage se utiliza para establecer el mensaje de éxito de la operación que se almacena en el archivo de recursos de configuración regional.protected voidsettleAttributes()protected voidsettleExpressions()protected voidsettleFilters()protected voidsettleParameters()protected charsettler()java.lang.Stringsignature()protected static TemporalExpressiontimeOf(java.lang.Object x)protected static TemporalExpressiontimestampOf(java.lang.Object x)protected static BooleanScalarXtruth()protected static BooleanScalarXuntruth()protected static BooleanOrderedPairXxImpliesY(BooleanExpression operandX, BooleanExpression operandY)La condicional material (X_IMPLIES_Y) es un operador lógico que resulta en falso solo si X es verdadero y Y es falso.protected static BooleanOrderedPairXxnor(BooleanExpression operand1, BooleanExpression operand2)La equivalencia (XNOR) es un operador lógico que resulta en verdadero si ambos operandos son verdadero ó si ambos son falso.protected static BooleanOrderedPairXxor(BooleanExpression operand1, BooleanExpression operand2)La disyunción exclusiva (XOR) es un operador lógico que resulta en verdadero si uno y solo uno de los operandos es verdadero.-
Methods inherited from class adalid.core.AbstractArtifact
a, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, annotate, b, b, bigDecimal, bigInteger, classToString, clearAttributes, coalesce, copyLocalizedStrings, defaultLocale, depth, fa, 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, 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, put, round, s, s, setAlias, setDefaultCollectionLabel, setDefaultCollectionShortLabel, setDefaultDescription, setDefaultLabel, setDefaultShortDescription, setDefaultShortLabel, setDefaultSymbol, setDefaultTooltip, setLocalizedCollectionLabel, setLocalizedCollectionShortLabel, setLocalizedDescription, setLocalizedLabel, setLocalizedShortDescription, setLocalizedShortLabel, setLocalizedSymbol, setLocalizedTooltip, setSqlName, setStaticAttributes, setTrace, specified, specified, specified, specified, specified, specified, specified, toString, toString, toString, toString, toString, u, u, ul, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyExpression, verifyNames, xs
-
-
-
-
Field Detail
-
GOOGLE_MAPS_EMBED_CONVERTER
protected static final java.lang.String GOOGLE_MAPS_EMBED_CONVERTER
- See Also:
- Constant Field Values
-
PHONE_NUMBER_VALIDATOR
protected static final java.lang.String PHONE_NUMBER_VALIDATOR
- See Also:
- Constant Field Values
-
LOCAL_PHONE_NUMBER_VALIDATOR
protected static final java.lang.String LOCAL_PHONE_NUMBER_VALIDATOR
- See Also:
- Constant Field Values
-
EMAIL_REGEX
protected static final java.lang.String EMAIL_REGEX
- See Also:
- Constant Field Values
-
PHONE_REGEX
protected static final java.lang.String PHONE_REGEX
- See Also:
- Constant Field Values
-
LOCAL_PHONE_REGEX
protected static final java.lang.String LOCAL_PHONE_REGEX
- See Also:
- Constant Field Values
-
URL_REGEX
protected static final java.lang.String URL_REGEX
- See Also:
- Constant Field Values
-
NO_IMAGE
protected static final SpecialCharacterValue NO_IMAGE
-
CURRENT_USER
protected static final SpecialEntityValue CURRENT_USER
-
NULL_BOOLEAN
protected static final BooleanScalarX NULL_BOOLEAN
-
TRUTH
protected static final BooleanScalarX TRUTH
-
UNTRUTH
protected static final BooleanScalarX UNTRUTH
-
NULL_STRING
protected static final CharacterScalarX NULL_STRING
-
EMPTY_STRING
protected static final CharacterScalarX EMPTY_STRING
-
EMPTY
protected static final CharacterScalarX EMPTY
-
SPACE
protected static final CharacterScalarX SPACE
-
CURRENT_USER_CODE
protected static final CharacterScalarX CURRENT_USER_CODE
-
NULL_NUMBER
protected static final NumericScalarX NULL_NUMBER
-
CURRENT_USER_ID
protected static final NumericScalarX CURRENT_USER_ID
-
NULL_TEMPORAL
protected static final TemporalScalarX NULL_TEMPORAL
-
CURRENT_DATE
protected static final TemporalScalarX CURRENT_DATE
-
CURRENT_TIME
protected static final TemporalScalarX CURRENT_TIME
-
CURRENT_TIMESTAMP
protected static final TemporalScalarX CURRENT_TIMESTAMP
-
EPOCH_DATE
protected static final java.sql.Date EPOCH_DATE
-
EPOCH_TIME
protected static final java.sql.Time EPOCH_TIME
-
EPOCH_TIMESTAMP
protected static final java.sql.Timestamp EPOCH_TIMESTAMP
-
NULL_ENTITY
protected static final EntityScalarX NULL_ENTITY
-
EMAIL_REGEX_ENGLISH_DESCRIPTION
protected static final java.lang.String EMAIL_REGEX_ENGLISH_DESCRIPTION
- See Also:
- Constant Field Values
-
EMAIL_REGEX_SPANISH_DESCRIPTION
protected static final java.lang.String EMAIL_REGEX_SPANISH_DESCRIPTION
- See Also:
- Constant Field Values
-
EMAIL_REGEX_ENGLISH_ERROR_MESSAGE
protected static final java.lang.String EMAIL_REGEX_ENGLISH_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
EMAIL_REGEX_SPANISH_ERROR_MESSAGE
protected static final java.lang.String EMAIL_REGEX_SPANISH_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
PHONE_REGEX_ENGLISH_DESCRIPTION
protected static final java.lang.String PHONE_REGEX_ENGLISH_DESCRIPTION
- See Also:
- Constant Field Values
-
PHONE_REGEX_SPANISH_DESCRIPTION
protected static final java.lang.String PHONE_REGEX_SPANISH_DESCRIPTION
- See Also:
- Constant Field Values
-
PHONE_REGEX_ENGLISH_ERROR_MESSAGE
protected static final java.lang.String PHONE_REGEX_ENGLISH_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
PHONE_REGEX_SPANISH_ERROR_MESSAGE
protected static final java.lang.String PHONE_REGEX_SPANISH_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
LOCAL_PHONE_REGEX_ENGLISH_DESCRIPTION
protected static final java.lang.String LOCAL_PHONE_REGEX_ENGLISH_DESCRIPTION
- See Also:
- Constant Field Values
-
LOCAL_PHONE_REGEX_SPANISH_DESCRIPTION
protected static final java.lang.String LOCAL_PHONE_REGEX_SPANISH_DESCRIPTION
- See Also:
- Constant Field Values
-
LOCAL_PHONE_REGEX_ENGLISH_ERROR_MESSAGE
protected static final java.lang.String LOCAL_PHONE_REGEX_ENGLISH_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
LOCAL_PHONE_REGEX_SPANISH_ERROR_MESSAGE
protected static final java.lang.String LOCAL_PHONE_REGEX_SPANISH_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
URL_REGEX_ENGLISH_DESCRIPTION
protected static final java.lang.String URL_REGEX_ENGLISH_DESCRIPTION
- See Also:
- Constant Field Values
-
URL_REGEX_SPANISH_DESCRIPTION
protected static final java.lang.String URL_REGEX_SPANISH_DESCRIPTION
- See Also:
- Constant Field Values
-
URL_REGEX_ENGLISH_ERROR_MESSAGE
protected static final java.lang.String URL_REGEX_ENGLISH_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
URL_REGEX_SPANISH_ERROR_MESSAGE
protected static final java.lang.String URL_REGEX_SPANISH_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
EMBED_CALENDAR
protected static final java.lang.String EMBED_CALENDAR
- See Also:
- Constant Field Values
-
EMBED_MAPS
protected static final java.lang.String EMBED_MAPS
- See Also:
- Constant Field Values
-
EMBED_YOUTUBE
protected static final java.lang.String EMBED_YOUTUBE
- See Also:
- Constant Field Values
-
GOOGLE
protected static final java.lang.String GOOGLE
- See Also:
- Constant Field Values
-
GOOGLE_CALENDAR
protected static final java.lang.String GOOGLE_CALENDAR
- See Also:
- Constant Field Values
-
GOOGLE_MAPS
protected static final java.lang.String GOOGLE_MAPS
- See Also:
- Constant Field Values
-
YOUTUBE
protected static final java.lang.String YOUTUBE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSelectOperationKey
public static java.lang.String getSelectOperationKey()
-
getInsertOperationKey
public static java.lang.String getInsertOperationKey()
-
getUpdateOperationKey
public static java.lang.String getUpdateOperationKey()
-
getDeleteOperationKey
public static java.lang.String getDeleteOperationKey()
-
getCrudOperationKeys
public static java.lang.String[] getCrudOperationKeys()
-
and
protected static BooleanOrderedPairX and(BooleanExpression operand1, BooleanExpression operand2)
La conjunción (AND) es un operador lógico que resulta en verdadero si ambos operandos son verdadero.- Parameters:
operand1- Xoperand2- Y- Returns:
- verdadero si ambos operandos son verdadero; de lo contrario, falso.
-
nand
protected static BooleanOrderedPairX nand(BooleanExpression operand1, BooleanExpression operand2)
La negación alternativa (NAND) es un operador lógico que resulta en verdadero si uno de los operandos es falso. Es equivalente a la negación (NOT) de la conjunción (AND).- Parameters:
operand1- Xoperand2- Y- Returns:
- verdadero si uno de los operandos es falso; de lo contrario, falso.
-
or
protected static BooleanOrderedPairX or(BooleanExpression operand1, BooleanExpression operand2)
La disyunción (OR) es un operador lógico que resulta en verdadero si uno de los operandos es verdadero.- Parameters:
operand1- Xoperand2- Y- Returns:
- verdadero si uno de los operandos es verdadero; de lo contrario, falso.
-
nor
protected static BooleanOrderedPairX nor(BooleanExpression operand1, BooleanExpression operand2)
La negación conjunta (NOR) es un operador lógico que resulta en verdadero si ambos operandos son falso. Es equivalente a la negación (NOT) de la disyunción (OR).- Parameters:
operand1- Xoperand2- Y- Returns:
- verdadero si ambos operandos son falso; de lo contrario, falso.
-
xor
protected static BooleanOrderedPairX xor(BooleanExpression operand1, BooleanExpression operand2)
La disyunción exclusiva (XOR) es un operador lógico que resulta en verdadero si uno y solo uno de los operandos es verdadero.- Parameters:
operand1- Xoperand2- Y- Returns:
- verdadero si uno y solo uno de los operandos es verdadero; de lo contrario, falso.
-
xnor
protected static BooleanOrderedPairX xnor(BooleanExpression operand1, BooleanExpression operand2)
La equivalencia (XNOR) es un operador lógico que resulta en verdadero si ambos operandos son verdadero ó si ambos son falso. Es equivalente a la negación (NOT) de la disyunción exclusiva (XOR).- Parameters:
operand1- Xoperand2- Y- Returns:
- verdadero si ambos operandos son verdadero ó si ambos son falso; de lo contrario, falso.
-
xImpliesY
protected static BooleanOrderedPairX xImpliesY(BooleanExpression operandX, BooleanExpression operandY)
La condicional material (X_IMPLIES_Y) es un operador lógico que resulta en falso solo si X es verdadero y Y es falso. Es equivalente a la disyunción (OR) de la negación (NOT) de X con Y (NOT X OR Y).- Parameters:
operandX- XoperandY- Y- Returns:
- falso solo si X es verdadero y Y es falso; de lo contrario, verdadero.
-
and
protected static BooleanDataAggregateX and(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)
La conjunción (AND) es un operador lógico que resulta en verdadero si todos los operandos son verdadero.- Parameters:
operand1- Xoperand2- YextraOperands- operandos adicionales- Returns:
- verdadero si todos los operandos son verdadero; de lo contrario, falso.
-
nand
protected static BooleanDataAggregateX nand(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)
La negación alternativa (NAND) es un operador lógico que resulta en verdadero si al menos uno de los operandos es falso. Es equivalente a la negación (NOT) de la conjunción (AND).- Parameters:
operand1- Xoperand2- YextraOperands- operandos adicionales- Returns:
- verdadero si al menos uno de los operandos es falso; de lo contrario, falso.
-
or
protected static BooleanDataAggregateX or(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)
La disyunción (OR) es un operador lógico que resulta en verdadero si al menos uno de los operandos es verdadero.- Parameters:
operand1- Xoperand2- YextraOperands- operandos adicionales- Returns:
- verdadero si al menos uno de los operandos es verdadero; de lo contrario, falso.
-
nor
protected static BooleanDataAggregateX nor(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)
La negación conjunta (NOR) es un operador lógico que resulta en verdadero si todos los operandos son falso. Es equivalente a la negación (NOT) de la disyunción (OR).- Parameters:
operand1- Xoperand2- YextraOperands- operandos adicionales- Returns:
- verdadero si todos los operandos son falso; de lo contrario, falso.
-
naxor
protected static BooleanDataAggregateX naxor(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)
La disyunción exclusiva no-asociativa (NAXOR) es un operador lógico que resulta en verdadero si uno y solo uno de los operandos es verdadero.- Parameters:
operand1- Xoperand2- YextraOperands- operandos adicionales- Returns:
- verdadero si uno y solo uno de los operandos es verdadero; de lo contrario, falso.
-
naxnor
protected static BooleanDataAggregateX naxnor(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)
La equivalencia no-asociativa (NAXNOR) es un operador lógico que resulta en verdadero si todos los operandos son verdadero ó si todos son falso. Es equivalente a la negación (NOT) de la disyunción exclusiva no-asociativa (NAXOR).- Parameters:
operand1- Xoperand2- YextraOperands- operandos adicionales- Returns:
- verdadero si todos los operandos son verdadero ó si todos son falso; de lo contrario, falso.
-
norOrNaxor
protected static BooleanDataAggregateX norOrNaxor(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)
NOR_OR_NAXOR es un operador lógico compuesto que resulta en verdadero si uno y solo uno de los operandos es verdadero ó si todos son falso. Es equivalente a la disyunción (OR) de la negación conjunta (NOR) y la disyunción exclusiva no-asociativa (NAXOR). Con solo dos operandos también es equivalente a la negación alternativa (NAND).- Parameters:
operand1- Xoperand2- YextraOperands- operandos adicionales- Returns:
- verdadero si uno y solo uno de los operandos es verdadero ó si todos son falso; de lo contrario, falso.
-
not
protected static BooleanScalarX not(BooleanExpression x)
La negación (NOT), también llamada complemento lógico, es un operador lógico que resulta en verdadero si el operando es falso, y viceversa.- Parameters:
x- operando X- Returns:
- verdadero si el operando es falso, y viceversa.
-
isInitialised
public boolean isInitialised()
- Returns:
- the initialised indicator
-
isSettled
public boolean isSettled()
- Returns:
- the settled indicator
-
settler
protected char settler()
- Overrides:
settlerin classAbstractArtifact- Returns:
- the settler
-
isAnnotatedWithOperationClass
public boolean isAnnotatedWithOperationClass()
- Returns:
- the OperationClass annotation indicator
-
isAnnotatedWithOperationDocGen
public boolean isAnnotatedWithOperationDocGen()
- Returns:
- the OperationDocGen annotation indicator
-
getProperName
public java.lang.String getProperName()
- Returns:
- the proper name
-
getParametersList
public java.util.List<Parameter> getParametersList()
- Returns:
- the parameters list
-
getInstanceParameter
public Parameter getInstanceParameter()
- Returns:
- the instance parameter (if any)
-
getExpressionsList
public java.util.List<Expression> getExpressionsList()
- Returns:
- the expressions
-
getInitialStatesList
public java.util.List<State> getInitialStatesList()
-
getFinalStatesList
public java.util.List<State> getFinalStatesList()
-
getChecksList
public java.util.List<Check> getChecksList()
-
getDatabaseTriggerChecksList
public java.util.List<Check> getDatabaseTriggerChecksList()
-
getUserInterfaceChecksList
public java.util.List<Check> getUserInterfaceChecksList()
-
getInstanceParameterChecksList
public java.util.List<Check> getInstanceParameterChecksList()
-
getTransitionsList
public java.util.List<Transition> getTransitionsList()
- Returns:
- the transitions
-
getCheckReferencedColumnsList
public java.util.List<Property> getCheckReferencedColumnsList()
-
getDatabaseTriggerCheckReferencedColumnsList
public java.util.List<Property> getDatabaseTriggerCheckReferencedColumnsList()
-
getUserInterfaceCheckReferencedColumnsList
public java.util.List<Property> getUserInterfaceCheckReferencedColumnsList()
-
getParametersMap
public java.util.Map<java.lang.String,Parameter> getParametersMap()
- Returns:
- the parameters map
-
getExpressionsMap
public java.util.Map<java.lang.String,Expression> getExpressionsMap()
- Returns:
- the expressions
-
getTransitionsMap
public java.util.Map<java.lang.String,Transition> getTransitionsMap()
- Returns:
- the transitions
-
getTriggersMap
public java.util.Map<java.lang.String,Trigger> getTriggersMap()
- Returns:
- the triggers
-
getOperationType
public OperationType getOperationType()
- Returns:
- the operation type
-
getOperationKind
public OperationKind getOperationKind()
- Returns:
- the kind of operation
-
getOperationAccess
public OperationAccess getOperationAccess()
- Returns:
- the access type
-
isAsynchronous
public boolean isAsynchronous()
- Returns:
- the asynchronous execution indicator
-
getShellEnabled
public Kleenean getShellEnabled()
- Returns:
- the shell enabled indicator
-
isConfirmationRequired
public boolean isConfirmationRequired()
- Returns:
- the confirmation required indicator
-
isComplex
public boolean isComplex()
- Returns:
- the complex operation indicator
-
isSimple
public boolean isSimple()
- Returns:
- the simple operation indicator
-
isConstructor
public boolean isConstructor()
- Returns:
- the constructor operation indicator
-
isSelfConstructor
public boolean isSelfConstructor()
- Returns:
- the self-constructor operation indicator
-
getOperationLogging
public OperationLogging getOperationLogging()
- Returns:
- the operation logging mode
-
isOperationActivityDiagramGenEnabled
public boolean isOperationActivityDiagramGenEnabled()
- Returns:
- the operation activity diagram generation indicator
-
getDefaultConfirmationMessage
public java.lang.String getDefaultConfirmationMessage()
- Returns:
- the default confirmation message
-
setDefaultConfirmationMessage
public void setDefaultConfirmationMessage(java.lang.String message)
El método setDefaultConfirmationMessage se utiliza para establecer el mensaje de confirmación de la operación que se almacena en el archivo de recursos por defecto. En caso de que el archivo de recursos para el idioma seleccionado por el usuario no esté disponible, la interfaz de la aplicación utiliza el archivo de recursos por defecto para obtener el mensaje.- Parameters:
message- mensaje que se muestra en el diálogo de confirmación
-
getLocalizedConfirmationMessage
public java.lang.String getLocalizedConfirmationMessage(java.util.Locale locale)
- Parameters:
locale- the locale for the confirmation message- Returns:
- the localized confirmation message
-
setLocalizedConfirmationMessage
public void setLocalizedConfirmationMessage(java.util.Locale locale, java.lang.String message)El método setLocalizedConfirmationMessage se utiliza para establecer el mensaje de confirmación de la operación que se almacena en el archivo de recursos de configuración regional. En caso de que el archivo de recursos para el idioma seleccionado por el usuario no esté disponible, la interfaz de la aplicación utiliza el archivo de recursos por defecto para obtener el mensaje.- Parameters:
locale- configuración regionalmessage- mensaje que se muestra en el diálogo de confirmación
-
isLocalizedConfirmationMessageDefined
public boolean isLocalizedConfirmationMessageDefined()
-
getDefaultSuccessMessage
public java.lang.String getDefaultSuccessMessage()
- Returns:
- the default success message
-
setDefaultSuccessMessage
public void setDefaultSuccessMessage(java.lang.String message)
El método setDefaultSuccessMessage se utiliza para establecer el mensaje de éxito de la operación que se almacena en el archivo de recursos por defecto. En caso de que el archivo de recursos para el idioma seleccionado por el usuario no esté disponible, la interfaz de la aplicación utiliza el archivo de recursos por defecto para obtener el mensaje.- Parameters:
message- mensaje que se muestra si la operación se ejecuta exitosamente
-
getLocalizedSuccessMessage
public java.lang.String getLocalizedSuccessMessage(java.util.Locale locale)
- Parameters:
locale- the locale for the success message- Returns:
- the localized success message
-
setLocalizedSuccessMessage
public void setLocalizedSuccessMessage(java.util.Locale locale, java.lang.String message)El método setLocalizedSuccessMessage se utiliza para establecer el mensaje de éxito de la operación que se almacena en el archivo de recursos de configuración regional. En caso de que el archivo de recursos para el idioma seleccionado por el usuario no esté disponible, la interfaz de la aplicación utiliza el archivo de recursos por defecto para obtener el mensaje.- Parameters:
locale- configuración regionalmessage- mensaje que se muestra si la operación se ejecuta exitosamente
-
isLocalizedSuccessMessageDefined
public boolean isLocalizedSuccessMessageDefined()
-
getAllocationStrings
public java.util.Set<java.lang.String> getAllocationStrings()
- Specified by:
getAllocationStringsin interfaceEntityReferenceContainer
-
addAllocationStrings
protected void addAllocationStrings()
-
addAllocationStrings
protected void addAllocationStrings(java.lang.String... strings)
El método addAllocationStrings de la meta-operación se utiliza para establecer sus cadenas de asignación (allocation strings). Las cadenas de asignación permiten especificar meta-entidades referenciadas por expresiones de la meta-operación, y que, por lo tanto, deben ser construidas (instanciadas) al generar la aplicación.- Parameters:
strings- una o más cadenas de asignación (allocation strings). Cada cadena de asignación es una lista de referencias (meta-parámetros que hacen referencia a otras meta-entidades) separadas por puntos (siguiendo la notación de puntos de Java), comenzando por uno de los meta parámetros definidos en la meta-operación.
-
settleAttributes
protected void settleAttributes()
-
settleParameters
protected void settleParameters()
-
settleExpressions
protected void settleExpressions()
-
settleFilters
protected void settleFilters()
-
finalise
public boolean finalise()
Description copied from interface:Artifactdot the i's and cross the t's- Specified by:
finalisein interfaceArtifact- Overrides:
finalisein classAbstractArtifact- Returns:
- true if this artifact was successfully finalised; otherwise false
-
finish
public boolean finish()
Description copied from interface:Artifactdot the i's and cross the t's- Specified by:
finishin interfaceArtifact- Overrides:
finishin classAbstractArtifact- Returns:
- true if this artifact was successfully finished; otherwise false
-
containsAnchorLinkedParameters
public boolean containsAnchorLinkedParameters()
- Returns:
- the contains anchor-linked parameters indicator
-
getParametersListByDisplaySortKey
public java.util.List<Parameter> getParametersListByDisplaySortKey()
- Returns:
- the parameters list sorted by display sort key
-
checkName
protected boolean checkName()
- Overrides:
checkNamein classAbstractArtifact
-
getValidTypeAnnotations
protected java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> getValidTypeAnnotations()
- Overrides:
getValidTypeAnnotationsin classAbstractArtifact
-
nullBoolean
protected static BooleanScalarX nullBoolean()
-
truth
protected static BooleanScalarX truth()
-
untruth
protected static BooleanScalarX untruth()
-
nullString
protected static CharacterScalarX nullString()
-
emptyString
protected static CharacterScalarX emptyString()
-
empty
protected static CharacterScalarX empty()
-
currentUserCode
protected static CharacterScalarX currentUserCode()
-
nullNumber
protected static NumericScalarX nullNumber()
-
currentUserId
protected static NumericScalarX currentUserId()
-
nullTemporal
protected static TemporalScalarX nullTemporal()
-
currentDate
protected static TemporalScalarX currentDate()
-
currentTime
protected static TemporalScalarX currentTime()
-
currentTimestamp
protected static TemporalScalarX currentTimestamp()
-
nullEntity
protected static EntityScalarX nullEntity()
-
coalesce
protected static EntityDataAggregateX coalesce(Entity operand1, Entity operand2, Entity... extraOperands)
-
coalesce
protected static BooleanDataAggregateX coalesce(BooleanExpression operand1, BooleanExpression operand2, BooleanExpression... extraOperands)
-
coalesce
protected static CharacterDataAggregateX coalesce(CharacterExpression operand1, CharacterExpression operand2, CharacterExpression... extraOperands)
-
coalesce
protected static NumericDataAggregateX coalesce(NumericExpression operand1, NumericExpression operand2, NumericExpression... extraOperands)
-
coalesce
protected static TemporalDataAggregateX coalesce(TemporalExpression operand1, TemporalExpression operand2, TemporalExpression... extraOperands)
-
concat
protected static CharacterExpression concat(java.lang.String x, Expression y)
-
concat
protected static CharacterExpression concat(SpecialCharacterValue x, Expression y)
-
concat
protected static CharacterExpression concat(Expression x, Expression y)
-
concat
protected static CharacterExpression concat(Expression x, Expression y, Expression... extraOperands)
-
charStringOf
protected static CharacterExpression charStringOf(java.lang.Object x)
-
dateOf
protected static TemporalExpression dateOf(java.lang.Object x)
-
timeOf
protected static TemporalExpression timeOf(java.lang.Object x)
-
timestampOf
protected static TemporalExpression timestampOf(java.lang.Object x)
-
compareTo
public int compareTo(Operation o)
- Specified by:
compareToin interfacejava.lang.Comparable<Operation>
-
getDefaultWrapperClass
public java.lang.Class<? extends OperationWrapper> getDefaultWrapperClass()
- Specified by:
getDefaultWrapperClassin interfaceWrappable- Overrides:
getDefaultWrapperClassin classAbstractArtifact- Returns:
- the default wrapper class
-
signature
public java.lang.String signature()
-
fieldsToString
protected java.lang.String fieldsToString(int n, java.lang.String key, boolean verbose, boolean fields, boolean maps)- Overrides:
fieldsToStringin classAbstractArtifact
-
mapsToString
protected java.lang.String mapsToString(int n, java.lang.String key, boolean verbose, boolean fields, boolean maps)- Overrides:
mapsToStringin classAbstractArtifact
-
-