Versions in this module Expand all Collapse all v0 v0.1.0 Mar 11, 2024 Changes in this version + const BOOLEAN + const CLASSS_ABSTRACT + const CLASSS_ENTITY + const CLASSS_ENUM + const CLASS_VALUE_OBJECT + const DATE + const DATE_ARRAY + const ENTITY + const ENTITY_ARRAY + const ENUM + const ENUM_ARRAY + const FLOAT + const FLOAT_ARRAY + const ID + const ID_ARRAY + const INHERIT + const INT + const INT_ARRAY + const JSON + const MUTATION + const ONE_WAY_ASSOCIATION + const ONE_WAY_COMBINATION + const PASSWORD + const QUERY + const STRING + const STRING_ARRAY + const TWO_WAY_AGGREGATION + const TWO_WAY_ASSOCIATION + const TWO_WAY_COMBINATION + const UUID + const VALUE_OBJECT + const VALUE_OBJECT_ARRAY + const ZERO_MANY + const ZERO_ONE + type ArgMeta struct + Name string + Type string + TypeLabel string + TypeUuid string + Uuid string + type AssociationClass struct + Attributes []AttributeMeta + Name string + type AttributeMeta struct + AutoGenerate bool + AutoIncrement bool + CreateDate bool + Default string + DeleteDate bool + Description string + FloatD int + FloatM int + Hidden bool + Index bool + Label string + Length int + Name string + Nullable bool + Primary bool + Readonly bool + System bool + Type string + TypeLabel string + TypeUuid string + Unique bool + Unsigned bool + UpdateDate bool + Uuid string + type ClassMeta struct + Attributes []AttributeMeta + Description string + InnerId uint64 + Label string + MetaId uint64 + Methods []MethodMeta + Name string + OnCreated string + OnDeleted string + OnUpdated string + PackageUuid string + Root bool + SoftDelete bool + StereoType string + Uuid string + type CodeMeta struct + Name string + ScriptText string + Uuid string + type MethodMeta struct + Args []ArgMeta + Description string + LogicMetas dsl.LogicFlowMeta + LogicScript string + Name string + OperateType string + Type string + TypeLabel string + TypeUuid string + Uuid string + type Model struct + APIs []*MethodMeta + Classes []*ClassMeta + Codes []*CodeMeta + GraphLogics []*MethodMeta + Relations []*RelationMeta + ScriptLogics []*MethodMeta + func New(m *UMLMeta, metaId uint64) *Model + func (m *Model) GetAbstractClassByUuid(uuid string) *ClassMeta + func (m *Model) GetClassByUuid(uuid string) *ClassMeta + type PackageMeta struct + Label string + Name string + Uuid string + type RelationMeta struct + AppId uint64 + AssociationClass AssociationClass + DescriptionOnSource string + DescriptionOnTarget string + EnableAssociaitonClass bool + InnerId uint64 + LabelOfSource string + LabelOfTarget string + RelationType string + RoleOfSource string + RoleOfTarget string + SourceId string + SourceMutiplicity string + System bool + TargetId string + TargetMultiplicity string + Uuid string + func (r *RelationMeta) IsAbsract(m *Model) bool + type UMLMeta struct + APIs []MethodMeta + Classes []ClassMeta + Codes []CodeMeta + GraphLogics []MethodMeta + Relations []RelationMeta + ScriptLogics []MethodMeta