Package jline.lang

Class Element

java.lang.Object
jline.lang.Element
All Implemented Interfaces:
Serializable, Copyable
Direct Known Subclasses:
LayeredNetworkElement, NetworkElement, ServerType, WorkflowActivity

public class Element extends Object implements Copyable
Superclass for model elements
See Also:
  • Field Details

    • name

      protected String name
  • Constructor Details

    • Element

      public Element(String name)
      Creates a new element with the specified name.
      Parameters:
      name - the name to assign to this element
  • Method Details

    • getName

      public String getName()
      Gets the name of this element.
      Returns:
      the element's name
    • setName

      public void setName(String name)
      Sets the name of this element.
      Parameters:
      name - the new name for this element