Jiemamy Uml4

692 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
692
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Jiemamy Uml4

  1. 1. Class Diagrams http://creativecommons.org/ licenses/publicdomain/
  2. 2. Map.Entry DataSetModel Map <ColumnRef, String> 0.. 1 0.. TableRef 1 1 1 RootModel List 0.. RecordModel <RecordModel> 1 1 1 0.. 0.. DomainModel 1 EntityModel 1 1 0..1 0..1 AttributeModel ColumnCheck NotNull 0.. Constraint Constraint 0..1 0..1 ViewModel TableModel 1 1 1 1 ColumnModel TableCheck 1 0.. Constraint 1 1 UniqueKey 0..1 0..1 IndexModel Primarykey 1 1 DataType 1.. ForeignKey IndexColumnModel 1 1 0..1 0..1 «enum» 0..1 1 Deferrability Referential Builtin DomainRef «enum» Action DataType 1 SortOrder ColumnRef 1 0..1 0..1 «enum» «enum» «enum» DataType InitialyCheck Category MatchType Time
  3. 3. Adaptable EntityModel RootModel adapters: List<Object> IndexColumnModel DataSet JiemamyElement jiemamy: Jiemamy id: UUID IndexModel RecordModel ConstraintModel AttributeModel DomainModel
  4. 4. RootModel dialectClassName: String Root beginScript: String endScript: String DB description: String schemaName: String domains: List<DomainModel> entities: SortedSet<EntityModel> dataSets: List<DataSet> 1 1 1 0.. 0.. 0.. DataSet EntityModel DomainModel ViewModel TableModel
  5. 5. EntityModel name: String RootModel logicalName: String 1 0.. beginScript: String endScirpt: String description: String ViewModel TableModel definition: String attributes:List<AttributeModel> AttributeModel 1 0.. indexes: List<IndexModel> 1 0.. IndexModel TableConstraint ColumnModel
  6. 6. RootModel 0.. EntityModel 1 AttributeModel TableModel name: String 1 0.. logicalName: String description: String TableConstraint ColumnModel TableCheck KeyConstraint Constraint ForeignKey LocalKey UniqueKey PrimaryKey
  7. 7. RootModel EntityModel 1 0.. AttributeModel TableModel name: String 1 0.. logicalName: String description: String ColumnModel dataType: DataType defaultValue: String checkConstraint: ColumnCheckConstraint DataType 1 1 notNullConstraint: NotNullConstraint primaryKey: PrimaryKey uniqueKey: UniqueKey 1 1 1 1 0..1 0..1 0..1 0..1 NotNull ColumnCheck UniqueKey PrimaryKey Constraint Constraint
  8. 8. ElementReference <T extends JiemamyElement> jiemamy: Jiemamy referenceId: UUID T - TableModel T - DomainModdel T - ColumnModel TableRef ColumnRef DomainRef TableModel ColumnModel DomainModel
  9. 9. RootModel EntityModel 1 0.. IndexModel TableModel name: String 1 0.. unique: boolean indexColumns: List<IndexColumnModel> 1 1.. IndexColumnModel columnRef: ColumnRef sortOrder: SortOrder 1 0..1 1 «enumeration» SortOrder ColumnRef ASC DESC
  10. 10. RootModel EntityModel 1 0.. AttributeModel TableModel name: String 1 0.. logicalName: String description: String TableConstraint KeyConstraint Deferrability ColumnRef keyColumns: List<ColumnRef> deferrable: boolean 1 0..1 deferrability: Deferrability initiallyCheckTime: InitiallyCheckTime LocalKey 0..1 «enumeration» InitialyCheck Time PrimaryKey UniqueKey IMMEDIATE DEFERRED
  11. 11. RootModel EntityModel 1 0.. AttributeModel TableModel name: String 1 0.. logicalName: String description: String TableConstraint KeyConstraint ColumnRef keyColumns: List<ColumnRef> 1 deferrability: Deferrability ForeignKeyModel matchType: MatchType ColumnRef 1 onDelete: ReferentialAction onUpdate: ReferentialAction referenceColumns: List<ColumnRef> 0..1 «enumeration» 0..1 Referential «enumeration» Action MatchType CASCADE SIMPLE SET_NULL FULL SET_DEFAULT PARTIAL RESTRICT NO_ACTION
  12. 12. DataType Builtin DomainRef DataType 1 1 DomainModel NotNull name: String Constraint 0..1 logicalName: String 1 RootModel dataType: BuiltinDataType 1 0.. description: String 1 ColumnCheck checkConstraint: ColumnCheckConstraint 0..1 Constraint notNullConstraint: NotNullConstraint
  13. 13. SizedDataType Adapter size: Integer EntityModel PrecisionedDT 0.. Adapter precision: Integer TableModel AttributeModel scale: Integer 1 0.. SerialDataType 0.. DataType Adapter 1 ColumnModel serial: Boolean 1 1 Adaptable toBuiltinDataType(): BuiltinDataType adapters: List<Object> 1 BuiltinDataType DomainRef RootModel DomainModel category: DataTypeCategory 1 0.. 1 1 typeName: String 1 «enumeration» DataType Category
  14. 14. RootModel 1 Map.Entry 0.. TableRef DataSetModel name: String 1 0.. records: Map<TableRef, RecordModel> List<RecordModel> 1 Map.Entry 0.. ColumnRef RecordModel 1 0.. String
  15. 15. ConstraintModel TableConstraint ColumnConstraint KeyConstraint ValueConstraint ForeignKey LocalKey CheckConstraint TableCheck ColumnCheck NotNull PrimaryKey UniqueKey Constraint Constraint Constraint
  16. 16. Adapter 1 1 «enumeration» «enumeration» DiagramPresentations RootModel Mode Level rootModel: RootModel adapters: List<Object> 1 1 PHYSICAL ENTITY presentations: List<DiagramPresentationModel> LOGICAL KEY 1 ATTR ER 0.. ATTRTYPE DiagramPresentationModel RootModel name: String 1 ER nodeProfiles: Map<NodeAdapter, NodeProfile> connectionProfiles: Map<ConnectionAdapter, ConnectionProfile> mode: Mode level: Level 1 1 Adapter 0.. 0.. Adapter Map.Entry Map.Entry 1 1 1 1 EntityModel NodeAdapter ConnectionAdapter ForeignKey adapters: List<Object> 1 1 entityModel: EntityModel coreForeignKey: ForeignKey 1 1 adapters: List<Object> NodeProfile ConnectionProfile color: JmColor color: JmColor boundary: JmRectangle bendpoints: List<JmPoint> JmRectangle JmColor JmPoint x: int red: int x: int y: int green: int y: int width: int blue: int height: int
  17. 17. Dialect InstanceProvider Jiemamy ID <Dialect> Artemis 1 Extender 1 0.. 1 Jiemamy Reference Map Jiemamy 1 1 Implementation 1 1 Resolver 1 1 <UUID, JiemamyElement> 1 0.. 1 1 1 1 1 1 Map EventBroker <Jiemamy, JiemamyFactory> 1 1 1 1 0.. Jiemamy 0.. Serializer Map.Entry « » JiemamyFactory 1 « » Jiemamy « » Facade Command « » Listener Jiemamy « » « » Element Element Reference<T> Dispatch Strategy 1 RootModel adapter:Object DataType
  18. 18. Diagram Presesntations Adaptable JiemamyFactory « » FactoryExtension NodeAdapter 0.. 1 adapters: List<Object> Connection Adapter « » « » Class JiemamyElement <T extends JiemamyElement>
  19. 19. JiemamyFactory « » « » DataTypeMold DataType <T extends DataType> SizedDataType Adapter size: Integer T - BuiltinDataType T - DomainRef PrecisionedDT BuiltinDataType DomainRef Adapter precision: Integer adapters: List<Object> 0.. 1 scale: Integer category: DataTypeCategory BuiltinDataTypeMold typeName: String DomainModel SerialDT category: DataTypeCategory Adapter name: String aliases: String[] 1 supportedAdapterClasses: Class<?>[] serial: Boolean «enumeration» DataType Category
  20. 20. DataType Resolver 1 Connection Advisor 1 MoldManager BuiltinDataTypeMold 1 .. 1 1 1 1 Dialect 1 1 1 1 SqlEmitter 1 Entity ImportVisitor 1 ForeignKey ImportVisitor
  21. 21. SqlEmitter TokenResolver 1 1 « » « » ReferentialAction, MatchType, SortOrder RootModel List<SqlStatement> InitialyCheckTime Token 1 SQL 0.. SqlStatement Token SqlFormatter « » tokens: List<Token> 0.. 1 toString(): String toString(): String Keyword Identifier Literal Separator Operator

×