Interface OapiCode

All Superinterfaces:
OapiBaseEntity

public interface OapiCode extends OapiBaseEntity
A unique valid value within a code set.

The following attributes and references are supported:

  • Method Details

    • getAnnotation

      OapiAnnotation getAnnotation()
      Returns all metadata on an element (documentation etc.).
      Returns:
      all metadata on an element (documentation etc.)
      See Also:
    • setAnnotation

      void setAnnotation(OapiAnnotation value)
      Set all metadata on an element (documentation etc.).
      Parameters:
      value - the new value of the 'Annotation' containment reference.
      See Also:
    • getAbbrName

      String getAbbrName()
      Returns an abbreviated name of the code.
      Returns:
      an abbreviated name of the code
      See Also:
    • setAbbrName

      void setAbbrName(String value)
      Set an abbreviated name of the code.
      Parameters:
      value - the new value of the 'Abbr Name' attribute.
      See Also:
    • getGroup

      String getGroup()
      Returns a free-form value used to group codes when sorting them for displaying purposes.
      Returns:
      a free-form value used to group codes when sorting them for displaying purposes
      See Also:
    • setGroup

      void setGroup(String value)
      Set a free-form value used to group codes when sorting them for displaying purposes.
      Parameters:
      value - the new value of the 'Group' attribute.
      See Also:
    • getId

      BigInteger getId()
      Returns a unique numeric identifier.
      Returns:
      a unique numeric identifier
      See Also:
    • setId

      void setId(BigInteger value)
      Set a unique numeric identifier.
      Parameters:
      value - the new value of the 'Id' attribute.
      See Also:
    • getName

      String getName()
      Returns a unique name of the code.
      Returns:
      a unique name of the code
      See Also:
    • setName

      void setName(String value)
      Set a unique name of the code.
      Parameters:
      value - the new value of the 'Name' attribute.
      See Also:
    • getScenario

      String getScenario()
      Returns a use case of the code. The default value is "base".
      Returns:
      a use case of the code
      See Also:
    • setScenario

      void setScenario(String value)
      Set a use case of the code.
      Parameters:
      value - the new value of the 'Scenario' attribute.
      See Also:
    • getSort

      String getSort()
      Returns a non-negative integer relative to the group, used when sorting codes for displaying purposes.
      Returns:
      a non-negative integer relative to the group, used when sorting codes for displaying purposes
      See Also:
    • setSort

      void setSort(String value)
      Set a non-negative integer relative to the group, used when sorting codes for displaying purposes.
      Parameters:
      value - the new value of the 'Sort' attribute.
      See Also:
    • getValue

      String getValue()
      Returns the value of the code.
      Returns:
      the value of the code
      See Also:
    • setValue

      void setValue(String value)
      Set the value of the code.
      Parameters:
      value - the new value of the 'Value' attribute.
      See Also: