@Restricted public class JboEOExistsValidator extends JboExistsValidator implements JboTransValidatorInterface
ValidatorConstants.MessageFlavor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASSOC_DIRECTION_FORWARD |
static java.lang.String |
ASSOC_DIRECTION_REVERSE |
static java.lang.String |
PNAME_ASSOC_NAME |
static java.lang.String |
PNAME_DIRECTION |
mAltKeyName, mCounterId, mIsEffectiveDated, mTargetAttrNames, mTargetName, mViewKeyAttrs, mViewKeyTrigAttrs, mVOCache, mVOName
mValidatingAttr
mbInverse, mDescription, mErrorMessageClass, mIsObjectResolved, mMsgId, mMsgIds, mResourceBundleId, mTriggeringAttributeNames, mTriggeringAttributes, mValidatingAttrName
mFullName, mObjName, mParent, mProperties, RES_ID_SUFFIX, RESID_SUFFIX
ATTR, ATTR_STR, BETWEEN, EO, EO_STR, EQUALTO, EXPR, EXPR_STR, GREATERTHAN, GREATERTHANEQUALTO, JBO, JBO_STR, LESSTHAN, LESSTHANEQUALTO, LITERAL, LITERAL_STR, MANDATORY_STR, mCompOperTypeVals, mRhsTypeVals, mSeverityVals, NOTEQUALTO, PNAME_CompareLength, PNAME_CompareType, PNAME_CompareValue, PNAME_DataType, PNAME_Description, PNAME_ErrorMessageExpressions, PNAME_ErrorMessageId, PNAME_ErrorMessageIds, PNAME_Exposed, PNAME_ExprValueSupplier, PNAME_ForPersonalization, PNAME_Inverse, PNAME_MessageFlavor, PNAME_Name, PNAME_OnAttribute, PNAME_OnAttributes, PNAME_OnCondition, PNAME_OperandType, PNAME_Severity, PNAME_Subtype, PNAME_TransactionLevel, PNAME_TransientExpression, PNAME_Trigger, PNAME_ValidationBeanClass, PNAME_ValName, PNAME_xmlns, PRECISION_SCALE_STR, SEVERITY_ERROR, SEVERITY_RECOVERABLE_ERROR_INDEX, SEVERITY_VETOABLE_WARNING, SEVERITY_WARNING, SQL, SQL_STR, TRIGGER_SUBTYPE_PREFIX, VALIDATION_XMLNS, VALIDATOR_MSG_ID_PREFIX, VO, VO_STR, VO_USAGE, VO_USAGE_STR
FLAG_DIRTY, FLAG_EDITABLE, FLAG_FROM_TIP, FLAG_LOAD_BASE, FLAG_LOAD_HL_DEFS, FLAG_MAJOR_VERSION_CHANGED, FLAG_MINOR_VERSION_CHANGED, FLAG_NEW, FLAG_NEW_RECURSE, FLAG_SKIP_WRITE, XML_STATEMENT
Constructor and Description |
---|
JboEOExistsValidator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
protected ViewObjectImpl |
createViewObject(ApplicationModule am,
java.lang.String targetVOName) |
java.lang.String |
getValidatorSubType() |
protected java.lang.String |
getVOAMName() |
protected void |
initialize(JboValidatorContext evObj) |
void |
loadXMLContents(DefElement elem) |
void |
setAssocName(java.lang.String assocName) |
void |
setAssocName(java.lang.String assocName,
AssociationDefBase.IntersectExpandEnd mtomEnd) |
void |
setDirection(java.lang.String direction) |
void |
setName(java.lang.String name)
Name this object.
|
void |
validateMany(java.util.ArrayList valCtxs,
int startIndex,
int numToValidate,
java.util.ArrayList excs) |
boolean |
validateValueWithContext(JboValidatorContext evObj,
java.lang.Object value)
Called internally by the framework with validation OnCondition is true or
there is no validation OnCondition.
|
void |
writeContents(DefWriter jos)
Objects should write their persistence output in this method
|
createEffDateViewObjectVC, findDateEffectiveRow, findDateEffectiveRow, findOrCreateViewObject, findTargetViewKey, findTrigAttrByTgtAttrName, getDefXMLElementTag, getErrorReportAttrDef, getTargetAttributeNames, getTargetName, getValueArray, getValueArray, initValidatorProperties, isTransactionLevel, isValueArrayNull, setName, setNewValue, setTargetAttributeNames, setTargetName, toString, validateMany, validateValue
applyValidatorPersonalization, closeObject, createException, diffContents, editCodeSource, ensureCodeSource, getDefManager, getDefScope, getDefXMLNameSpace, getErrorMsgId, getFullName, getImageLoc, getMessageFlavor, getOperationDefinitions, getOrigObject, getOwnerName, getRowOperationDefinitions, getScriptOperationDefinitions, getScriptRowOperationDefinitions, getTriggeringAttributeDefs, getValidatingAttrDef, getValidatingAttributeName, getValidatorType, getValueToValidate, getXMLElementTag, isDynamicCodeSourceEnabled, isForPersonalization, isHintBased, isReadOnly, lookupExprDef, raiseException, resolve, setForPersonalization, setHintBased, setInitialized, setMessageFlavor, setOrigObject, setTransient, setValidatingAttribute, setValidatingAttribute, validate, writeObject
applyDiffChildren, applyDiffContents, applyValidatorPersonalization, beginDiffObjects, convertToJava, copyErrorMsgInfo, createAttributeException, createExprValueSupplier, createRowException, diffChildren, diffObjects, ensureDifferDetails, ensureVariableManager, getDefTypeName, getDescription, getErrorMessageClass, getErrorMsgExpressionDefs, getErrorMsgExpressions, getErrorMsgIds, getExprIdentifier, getExprValueSupplierType, getIdentificationAttributeName, getInverse, getMergeableFullName, getMergeableName, getMessageBundleClass, getName, getOnCondition, getOnConditionDef, getOwner, getResourceBundleDef, getResourceBundleId, getSeverity, getTriggeringAttributeNames, getTriggerType, getVariableManager, hasErrorMsg, hasValidationCondition, hasVariables, initErrMsgParms, initTriggeringAttributeDefs, isDirty, isMovedToAttrLevel, isNew, isNewRecurse, isSkipWrite, isTransactionLevel, isValidatable, isWriteObject, loadVariables, lookupMessageDef, parseSeverityStr, prepareException, raiseException, readStringArrayList, readTransientExpression, readTransientExpression, readUserObject, readUserObject, readUserObjectTrim, readUserObjectTrim, readUserStringElementsMap, setDefaultDescription, setDescription, setDirty, setErrorMessageClass, setErrorMsgExpressionDefs, setErrorMsgExpressions, setErrorMsgId, setErrorMsgIds, setExprValueSupplierType, setInverse, setNew, setNewRecurse, setOnCondition, setOnConditionDef, setOwner, setResourceBundleDef, setResourceBundleId, setSeverity, setSkipWrite, setTransactionLevel, setTriggeringAttributeNames, setTriggerTypeString, setValidatingAttributeName, setValidatorSubType, writeChildren
allocatePropertyMap, getAllProperties, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, getProperty, getPropertyExpressionDef, getPropertyExpressionsMap, getPropertyExprEval, getPropertyMap, getPropertyNamesSet, getRawPropertyValue, getResourcesFromBundle, getStringFromMessageBundle, hasProperty, isPropertyExpression, mergePropertyMap, refreshProperty, removeProperty, removeProperty, requiresNamePrefixedResId, resolveObjectProperty, resolvePropertyRaw, setFullName, setParent, setPropertiesMap, setPropertiesMap2, setProperty, setProperty, setPropertyExpression, setPropertyExpressionMap, setPropertyMap, setRawPropertyValue
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
validateMany
getDescription, setDescription, validate
getName, getTriggeringAttributeNames, isTransactionLevel
isDirty, isNew, isNewRecurse, isSkipWrite, isWriteObject, setDirty, setNew, setNewRecurse, setSkipWrite
getIdentificationAttributeName, writeChildren
getProperty, removeProperty, setProperty
@Restricted public static final java.lang.String PNAME_ASSOC_NAME
@Concealed public static final java.lang.String PNAME_DIRECTION
public static final java.lang.String ASSOC_DIRECTION_FORWARD
public static final java.lang.String ASSOC_DIRECTION_REVERSE
@Concealed public java.lang.Object clone()
clone
in class JboExistsValidator
@Concealed public java.lang.String getValidatorSubType()
getValidatorSubType
in class AbstractValidator
public void setAssocName(java.lang.String assocName, AssociationDefBase.IntersectExpandEnd mtomEnd)
public void setAssocName(java.lang.String assocName)
public void setDirection(java.lang.String direction)
protected void initialize(JboValidatorContext evObj)
initialize
in class JboAbstractValidator
@Concealed public boolean validateValueWithContext(JboValidatorContext evObj, java.lang.Object value)
JboAbstractValidator
validateValueWithContext
in class JboAbstractValidator
@Concealed public void validateMany(java.util.ArrayList valCtxs, int startIndex, int numToValidate, java.util.ArrayList excs)
validateMany
in class JboExistsValidator
@Concealed public void loadXMLContents(DefElement elem)
loadXMLContents
in class JboExistsValidator
@Restricted public void writeContents(DefWriter jos)
PersistentDefinition
writeContents
in interface PersistentDefinition
writeContents
in class JboExistsValidator
jos
- the Output storage for persistencepublic void setName(java.lang.String name)
NamedObjectImpl
setName
in interface JboValidatorHints
setName
in class AbstractValidator
name
- the name to be given to this object.protected ViewObjectImpl createViewObject(ApplicationModule am, java.lang.String targetVOName)
createViewObject
in class JboExistsValidator
protected java.lang.String getVOAMName()
getVOAMName
in class JboExistsValidator