Class CodeFirstCondition

java.lang.Object
gov.cms.hh.diagnosis.CodeFirstCondition
All Implemented Interfaces:
DescribableIF, IdentifiableIF, ValuableIF, CodeFirstConditionIF, Serializable

public class CodeFirstCondition extends Object implements CodeFirstConditionIF
Author:
CMS
See Also:
  • Constructor Details

    • CodeFirstCondition

      public CodeFirstCondition()
      Constructor
    • CodeFirstCondition

      public CodeFirstCondition(int id, String description, String value)
      Parameters:
      id -
      description -
      value -
    • CodeFirstCondition

      public CodeFirstCondition(CodeFirstConditionObject cfco) throws ParseException
      Parameters:
      cfco -
      Throws:
      ParseException
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
    • getId

      public int getId()
      Description copied from interface: IdentifiableIF
      the id of the object
      Specified by:
      getId in interface IdentifiableIF
      Returns:
      the id
    • setId

      public void setId(int id)
      Description copied from interface: IdentifiableIF
      Sets the id for the object at run time
      Specified by:
      setId in interface IdentifiableIF
      Parameters:
      id - the id to set
    • getDescription

      public String getDescription()
      Description copied from interface: DescribableIF
      The description of the object
      Specified by:
      getDescription in interface DescribableIF
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Description copied from interface: DescribableIF
      Sets the objects internal description
      Specified by:
      setDescription in interface DescribableIF
      Parameters:
      description - the description to set
    • getValue

      public String getValue()
      Specified by:
      getValue in interface ValuableIF
      Returns:
      the value
    • setValue

      public void setValue(String value)
      Specified by:
      setValue in interface ValuableIF
      Parameters:
      value - the value to set