binding

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEntity

func NewEntity(store data.Store, entityId string) data.EntityBinding

func NewField

func NewField(store data.Store, entityId, fieldName string) data.FieldBinding

Types

type Entity

type Entity struct {
	// contains filtered or unexported fields
}

func (*Entity) AppendChildId

func (e *Entity) AppendChildId(id string)

func (*Entity) GetChildrenIds

func (e *Entity) GetChildrenIds() []string

func (*Entity) GetField

func (e *Entity) GetField(fieldName string) data.FieldBinding

func (*Entity) GetId

func (e *Entity) GetId() string

func (*Entity) GetName

func (e *Entity) GetName() string

func (*Entity) GetParentId

func (e *Entity) GetParentId() string

func (*Entity) GetType

func (e *Entity) GetType() string

func (*Entity) RemoveChildId

func (e *Entity) RemoveChildId(id string)

func (*Entity) SetChildrenIds

func (e *Entity) SetChildrenIds(ids []string)

func (*Entity) SetId

func (e *Entity) SetId(id string)

func (*Entity) SetName

func (e *Entity) SetName(n string)

func (*Entity) SetParentId

func (e *Entity) SetParentId(p string)

func (*Entity) SetType

func (e *Entity) SetType(t string)

type Field

type Field struct {
	// contains filtered or unexported fields
}

func (*Field) GetBinaryFile

func (b *Field) GetBinaryFile() string

func (*Field) GetBool

func (b *Field) GetBool() bool

func (*Field) GetEntityId

func (b *Field) GetEntityId() string

func (*Field) GetEntityReference

func (b *Field) GetEntityReference() string

func (*Field) GetFieldName

func (b *Field) GetFieldName() string

func (*Field) GetFloat

func (b *Field) GetFloat() float64

func (*Field) GetInt

func (b *Field) GetInt() int64

func (*Field) GetString

func (b *Field) GetString() string

func (*Field) GetTimestamp

func (b *Field) GetTimestamp() time.Time

func (*Field) GetTransformation

func (b *Field) GetTransformation() string

func (*Field) GetValue

func (b *Field) GetValue() data.Value

func (*Field) GetWriteTime

func (b *Field) GetWriteTime() time.Time

func (*Field) GetWriter

func (b *Field) GetWriter() string

func (*Field) IsBinaryFile

func (b *Field) IsBinaryFile() bool

func (*Field) IsBool

func (b *Field) IsBool() bool

func (*Field) IsEntityReference

func (b *Field) IsEntityReference() bool

func (*Field) IsFloat

func (b *Field) IsFloat() bool

func (*Field) IsInt

func (b *Field) IsInt() bool

func (*Field) IsString

func (b *Field) IsString() bool

func (*Field) IsTimestamp

func (b *Field) IsTimestamp() bool

func (*Field) IsTransformation

func (b *Field) IsTransformation() bool

func (*Field) ReadBinaryFile

func (b *Field) ReadBinaryFile() string

func (*Field) ReadBool

func (b *Field) ReadBool() bool

func (*Field) ReadEntityReference

func (b *Field) ReadEntityReference() string

func (*Field) ReadFloat

func (b *Field) ReadFloat() float64

func (*Field) ReadInt

func (b *Field) ReadInt() int64

func (*Field) ReadString

func (b *Field) ReadString() string

func (*Field) ReadTimestamp

func (b *Field) ReadTimestamp() time.Time

func (*Field) ReadTransformation

func (b *Field) ReadTransformation() string

func (*Field) ReadValue

func (b *Field) ReadValue() data.Value

func (*Field) WriteBinaryFile

func (b *Field) WriteBinaryFile(args ...interface{}) data.FieldBinding

func (*Field) WriteBool

func (b *Field) WriteBool(args ...interface{}) data.FieldBinding

func (*Field) WriteEntityReference

func (b *Field) WriteEntityReference(args ...interface{}) data.FieldBinding

func (*Field) WriteFloat

func (b *Field) WriteFloat(args ...interface{}) data.FieldBinding

func (*Field) WriteInt

func (b *Field) WriteInt(args ...interface{}) data.FieldBinding

func (*Field) WriteString

func (b *Field) WriteString(args ...interface{}) data.FieldBinding

func (*Field) WriteTimestamp

func (b *Field) WriteTimestamp(args ...interface{}) data.FieldBinding

func (*Field) WriteTransformation

func (b *Field) WriteTransformation(args ...interface{}) data.FieldBinding

func (*Field) WriteValue

func (b *Field) WriteValue(v data.Value) data.FieldBinding

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL