|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.examples.library.executor.AbstractExecutorProperty
public abstract class AbstractExecutorProperty
| Field Summary | |
|---|---|
protected DomainInheritance |
executorType
|
protected java.lang.String |
name
|
protected ExecutorProperty |
opposite
|
protected int |
propertyIndex
|
| Constructor Summary | |
|---|---|
AbstractExecutorProperty(java.lang.String name,
DomainInheritance executorType,
int propertyIndex)
|
|
| 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. |
java.lang.String |
getName()
|
DomainProperty |
getOpposite()
Return the opposite Property if there is one, else null. |
DomainType |
getOwningType()
Return the owner this feature. |
DomainType |
getType()
|
TypeId |
getTypeId()
|
void |
initValue(java.lang.Object objectValue,
java.lang.Object propertyValue)
Initialize the value of this property within objectValue to propertyValue. |
boolean |
isStatic()
Return true if this is a static operation. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.ocl.examples.domain.elements.DomainFeature |
|---|
getImplementation |
| Field Detail |
|---|
@NonNull protected final java.lang.String name
@NonNull protected final DomainInheritance executorType
protected final int propertyIndex
protected ExecutorProperty opposite
| Constructor Detail |
|---|
public AbstractExecutorProperty(@NonNull
java.lang.String name,
@NonNull
DomainInheritance executorType,
int propertyIndex)
| Method Detail |
|---|
public DomainExpression getDefaultExpression()
getDefaultExpression in interface DomainProperty
@NonNull
public DomainInheritance getInheritance(@NonNull
DomainStandardLibrary standardLibrary)
DomainProperty
getInheritance in interface DomainProperty@NonNull public java.lang.String getName()
getName in interface Nameable@NonNull public DomainProperty getOpposite()
DomainProperty
getOpposite in interface DomainPropertypublic DomainType getOwningType()
DomainFeature
getOwningType in interface DomainFeature@NonNull public DomainType getType()
getType in interface DomainTypedElement@NonNull public TypeId getTypeId()
getTypeId in interface DomainTypedElement
public void initValue(@NonNull
java.lang.Object objectValue,
@Nullable
java.lang.Object propertyValue)
DomainPropertyThis method is not thread-safe and should only be invoked to complete construction of objectvalue before making it visible to other threads.
initValue in interface DomainPropertypublic boolean isStatic()
DomainFeature
isStatic in interface DomainFeaturepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||