Interface Nameable

All Known Subinterfaces:
Connection, ConnectionGroup, SharingProfile
All Known Implementing Classes:
AbstractConnection, AbstractConnectionGroup, AbstractSharingProfile, DelegatingConnection, DelegatingConnectionGroup, DelegatingSharingProfile, SimpleConnection, SimpleConnectionGroup, TokenInjectingConnection, TokenInjectingConnectionGroup

public interface Nameable
An object which has a human-readable, arbitrary name. No requirement is imposed by this interface regarding whether this name must be unique, however implementations are free to impose such restrictions.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the human-readable name assigned to this object.
    void
    Sets the human-readable name assigned to this object.
  • Method Details

    • getName

      String getName()
      Returns the human-readable name assigned to this object.
      Returns:
      The name assigned to this object.
    • setName

      void setName(String name)
      Sets the human-readable name assigned to this object.
      Parameters:
      name - The name to assign.