Class ObjectReference

    • Constructor Detail

      • ObjectReference

        public ObjectReference()
        Constructs an object reference.
      • ObjectReference

        public ObjectReference​(String id)
        Constructs an object reference.
        Parameters:
        id - the id of the referenced object.
      • ObjectReference

        public ObjectReference​(String id,
                               String home)
        Constructs an object reference.
        Parameters:
        id - the id of the referenced object.
        home - the ID of the community that the object was created in.
    • Method Detail

      • getId

        public String getId()
        Returns:
        the id of the referenced object.
      • setId

        public void setId​(String id)
        Parameters:
        id - the id of the referenced object.
      • getHome

        public String getHome()
        Returns:
        the ID of the community that the object was created in.
      • setHome

        public void setHome​(String home)
        Parameters:
        home - the ID of the community that the object was created in.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object