org.eclipse.ocl.examples.domain.elements
Interface DomainProperty

All Superinterfaces:
DomainElement, DomainFeature, DomainNamedElement, DomainTypedElement, Nameable
All Known Subinterfaces:
Property
All Known Implementing Classes:
AbstractExecutorProperty, EcoreExecutorProperty, ExecutorProperty, ExecutorPropertyWithImplementation, PropertyImpl, TuplePartImpl

public interface DomainProperty
extends DomainFeature


Method Summary
 DomainExpression getDefaultExpression()
           
 DomainInheritance getInheritance(DomainStandardLibrary standardLibrary)
          Return the Inheritance dispatch table for the owning type, or null for an orphan property owned by an Annotation.
 DomainProperty getOpposite()
          Return the opposite Property if there is one, else null.
 void initValue(java.lang.Object object, java.lang.Object unboxedValue)
          Initialize the value of this property within objectValue to propertyValue.
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainFeature
getImplementation, getOwningType, isStatic
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainTypedElement
getType, getTypeId
 
Methods inherited from interface org.eclipse.ocl.examples.domain.elements.Nameable
getName
 

Method Detail

getDefaultExpression

DomainExpression getDefaultExpression()

getInheritance

@Nullable
DomainInheritance getInheritance(@NonNull
                                          DomainStandardLibrary standardLibrary)
Return the Inheritance dispatch table for the owning type, or null for an orphan property owned by an Annotation.


getOpposite

DomainProperty getOpposite()
Return the opposite Property if there is one, else null.


initValue

void initValue(@NonNull
               java.lang.Object object,
               @Nullable
               java.lang.Object unboxedValue)
Initialize the value of this property within objectValue to propertyValue.

This method is not thread-safe and should only be invoked to complete construction of objectvalue before making it visible to other threads.