Interface Named

  • All Known Subinterfaces:
    ActionFacet, SchemaFacet, SoftwareFacet, TemplateFacet
    All Known Implementing Classes:
    ActionFacetImpl, SchemaFacetImpl, SoftwareFacetImpl, TemplateFacetImpl

    public interface Named
    A convenient interface for any type having a name

    It marks the types that have a name and provides the property name they all share; each of them declares the property itself, with the description that fits it — the name of an action and the name of a person are the same field only in shape.

    Author:
    Manuele Simi (ISTI - CNR), Luca Frosini (ISTI - CNR)
    • Method Detail

      • getName

        String getName()
        Gets the name of the facet.
        Returns:
        the name
      • setName

        void setName​(String name)
        Sets the name of the facet.
        Parameters:
        name - the new name