Class ObjectReference

java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.metadata.ObjectReference
All Implemented Interfaces:
Serializable

public class ObjectReference extends Object implements Serializable
Represents an object reference.
Author:
Jens Riemschneider
See Also:
  • Constructor Details

    • 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 Details

    • 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object