jsdai.lang
Class WhereRule

java.lang.Object
  extended byjsdai.lang.SdaiCommon
      extended byjsdai.lang.InverseEntity
          extended byjsdai.lang.CEntity
              extended byjsdai.lang.WhereRule
All Implemented Interfaces:
EEntity, jsdai.dictionary.EWhere_rule, SdaiEventSource

public abstract class WhereRule
extends CEntity
implements jsdai.dictionary.EWhere_rule

This is for internal JSDAI use only. Applications shall not use this


Field Summary
 
Fields inherited from interface jsdai.lang.EEntity
MANDATORY_ATTRIBUTES_SET, MOST_SPECIFC_ENTITY, NO_RESTRICTIONS
 
Method Summary
 java.lang.Throwable getError()
          Returns Throwable if during validation of this where rule an error in Express expressions or in the population submitted for validation was found, and null otherwise.
 AEntity getInstancesSizeof(boolean zero_case)
          Returns entity instances aggregate for which the Express expression SIZEOF(that entity instances aggregate) = d is violated, where d is a nonnegative integer value.
 
Methods inherited from class jsdai.lang.CEntity
addSdaiListener, buildMappedInstance, compareValuesBoolean, compareValuesLogical, copyApplicationInstance, copyValuesFrom, createAggregate, createExternalData, deleteApplicationInstance, findEntityInstanceSdaiModel, findEntityInstanceUsedin, findEntityInstanceUsers, findEntityMappings, findEntityMappings, findInstanceDataTypes, findInstanceRoles, findLinkedMappedInstance, findMappedUsers, findMostSpecificMappings, get_boolean, get_double, get_int, get_inverse, get_object, get, getAllReferences, getAttributeDefinition, getAttributeValueBound, getDescription, getExternalData, getMappedAttribute, getMappedAttribute, getPersistentLabel, getTemp, getTemp, hasMappedAttribute, isInstanceOf, isInstanceOf, isKindOf, isKindOf, isValid, makeUsedin, moveUsersFrom, removeExternalData, removeSdaiListener, set, set, set, set, set, setTemp, setTemp, testAttribute, testAttributeFast, testExternalData, testMappedAttribute, testMappedAttribute, testMappedEntity, testMappedEntity, typeOf, toString, toValue, unsetAttributeValue, validateAggregatesSize, validateAggregatesUniqueness, validateArrayNotOptional, validateBinaryWidth, validateExplicitAttributesReferences, validateInverseAttributes, validateInverseAttributes, validateRealPrecision, validateRequiredExplicitAttributesAssigned, validateStringWidth, validateWhereRule, validateWhereRule
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jsdai.dictionary.EWhere_rule
getLabel, getOrder, getParent_item, setLabel, setOrder, setParent_item, testLabel, testOrder, testParent_item, unsetLabel, unsetOrder, unsetParent_item
 
Methods inherited from interface jsdai.lang.EEntity
buildMappedInstance, compareValuesBoolean, compareValuesLogical, copyApplicationInstance, copyValuesFrom, createAggregate, createExternalData, deleteApplicationInstance, findEntityInstanceSdaiModel, findEntityInstanceUsedin, findEntityInstanceUsers, findEntityMappings, findEntityMappings, findInstanceDataTypes, findInstanceRoles, findLinkedMappedInstance, findMappedUsers, findMostSpecificMappings, get_boolean, get_double, get_int, get_inverse, get_object, get, getAllReferences, getAttributeDefinition, getAttributeValueBound, getDescription, getExternalData, getInstanceType, getMappedAttribute, getMappedAttribute, getPersistentLabel, getTemp, getTemp, hasMappedAttribute, isInstanceOf, isInstanceOf, isKindOf, isKindOf, isValid, moveUsersFrom, removeExternalData, set, set, set, set, set, setTemp, setTemp, testAttribute, testExternalData, testMappedAttribute, testMappedAttribute, testMappedEntity, testMappedEntity, typeOf, toString, unsetAttributeValue, validateAggregatesSize, validateAggregatesUniqueness, validateArrayNotOptional, validateBinaryWidth, validateExplicitAttributesReferences, validateInverseAttributes, validateInverseAttributes, validateRealPrecision, validateRequiredExplicitAttributesAssigned, validateStringWidth, validateWhereRule, validateWhereRule
 
Methods inherited from interface jsdai.lang.SdaiEventSource
addSdaiListener, removeSdaiListener
 

Method Detail

getInstancesSizeof

public AEntity getInstancesSizeof(boolean zero_case)
                           throws SdaiException
Returns entity instances aggregate for which the Express expression SIZEOF(that entity instances aggregate) = d is violated, where d is a nonnegative integer value. If d=0, then the method's parameter shall be set to true, otherwise null is returned. Also null is returned when the above equality is satisfied.

Parameters:
zero_case - true if SIZEOF value is required to be zero, false otherwise.
Returns:
aggregate of entity instances.
Throws:
SdaiException
Since:
4.1.0

getError

public java.lang.Throwable getError()
Returns Throwable if during validation of this where rule an error in Express expressions or in the population submitted for validation was found, and null otherwise.

Returns:
Throwable in the case if error occurred; null otherwise.

Copyright © LKSoftWare GmbH, 1999-2008