coordinate

package
v7.0.0-rc0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidCoordinateName

func IsValidCoordinateName(str string) bool

IsValidCoordinateName returns true if the name contains only characters valid for a Coordinate name

Types

type TOCoordinate

type TOCoordinate struct {
	api.APIInfoImpl `json:"-"`
	tc.CoordinateNullable
}

we need a type alias to define functions on

func (*TOCoordinate) Create

func (coord *TOCoordinate) Create() (error, error, int)

func (*TOCoordinate) Delete

func (coord *TOCoordinate) Delete() (error, error, int)

func (*TOCoordinate) DeleteQuery

func (v *TOCoordinate) DeleteQuery() string

func (TOCoordinate) GetAuditName

func (coordinate TOCoordinate) GetAuditName() string

func (TOCoordinate) GetKeyFieldsInfo

func (coordinate TOCoordinate) GetKeyFieldsInfo() []api.KeyFieldInfo

func (TOCoordinate) GetKeys

func (coordinate TOCoordinate) GetKeys() (map[string]interface{}, bool)

Implementation of the Identifier, Validator interface functions

func (*TOCoordinate) GetLastUpdated

func (v *TOCoordinate) GetLastUpdated() (*time.Time, bool, error)

func (TOCoordinate) GetType

func (coordinate TOCoordinate) GetType() string

func (*TOCoordinate) InsertQuery

func (v *TOCoordinate) InsertQuery() string

func (*TOCoordinate) NewReadObj

func (v *TOCoordinate) NewReadObj() interface{}

func (*TOCoordinate) ParamColumns

func (v *TOCoordinate) ParamColumns() map[string]dbhelpers.WhereColumnInfo

func (*TOCoordinate) Read

func (coord *TOCoordinate) Read(h http.Header, useIMS bool) ([]interface{}, error, error, int, *time.Time)

func (*TOCoordinate) SelectMaxLastUpdatedQuery

func (v *TOCoordinate) SelectMaxLastUpdatedQuery(where, orderBy, pagination, tableName string) string

func (*TOCoordinate) SelectQuery

func (v *TOCoordinate) SelectQuery() string

func (*TOCoordinate) SetKeys

func (coordinate *TOCoordinate) SetKeys(keys map[string]interface{})

func (*TOCoordinate) SetLastUpdated

func (v *TOCoordinate) SetLastUpdated(t tc.TimeNoMod)

func (*TOCoordinate) Update

func (coord *TOCoordinate) Update(h http.Header) (error, error, int)

func (*TOCoordinate) UpdateQuery

func (v *TOCoordinate) UpdateQuery() string

func (TOCoordinate) Validate

func (coordinate TOCoordinate) Validate() (error, error)

Validate fulfills the api.Validator interface.

Jump to

Keyboard shortcuts

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