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, wait
getImplementation
@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)
DomainProperty
getInheritance
in interface DomainProperty
@NonNull public DomainProperty getOpposite()
DomainProperty
getOpposite
in interface DomainProperty
public 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)
DomainProperty
This 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 DomainProperty
public boolean isStatic()
DomainFeature
isStatic
in interface DomainFeature
public java.lang.String toString()
toString
in class java.lang.Object