Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct { meta.AttributeMeta Class *Class }
func NewAttribute ¶
func NewAttribute(a *meta.AttributeMeta, c *Class) *Attribute
type Class ¶
type Class struct { Uuid string InnerId uint64 StereoType string Name string Description string Root bool SoftDelete bool Attributes []*Attribute Methods []*Method Parents []*Class Children []*Class AppId uint64 OnCreated string OnUpdated string OnDeleted string EnableVersion bool PackageUuid string }
func (*Class) AllParents ¶
func (*Class) HasChildren ¶
type Method ¶
type Method struct { meta.MethodMeta Class *Class }
type Model ¶
func (*Model) GetClassByUuid ¶
type Relation ¶
type Relation struct { Uuid string InnerId uint64 RelationType string Source *Class Target *Class RoleOfTarget string RoleOfSource string DescriptionOnSource string DescriptionOnTarget string SourceMutiplicity string TargetMultiplicity string EnableAssociaitonClass bool AssociationClass meta.AssociationClass AppId uint64 }
func NewRelation ¶
func NewRelation(r *meta.RelationMeta, s *Class, t *Class) *Relation
Click to show internal directories.
Click to hide internal directories.