class Node extends KeyValue implements ModelFactory

Node

Properties

protected integer $createdIndex
protected DateTime $expiration
protected integer $modifiedIndex
protected integer $ttl

Methods

integer
getCreatedIndex()

getCreatedIndex

DateTime
getExpiration()

Ablaufdatum

integer
getModifiedIndex()

getModifiedIndex

integer
getTtl()

Lebenszeit

setCreatedIndex(integer $createdIndex)

setCreatedIndex

setExpiration(DateTime $expiration)

Ablauf

setModifiedIndex(integer $modifiedIndex)

setModifiedIndex

setTtl(integer $ttl)

setTtl

static Node
getInstanceFromArray(Array|ArrayHelper $array)

Objekt aus Array

static Node
getInstanceFromJson(string $json)

Objekt aus JSN Zeichenkette

Details

at line 62
integer getCreatedIndex()

getCreatedIndex

Return Value

integer Index

at line 71
DateTime getExpiration()

Ablaufdatum

Return Value

DateTime Ablaufdatum

at line 80
integer getModifiedIndex()

getModifiedIndex

Return Value

integer Index

at line 89
integer getTtl()

Lebenszeit

Return Value

integer Zeitstempel

at line 100
Node setCreatedIndex(integer $createdIndex)

setCreatedIndex

Parameters

integer $createdIndex

Return Value

Node

at line 112
Node setExpiration(DateTime $expiration)

Ablauf

Parameters

DateTime $expiration Ablaufdatum

Return Value

Node

at line 124
Node setModifiedIndex(integer $modifiedIndex)

setModifiedIndex

Parameters

integer $modifiedIndex

Return Value

Node

at line 136
Node setTtl(integer $ttl)

setTtl

Parameters

integer $ttl

Return Value

Node

at line 148
static Node getInstanceFromArray(Array|ArrayHelper $array)

Objekt aus Array

Parameters

Array|ArrayHelper $array Daten

Return Value

Node

at line 172
static Node getInstanceFromJson(string $json)

Objekt aus JSN Zeichenkette

Parameters

string $json JSON Zeichenkette

Return Value

Node