Record Class SystemMapper.SystemEntry

java.lang.Object
java.lang.Record
org.projecthusky.fhir.structures.utils.SystemMapper.SystemEntry
Record Components:
systemName - The system human name.
systemUri - The system URI.
systemOid - The system OID.
Enclosing class:
SystemMapper

public static record SystemMapper.SystemEntry(String systemName, String systemUri, String systemOid) extends Record
Internal model of a system information
  • Constructor Details

    • SystemEntry

      public SystemEntry(String systemName, String systemUri, String systemOid)
      Creates an instance of a SystemEntry record class.
      Parameters:
      systemName - the value for the systemName record component
      systemUri - the value for the systemUri record component
      systemOid - the value for the systemOid record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • systemName

      public String systemName()
      Returns the value of the systemName record component.
      Returns:
      the value of the systemName record component
    • systemUri

      public String systemUri()
      Returns the value of the systemUri record component.
      Returns:
      the value of the systemUri record component
    • systemOid

      public String systemOid()
      Returns the value of the systemOid record component.
      Returns:
      the value of the systemOid record component