Class LocationParameter

    • Constructor Detail

      • LocationParameter

        public LocationParameter​(NamedObj container,
                                 java.lang.String name)
                          throws IllegalActionException,
        Construct a parameter with the given name contained by the specified entity. The container argument must not be null, or a NullPointerException will be thrown. This parameter will use the workspace of the container for synchronization and version counts. If the name argument is null, then the name is set to the empty string. The object is not added to the list of objects in the workspace unless the container is null. Increment the version of the workspace.
        container - The container.
        name - The name of the parameter.
        IllegalActionException - If the parameter is not of an acceptable class for the container.
        NameDuplicationException - If the name coincides with a parameter already in the container.