Documentation ¶
Index ¶
- func GetActionByNameInEntityDefinition(entityDefinition *base.EntityDefinition, name string) (actionDefinition *base.ActionDefinition, err error)
- func GetEntityByName(schema *base.SchemaDefinition, name string) (entityDefinition *base.EntityDefinition, err error)
- func GetRelationByNameInEntityDefinition(entityDefinition *base.EntityDefinition, name string) (relationDefinition *base.RelationDefinition, err error)
- func GetTypeOfRelationalReferenceByNameInEntityDefinition(entityDefinition *base.EntityDefinition, name string) (relationalDefinitionType base.EntityDefinition_RelationalReference, err error)
- func NewEntityDefinitionsFromStringDefinitions(validation bool, definitions ...string) ([]*base.EntityDefinition, error)
- func NewSchemaFromEntityDefinitions(entities ...*base.EntityDefinition) *base.SchemaDefinition
- func NewSchemaFromStringDefinitions(validation bool, definitions ...string) (*base.SchemaDefinition, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActionByNameInEntityDefinition ¶
func GetActionByNameInEntityDefinition(entityDefinition *base.EntityDefinition, name string) (actionDefinition *base.ActionDefinition, err error)
GetActionByNameInEntityDefinition -
func GetEntityByName ¶
func GetEntityByName(schema *base.SchemaDefinition, name string) (entityDefinition *base.EntityDefinition, err error)
GetEntityByName -
func GetRelationByNameInEntityDefinition ¶
func GetRelationByNameInEntityDefinition(entityDefinition *base.EntityDefinition, name string) (relationDefinition *base.RelationDefinition, err error)
GetRelationByNameInEntityDefinition -
func GetTypeOfRelationalReferenceByNameInEntityDefinition ¶
func GetTypeOfRelationalReferenceByNameInEntityDefinition(entityDefinition *base.EntityDefinition, name string) (relationalDefinitionType base.EntityDefinition_RelationalReference, err error)
GetTypeOfRelationalReferenceByNameInEntityDefinition -
func NewEntityDefinitionsFromStringDefinitions ¶
func NewEntityDefinitionsFromStringDefinitions(validation bool, definitions ...string) ([]*base.EntityDefinition, error)
NewEntityDefinitionsFromStringDefinitions -
func NewSchemaFromEntityDefinitions ¶
func NewSchemaFromEntityDefinitions(entities ...*base.EntityDefinition) *base.SchemaDefinition
NewSchemaFromEntityDefinitions -
func NewSchemaFromStringDefinitions ¶
func NewSchemaFromStringDefinitions(validation bool, definitions ...string) (*base.SchemaDefinition, error)
NewSchemaFromStringDefinitions -
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.