Package com.esprow.oapi.repository
Interface OapiCode
- All Superinterfaces:
OapiBaseEntity
-
Method Summary
Modifier and TypeMethodDescriptionReturns an abbreviated name of the code.Returns all metadata on an element (documentation etc.).getGroup()
Returns a free-form value used to group codes when sorting them for displaying purposes.getId()
Returns a unique numeric identifier.getName()
Returns a unique name of the code.Returns a use case of the code.getSort()
Returns a non-negative integer relative to the group, used when sorting codes for displaying purposes.getValue()
Returns the value of the code.void
setAbbrName
(String value) Set an abbreviated name of the code.void
setAnnotation
(OapiAnnotation value) Set all metadata on an element (documentation etc.).void
Set a free-form value used to group codes when sorting them for displaying purposes.void
setId
(BigInteger value) Set a unique numeric identifier.void
Set a unique name of the code.void
setScenario
(String value) Set a use case of the code.void
Set a non-negative integer relative to the group, used when sorting codes for displaying purposes.void
Set the value 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
-
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.- Returns:
- an abbreviated name of the code
- See Also:
-
setAbbrName
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
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
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
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
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
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
Set the value of the code.- Parameters:
value
- the new value of the 'Value' attribute.- See Also:
-