Package com.esprow.oapi.repository
Interface OapiCodeSet
- All Superinterfaces:
OapiBaseEntity
-
Method Summary
Modifier and TypeMethodDescriptionReturns an abbreviated name of the code set.Returns all metadata on an element (documentation etc.).getCodes()
Returns a list of codes.getId()
Returns a unique numeric identifier.getName()
Returns a unique name of the code set.Returns a use case of the code set.Returns a link to the external documentation.getType()
Returns a datatype of the code.void
setAbbrName
(String value) Set an abbreviated name of the code set.void
setAnnotation
(OapiAnnotation value) Set all metadata on an element (documentation etc.).void
setDefault
(String value) Sets the value of the 'Default
' attribute.void
setId
(BigInteger value) Set a unique numeric identifier.void
Set a unique name of the code set.void
setScenario
(String value) Set a use case of the code set.void
setSpecUrl
(String value) Set a link to the external documentation.void
Set a datatype of the code.Methods inherited from interface com.esprow.oapi.repository.OapiBaseEntity
getAdded, getAddedEP, getChangeType, getDeprecated, getDeprecatedEP, getIssue, getLastModified, getReplaced, getReplacedByField, getReplacedEP, getSupported, getUpdated, getUpdatedEP, setAdded, setAddedEP, setChangeType, setDeprecated, setDeprecatedEP, setIssue, setLastModified, setReplaced, setReplacedByField, setReplacedEP, setSupported, setUpdated, setUpdatedEP
-
Method Details
-
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
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
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
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
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
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
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
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
Set a datatype of the code.- Parameters:
value
- the new value of the 'Type' attribute.- See Also:
-