Class UnaryOperationMonotonicFunctionDefinition

    • Field Detail

      • functionOntologyName

        public StringParameter functionOntologyName
        The name of the ontology that specifies the domain and range of concepts for the defined binary operation concept function.
    • Constructor Detail

      • UnaryOperationMonotonicFunctionDefinition

        public UnaryOperationMonotonicFunctionDefinition​(CompositeEntity container,
                                                         java.lang.String name)
                                                  throws IllegalActionException,
                                                         NameDuplicationException
        Construct the UnaryOperationConceptFunctionDefinition attribute with the given container and name.
        Parameters:
        container - The container.
        name - The name of this attribute.
        Throws:
        IllegalActionException - If the entity cannot be contained by the proposed container.
        NameDuplicationException - If the container already has an actor with this name.
    • Method Detail

      • attributeChanged

        public void attributeChanged​(Attribute attribute)
                              throws IllegalActionException
        Override the attributeChanged method so that the output range and all argument domain ontology names are set to the functionOntologyName.
        Overrides:
        attributeChanged in class NamedObj
        Parameters:
        attribute - The attribute that has been changed.
        Throws:
        IllegalActionException - If there is a problem changing the attribute.