Class InstanceId


  • public class InstanceId
    extends Object
    Represents an XWiki instance using a unique id. Note that we need this class so that Hibernate can persist and read the id.
    Since:
    5.2M2
    Version:
    $Id: dadc5b69597774cc7163349cf1fd80999862a158 $
    • Constructor Detail

      • InstanceId

        public InstanceId()
        Default constructor. It is need for Hibernate.
      • InstanceId

        public InstanceId​(String id)
        Parameters:
        id - the unique id of this instance
    • Method Detail

      • getInstanceId

        public String getInstanceId()
        Returns:
        the unique id of this instance
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object