Syntax Element: public
Description
Specifies that a design element is publicly visible.
Example
This keyword is highlighted
like this.
You can click on keywords and concepts in blue.
database MyDatabase { stereotypes column, table; version 1.0 : initialized { protected table X { public column A; public column B; protected other TransitionSpecificStuff with InterestingFact1 = 5, InterestingFact2 = "ten"; } } }
Notes
- Public design elements are visible throughout the database class as well as to clients accessing the database via code-generation.
Related Use Cases
- Specifying design separately from construction
- Getting compiler feedback on your database design
- Eliminating duplication between client and database code
- Deriving creation scripts from design
- Keeping clients coupled to the current version
- 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