public abstract class AbstractExecutorProperty extends java.lang.Object implements DomainProperty
| Modifier and Type | Field and Description |
|---|---|
protected DomainInheritance |
executorType |
protected java.lang.String |
name |
protected ExecutorProperty |
opposite |
protected int |
propertyIndex |
| Constructor and Description |
|---|
AbstractExecutorProperty(java.lang.String name,
DomainInheritance executorType,
int propertyIndex) |
| Modifier and Type | Method and Description |
|---|---|
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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetImplementation@NonNull protected final java.lang.String name
@NonNull protected final DomainInheritance executorType
protected final int propertyIndex
protected ExecutorProperty opposite
public AbstractExecutorProperty(@NonNull
java.lang.String name,
@NonNull
DomainInheritance executorType,
int propertyIndex)
public DomainExpression getDefaultExpression()
getDefaultExpression in interface DomainProperty@NonNull public DomainInheritance getInheritance(@NonNull DomainStandardLibrary standardLibrary)
DomainPropertygetInheritance in interface DomainProperty@NonNull public DomainProperty getOpposite()
DomainPropertygetOpposite in interface DomainPropertypublic DomainType getOwningType()
DomainFeaturegetOwningType in interface DomainFeature@NonNull public DomainType getType()
getType in interface DomainTypedElement@NonNull public TypeId getTypeId()
getTypeId in interface DomainTypedElementpublic 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()
DomainFeatureisStatic in interface DomainFeaturepublic java.lang.String toString()
toString in class java.lang.Object