AirLay backend

ImportFormat extends DatabaseEntity
in package

Table of Contents

AVAILABLE_GEOMETRY_TYPE  = ['Point', 'MultiPoint', 'LineString', 'MultiLineString', 'Polygon', 'MultiPolygon', 'GeometryCollection']
$_id  : ObjectId
$geometry  : array<string|int, mixed>
$properties  : array<string|int, mixed>|null
$system  : array<string|int, mixed>|null
$type  : string
__construct()  : mixed
__toString()  : string
addHierarchy()  : self
bsonSerialize()  : array<string|int, mixed>
bsonUnserialize()  : void
clearSystemErrors()  : void
getGeometry()  : array<string|int, mixed>
getId()  : ObjectId
getProperties()  : array<string|int, mixed>
getSystem()  : array<string|int, mixed>
jsonSerialize()  : array<string|int, mixed>
parseObjectId()  : ObjectId|null
setBarycenter()  : self
setCoordinates()  : self
setGeometry()  : self
setId()  : self
setProperties()  : self
setRelations()  : $this
setSystem()  : self
toArray()  : array<string|int, mixed>
setCategory()  : self
setOperation()  : void
setOptions()  : self

Constants

AVAILABLE_GEOMETRY_TYPE

private mixed AVAILABLE_GEOMETRY_TYPE = ['Point', 'MultiPoint', 'LineString', 'MultiLineString', 'Polygon', 'MultiPolygon', 'GeometryCollection']

Properties

$properties

private array<string|int, mixed>|null $properties = null

$system

private array<string|int, mixed>|null $system = null

Methods

__construct()

public __construct(string $geometryType[, ObjectId|null $id = null ]) : mixed
Parameters
$geometryType : string
$id : ObjectId|null = null
Return values
mixed

__toString()

public __toString() : string
Return values
string

addHierarchy()

public addHierarchy(array<string|int, mixed> $hierarchy) : self
Parameters
$hierarchy : array<string|int, mixed>
Return values
self

bsonSerialize()

public bsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

bsonUnserialize()

public bsonUnserialize(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>
Return values
void

clearSystemErrors()

public clearSystemErrors() : void
Return values
void

getGeometry()

public getGeometry() : array<string|int, mixed>
Return values
array<string|int, mixed>

getProperties()

public getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

getSystem()

public getSystem() : array<string|int, mixed>
Return values
array<string|int, mixed>

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

parseObjectId()

public static parseObjectId(mixed $objectId) : ObjectId|null
Parameters
$objectId : mixed
Return values
ObjectId|null

setCoordinates()

public setCoordinates(array<string|int, mixed> $coordinates) : self
Parameters
$coordinates : array<string|int, mixed>
Return values
self

setGeometry()

public setGeometry(array<string|int, mixed> $geometry) : self
Parameters
$geometry : array<string|int, mixed>
Return values
self

setId()

public setId(ObjectId $id) : self
Parameters
$id : ObjectId
Return values
self

setProperties()

public setProperties(array<string|int, mixed> $properties) : self
Parameters
$properties : array<string|int, mixed>
Return values
self

setRelations()

public setRelations(array<string|int, string> $relations) : $this
Parameters
$relations : array<string|int, string>
Return values
$this

setSystem()

public setSystem(array<string|int, mixed> $system) : self
Parameters
$system : array<string|int, mixed>
Return values
self

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

setCategory()

private setCategory(ObjectId|string $category) : self
Parameters
$category : ObjectId|string
Return values
self

setOperation()

private setOperation(string $operation) : void
Parameters
$operation : string
Return values
void

setOptions()

private setOptions(array<string|int, mixed> $options) : self
Parameters
$options : array<string|int, mixed>
Return values
self

Search results