org.eclipse.ocl.examples.library.oclany
Class OclAnyNotEqualOperation

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.values.util.ValuesUtil
      extended by org.eclipse.ocl.examples.domain.library.AbstractFeature
          extended by org.eclipse.ocl.examples.domain.library.AbstractOperation
              extended by org.eclipse.ocl.examples.domain.library.AbstractBinaryOperation
                  extended by org.eclipse.ocl.examples.domain.library.AbstractUntypedBinaryOperation
                      extended by org.eclipse.ocl.examples.domain.library.AbstractSimpleBinaryOperation
                          extended by org.eclipse.ocl.examples.library.oclany.OclAnyEqualOperation
                              extended by org.eclipse.ocl.examples.library.oclany.OclAnyNotEqualOperation
All Implemented Interfaces:
LibraryBinaryOperation, LibraryFeature, LibraryOperation, LibrarySimpleBinaryOperation, LibrarySimpleOperation, LibraryUntypedBinaryOperation, LibraryUntypedOperation

public class OclAnyNotEqualOperation
extends OclAnyEqualOperation

OclAnyNotEqualOperation realises the OCLAny::<>() library operation and regular derived implementations since the Value classes exhibit OCL value semantics.


Field Summary
static OclAnyNotEqualOperation INSTANCE
           
 
Fields inherited from class org.eclipse.ocl.examples.domain.values.util.ValuesUtil
EMPTY_BAG, EMPTY_SET, FALSE_VALUE, INTEGER_MAX_VALUE, INTEGER_MIN_VALUE, INVALID_VALUE, LONG_MAX_VALUE, LONG_MIN_VALUE, NULL_STRING, NULL_VALUE, ONE_VALUE, TRUE_VALUE, UNLIMITED_VALUE, ZERO_VALUE
 
Constructor Summary
OclAnyNotEqualOperation()
           
 
Method Summary
 java.lang.Boolean evaluate(DomainEvaluator evaluator, TypeId returnTypeId, java.lang.Object left, java.lang.Object right)
          Deprecated. 
 java.lang.Boolean evaluate(java.lang.Object left, java.lang.Object right)
           
 
Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractSimpleBinaryOperation
evaluate, evaluate, evaluate
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.util.ValuesUtil
asBagValue, asBoolean, asCollectionType, asCollectionValue, asInteger, asIntegerValue, asNavigableObject, asObject, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asTupleValue, asType, asUniqueCollectionValue, asUnlimitedNaturalValue, asValue, createBagAccumulatorValue, createBagOfEach, createBagRange, createBagValue, createCollectionAccumulatorValue, createInvalidValue, createObjectValue, createOrderedSetAccumulatorValue, createOrderedSetOfEach, createOrderedSetRange, createOrderedSetValue, createRange, createSequenceAccumulatorValue, createSequenceOfEach, createSequenceRange, createSequenceRange, createSequenceValue, createSetAccumulatorValue, createSetOfEach, createSetRange, createSetValue, createTupleOfEach, createTupleValue, createTupleValue, createTypeValue, getTypeName, initAllStatics, integerValueOf, integerValueOf, integerValueOf, integerValueOf, integerValueOf, isBoxed, isCollectionValue, isIntegerValue, isUnboxed, isUnlimited, oclToString, realValueOf, realValueOf, realValueOf, realValueOf, realValueOf, stringValueOf, throwInvalidValueException, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

@NonNull
public static final OclAnyNotEqualOperation INSTANCE
Constructor Detail

OclAnyNotEqualOperation

public OclAnyNotEqualOperation()
Method Detail

evaluate

@Deprecated
@NonNull
public java.lang.Boolean evaluate(@NonNull
                                                     DomainEvaluator evaluator,
                                                     @NonNull
                                                     TypeId returnTypeId,
                                                     @Nullable
                                                     java.lang.Object left,
                                                     @Nullable
                                                     java.lang.Object right)
Deprecated. 

Description copied from interface: LibraryBinaryOperation
Return the result of evaluating the operation on left and right arguments. An invalid return may be indicated by throwing an exception returning Java null or OCL invalid.

Specified by:
evaluate in interface LibraryBinaryOperation
Overrides:
evaluate in class OclAnyEqualOperation
Returns:
the evaluated value

evaluate

@NonNull
public java.lang.Boolean evaluate(@Nullable
                                          java.lang.Object left,
                                          @Nullable
                                          java.lang.Object right)
Specified by:
evaluate in interface LibrarySimpleBinaryOperation
Overrides:
evaluate in class OclAnyEqualOperation