Interface OapiCodeSet

All Superinterfaces:
OapiBaseEntity

public interface OapiCodeSet extends OapiBaseEntity
An element containing a finite collection of valid values of a data element.

The following attributes and references are supported:

  • Method Details

    • getCodes

      List<OapiCode> getCodes()
      Returns a list of codes.
      Returns:
      a list of codes
    • 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 set.
      Returns:
      an abbreviated name of the code set
      See Also:
    • setAbbrName

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

      String getDefault()
      See Also:
    • setDefault

      void setDefault(String value)
      Sets the value of the 'Default' attribute.
      Parameters:
      value - the new value of the 'Default' 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 set.
      Returns:
      a unique name of the code set
      See Also:
    • setName

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

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

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

      String getSpecUrl()
      Returns a link to the external documentation.
      Returns:
      a link to the external documentation
      See Also:
    • setSpecUrl

      void setSpecUrl(String value)
      Set a link to the external documentation.
      Parameters:
      value - the new value of the 'Spec Url' attribute.
      See Also:
    • getType

      String getType()
      Returns a datatype of the code.
      Returns:
      a datatype of the code
      See Also:
    • setType

      void setType(String value)
      Set a datatype of the code.
      Parameters:
      value - the new value of the 'Type' attribute.
      See Also: