Interface PropertyDefinition

  • All Superinterfaces:
    EObject, Notifier
    All Known Implementing Classes:
    PropertyDefinitionImpl

    public interface PropertyDefinition
    extends EObject
    A representation of the model object 'Property Definition'.

    The following features are supported:

    See Also:
    PrologmodelPackage.getPropertyDefinition()
    Generated class or method.
    EMF model class or method.
    annotation="http://www.eclipse.org/emf/2002/Ecore constraints='valuesPartOfPropertyType'" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot valuesPartOfPropertyType='getPossibleValues()->includesAll(presentValues)'"
    • Method Detail

      • 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.
      • 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\tProperty.allInstances().type.values->asSet()\n\t\t\t\telse\n\t\t\t\t\tproperty.type.values->asSet()\n\t\t\t\tendif'"