org.eclipse.ocl.examples.library.enumeration
Class EnumerationClassifierOwnedLiteralProperty

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.library.AbstractFeature
      extended by org.eclipse.ocl.examples.domain.library.AbstractProperty
          extended by org.eclipse.ocl.examples.library.enumeration.EnumerationClassifierOwnedLiteralProperty
All Implemented Interfaces:
LibraryFeature, LibraryProperty

public class EnumerationClassifierOwnedLiteralProperty
extends AbstractProperty

EnumerationClassifierOwnedLiteralProperty realizes the EnumerationClassifier::ownedLiteral() library property.


Field Summary
static EnumerationClassifierOwnedLiteralProperty INSTANCE
           
 
Constructor Summary
EnumerationClassifierOwnedLiteralProperty()
           
 
Method Summary
 Value evaluate(DomainEvaluator evaluator, DomainType returnType, Value sourceValue, DomainProperty property)
           
 
Methods inherited from class org.eclipse.ocl.examples.domain.library.AbstractFeature
getLibraryValidator, getValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.examples.domain.library.LibraryFeature
getValidator
 

Field Detail

INSTANCE

public static final EnumerationClassifierOwnedLiteralProperty INSTANCE
Constructor Detail

EnumerationClassifierOwnedLiteralProperty

public EnumerationClassifierOwnedLiteralProperty()
Method Detail

evaluate

public Value evaluate(DomainEvaluator evaluator,
                      DomainType returnType,
                      Value sourceValue,
                      DomainProperty property)
               throws InvalidValueException
Throws:
InvalidValueException