Interface AmetysObject

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean equals​(Object obj)
      Two AmetysObjects are equals if and only if their ids are equals.
      String getId()
      Retrieves the unique identifier of this AmetysObject.
      It must be unique in the whole repository and must never be null.
      It must conform to the URI syntax:
      <protocol>://<protocol-specific-part>
      String getName()
      Retrieves the name of the current object.
      <A extends AmetysObject>
      A
      getParent()
      Returns the parent object in the Ametys hierarchy.
      String getParentPath()
      Returns the path of the parent object in the Ametys hierarchy.
      String getPath()
      Retrieves the path of the current object.
      int hashCode()
      The hashCode of an AmetysObject must be the hashCode of its id.