Interface IdentifiableData

    • Method Detail

      • getId

        int getId()
        Get the id for the item. If it hasn't yet been saved to the database 0 is returned.
        Returns:
        The id of the item or 0
      • getVersion

        int getVersion()
        Get the version of this item. The version starts at 0, and is increased each time the information is updated. The version number is controlled by Hibernate.