Interface NamesOwner

All Known Implementing Classes:
ClassModel, FieldModel

public interface NamesOwner
Contract for model elements that expose an ElementNames object.
  • Method Details

    • getConceptualName

      default String getConceptualName()
      Returns the conceptual name.
      Returns:
      the conceptual name
    • getName

      default String getName(PanelType panelType)
      Returns the name.
      Parameters:
      panelType - diagram panel type whose model or layout should be used
      Returns:
      the name
    • getNames

      ElementNames getNames()
      Returns the names.
      Returns:
      the names
    • getTechnicalName

      default String getTechnicalName()
      Returns the technical name.
      Returns:
      the technical name
    • hasTechnicalName

      default boolean hasTechnicalName()
      Checks whether this object has a technical name.
      Returns:
      true if technical name exists; otherwise false
    • setConceptualName

      default void setConceptualName(String name)
      Sets the conceptual name.
      Parameters:
      name - name value to read, write, or display
    • setName

      default void setName(boolean forceTechnical, String name)
      Sets the name.
      Parameters:
      forceTechnical - whether force technical is enabled
      name - name value to read, write, or display
    • setName

      default void setName(PanelType panelType, String name)
      Sets the name.
      Parameters:
      panelType - diagram panel type whose model or layout should be used
      name - name value to read, write, or display
    • setName

      default void setName(PanelType panelType, boolean maybeTechnical, String name)
      Sets the name.
      Parameters:
      panelType - diagram panel type whose model or layout should be used
      maybeTechnical - whether maybe technical is enabled
      name - name value to read, write, or display
    • setNames

      void setNames(ElementNames e)
      Sets the names.
      Parameters:
      e - event object supplied by Swing
    • setTechnicalName

      default void setTechnicalName(String name)
      Sets the technical name.
      Parameters:
      name - name value to read, write, or display