Syntax Element: protected
Description
Specifies that a design element is visible only to inheritors of the containing element.
Example
This keyword is highlighted
like this.
You can click on keywords and concepts in blue.
database MyDatabase { stereotypes column, table, other; version 1.0 : initialized { protected table X { public column A; public column B; protected other TransitionSpecificStuff with InterestingFact1 = 5, InterestingFact2 = "ten"; } } }
Notes
- Protected elements at the top-level of a version are visible to inheritor versions.
Related Use Cases
- Specifying design separately from construction
- Getting compiler feedback on your database design
- Leveraging a version's proxy in a client
- Transition testing
Related Concepts
Other Actions
documentation | all examples for this syntax element | all examples | use cases | concepts | keywords
database