/** * Returns a message if the type, compared to this type, is not compatible in regards to the property numbers * and types. * * @param otherType to compare to * @return message */ public ExprValidationException compareEquals(EventType otherType) { if (!(otherType instanceof BaseNestableEventType)) { return new ExprValidationException("Type by name '" + otherType.getName() + "' is not a compatible type (target type underlying is '" + otherType.getUnderlyingType().getName() + "')"); } BaseNestableEventType other = (BaseNestableEventType) otherType; return isDeepEqualsProperties(otherType.getName(), other.nestableTypes, this.nestableTypes); }
ExprValidationException typeSameMssage = BaseNestableEventType.isDeepEqualsProperties(mapResultType.getName(), mapResultType.getTypes(), mapStreamType.getTypes()); if (typeSameMssage == null && selectExprForgeContext.getExprForges().length == 0) { return new MapInsertProcessorSimpleRepackage(selectExprForgeContext, streamNumber, targetType);
ExprValidationException messageIsDeepEquals = BaseNestableEventType.isDeepEqualsProperties(propName, (Map<String, Object>) setOneType, (Map<String, Object>) setTwoType); if (messageIsDeepEquals != null) { return messageIsDeepEquals;
ObjectArrayEventType target = (ObjectArrayEventType) insertIntoTargetType; ObjectArrayEventType source = (ObjectArrayEventType) eventType; ExprValidationException msg = BaseNestableEventType.isDeepEqualsProperties(eventType.getName(), source.getTypes(), target.getTypes()); if (msg == null) { return new SelectEvalInsertCoercionObjectArray(insertIntoTargetType);