Class CodeSystemValue

  • All Implemented Interfaces:
    java.lang.Comparable<CodeSystemValue>

    public class CodeSystemValue
    extends java.lang.Object
    implements java.lang.Comparable<CodeSystemValue>
    Holder for the code_system_id obtained from the database. This is modelled as a mutable record so that we can reference this record many times, and resolve it once (either from cache lookup, database lookup, or a database create).
    • Constructor Detail

      • CodeSystemValue

        public CodeSystemValue​(java.lang.String codeSystem)
        Public constructor
        Parameters:
        codeSystem -
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getCodeSystemId

        public java.lang.Integer getCodeSystemId()
        Returns:
        the codeSystemId or null if it is current unknown
      • setCodeSystemId

        public void setCodeSystemId​(int codeSystemId)
        Parameters:
        codeSystemId - the codeSystemId to set
      • getCodeSystem

        public java.lang.String getCodeSystem()
        Returns:
        the codeSystem