Interface PropertyRef

  • All Superinterfaces:
    EObject, LogicTerm, Notifier
    All Known Implementing Classes:
    PropertyRefImpl

    public interface PropertyRef
    extends LogicTerm
    A representation of the model object 'Property Ref'.

    The following features are supported:

    See Also:
    PrologmodelPackage.getPropertyRef()
    Generated class or method.
    EMF model class or method.
    annotation="http://www.eclipse.org/emf/2002/Ecore constraints='isPropertyValid isValueValid'" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot isPropertyValid='getPossibleProperties()->includes(property)' isValueValid='getPossibleValues()->includes(value)'"
    • Method Detail

      • setOperation

        void setOperation​(Operation value)
        Sets the value of the 'Operation' reference.
        Parameters:
        value - the new value of the 'Operation' reference.
        See Also:
        getOperation()
        Generated class or method.
      • setValue

        void setValue​(Value value)
        Sets the value of the 'Value' reference.
        Parameters:
        value - the new value of the 'Value' reference.
        See Also:
        getValue()
        Generated class or method.
      • setProperty

        void setProperty​(Property value)
        Sets the value of the 'Property' reference.
        Parameters:
        value - the new value of the 'Property' reference.
        See Also:
        getProperty()
        Generated class or method.
      • getPossibleProperties

        EList<Property> getPossibleProperties()
        Generated class or method.
        EMF model class or method.
        kind="operation" ordered="false" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot body='\n\t\t\t\tif operation.oclIsUndefined() then\n\t\t\t\t\tOperation.allInstances().propertyDefinitions.property->asSet()\n\t\t\t\telse\n\t\t\t\t\toperation.propertyDefinitions.property->asSet()\n\t\t\t\tendif'"
      • getPossibleValues

        EList<Value> getPossibleValues()
        Generated class or method.
        EMF model class or method.
        kind="operation" ordered="false" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot body='\n\t\t\t\tif property.oclIsUndefined() then\n\t\t\t\t\tgetPossibleProperties().type.values->asSet()->union(Set{null})\n\t\t\t\telse\n\t\t\t\t\tproperty.type.values->asSet()->union(Set{null})\n\t\t\t\tendif'"
      • isValueWildcard

        boolean isValueWildcard()
        Generated class or method.
        EMF model class or method.
        kind="operation" required="true" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot body='\n\t\t\t\tvalue.oclIsUndefined()'"