Class CommonTokenValue

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

    public class CommonTokenValue
    extends java.lang.Object
    implements java.lang.Comparable<CommonTokenValue>
    Represents a common_token_value record which may or may not yet exist in the database. If it exists in the database, we may not yet have retrieved its common_token_value_id.
    • Constructor Detail

      • CommonTokenValue

        public CommonTokenValue​(short shardKey,
                                CodeSystemValue codeSystemValue,
                                java.lang.String tokenValue)
        Public constructor
        Parameters:
        shardKey -
        codeSystemValue -
        tokenValue -
    • 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
      • getCommonTokenValueId

        public java.lang.Long getCommonTokenValueId()
        Returns:
        the commonTokenValueId
      • setCommonTokenValueId

        public void setCommonTokenValueId​(java.lang.Long commonTokenValueId)
        Parameters:
        commonTokenValueId - the commonTokenValueId to set
      • getCodeSystemValue

        public CodeSystemValue getCodeSystemValue()
        Returns:
        the codeSystemValue
      • getTokenValue

        public java.lang.String getTokenValue()
        Returns:
        the tokenValue
      • getShardKey

        public short getShardKey()
        Returns:
        the shardKey