Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity interface {
// GetEntityID returns the entity identifier.
GetEntityID() string
// GetEntityTypeName returns the entity type name.
GetEntityTypeName() string
}
Entity is a string-ID identified node in the entity graph.
type Ref ¶
type Ref interface {
// GetEntityRefId returns the referenced entity ID.
GetEntityRefId() string
// GetEntityRefTypeName returns the referenced entity type name.
GetEntityRefTypeName() string
}
Ref is a reference to another entity.
func NewEntityRef ¶
NewEntityRef builds a new EntityRef with an entity handle.
func NewEntityRefWithID ¶
NewEntityRefWithID builds a new EntityRef with an id and type name.
Click to show internal directories.
Click to hide internal directories.