Package com.esprow.oapi.repository
Interface OapiComponent
- All Superinterfaces:
OapiBaseEntity
A sequence of fields and nested components: common blocks or repeating groups.
The following attributes and references are supported:
-
Method Summary
Modifier and TypeMethodDescriptionReturns an abbreviated name of the component.Returns a list of all elements present within the container.Returns all metadata on an element (documentation etc.).Returns a category of the component.Returns a list of references to components.Returns a list of references to fields.Returns a list of references to groups.getId()
Returns a unique numeric identifier.getName()
Returns a unique name of the component.Returns a hint on how to generate or render an element in a user interface.Returns a use case of the component.getWhich()
Returns the switching mode for the mutually exclusive elements.void
setAbbrName
(String value) Set an abbreviated name of the component.void
setAnnotation
(OapiAnnotation value) Set all metadata on an element (documentation etc.).void
setCategory
(String value) Set a category of the component.void
setId
(BigInteger value) Set a unique numeric identifier.void
Set a unique name of the component.void
setRendering
(String value) Set a hint on how to generate or render an element in a user interface.void
setScenario
(String value) Set a use case of the component.void
Set the switching mode for the mutually exclusive elements.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
-
getAllElements
MixedContent getAllElements()Returns a list of all elements present within the container.- Returns:
- a list of all elements present within the container
-
getComponentRefs
List<OapiComponentRef> getComponentRefs()Returns a list of references to components.- Returns:
- a list of references to components
-
getGroupRefs
List<OapiGroupRef> getGroupRefs()Returns a list of references to groups.- Returns:
- a list of references to groups
-
getFieldRefs
List<OapiFieldRef> getFieldRefs()Returns a list of references to fields.- Returns:
- a list of references to fields
-
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 component.- Returns:
- an abbreviated name of the component
- See Also:
-
setAbbrName
Set an abbreviated name of the component.- Parameters:
value
- the new value of the 'Abbr Name' attribute.- See Also:
-
getCategory
String getCategory()Returns a category of the component.- Returns:
- a category of the component
- See Also:
-
setCategory
Set a category of the component.- Parameters:
value
- the new value of the 'Category' 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 component.- Returns:
- a unique name of the component
- See Also:
-
setName
Set a unique name of the component.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
-
getRendering
String getRendering()Returns a hint on how to generate or render an element in a user interface.- Returns:
- a hint on how to generate or render an element in a user interface
- See Also:
-
setRendering
Set a hint on how to generate or render an element in a user interface.- Parameters:
value
- the new value of the 'Rendering' attribute.- See Also:
-
getScenario
String getScenario()Returns a use case of the component. The default value is"base"
.- Returns:
- a use case of the component
- See Also:
-
setScenario
Set a use case of the component.- Parameters:
value
- the new value of the 'Scenario' attribute.- See Also:
-
getWhich
Member getWhich()Returns the switching mode for the mutually exclusive elements. The literals are from the enumerationMember
.- Returns:
- the switching mode for the mutually exclusive elements
- See Also:
-
setWhich
Set the switching mode for the mutually exclusive elements.- Parameters:
value
- the new value of the 'Which' attribute.- See Also:
-