Class Configurer

    • Constructor Detail

      • Configurer

        public Configurer​(Workspace workspace)
        Construct a configurer in the given workspace.
        Parameters:
        workspace - The workspace.
    • Method Detail

      • clone

        public java.lang.Object clone​(Workspace workspace)
                               throws java.lang.CloneNotSupportedException
        Clone the actor into the specified workspace. The new object is not added to the directory of that workspace (you must do this yourself if you want it there). The result is a composite actor with clones of the ports of the original actor, the contained actors, and the contained relations. The ports of the returned actor are not connected to anything. The connections of the relations are duplicated in the new composite, unless they cross levels, in which case an exception is thrown. The local director is cloned, if there is one. The executive director is not cloned. NOTE: This will not work if there are level-crossing transitions.
        Overrides:
        clone in class CompositeActor
        Parameters:
        workspace - The workspace for the cloned object.
        Returns:
        A new CompositeActor.
        Throws:
        java.lang.CloneNotSupportedException - If the actor contains level crossing transitions so that its connections cannot be cloned, or if one of the attributes cannot be cloned.
        See Also:
        NamedObj.exportMoML(Writer, int, String), NamedObj.setDeferringChangeRequests(boolean)
      • getConfiguredObject

        public NamedObj getConfiguredObject()
        Get the object that this configurer configures.
        Returns:
        The object that this configurer configures.
        See Also:
        setConfiguredObject(NamedObj)
      • setConfiguredObject

        public void setConfiguredObject​(NamedObj configured)
        Set the object that this configurer configures.
        Parameters:
        configured - The object that this configurer configures.
        See Also:
        getConfiguredObject()