Documentation

Author

Class Authors

Tags
author

Amélie DUVERNET aka Amelaye amelieonline@gmail.com

Attributes
#[Entity]
#[Index]
$name: "author_prim_acc"
$columns: ["prim_acc", "refno"]
#[Table]
$name: "author"

Table of Contents

Properties

$author  : string
$id  : int|null
$primAcc  : string
The primary accession of the sequence this row belongs to : a plain column, so that a parsed record can be stored as the parser builds it, with its accession as a string.
$refno  : int

Methods

getAuthor()  : string
getId()  : int|null
getPrimAcc()  : string
getRefno()  : int
setAuthor()  : void
setPrimAcc()  : void
setRefno()  : void

Properties

$author

private string $author = ""
Attributes
#[Column]
$type: "string"
$length: 255
$nullable: false

$id

private int|null $id = null
Attributes
#[Column]
$type: "integer"
#[GeneratedValue]
#[Id]

$primAcc

The primary accession of the sequence this row belongs to : a plain column, so that a parsed record can be stored as the parser builds it, with its accession as a string.

private string $primAcc = ""
Attributes
#[Column]
$type: "string"
$length: 50
$nullable: false

$refno

private int $refno = 0
Attributes
#[Column]
$type: "integer"
$nullable: false
$options: ["default" => 0]

Methods

getAuthor()

public getAuthor() : string
Return values
string

getId()

public getId() : int|null
Return values
int|null —

Null until the row is stored

getPrimAcc()

public getPrimAcc() : string
Return values
string

getRefno()

public getRefno() : int
Return values
int

setAuthor()

public setAuthor(string $author) : void
Parameters
$author : string

setPrimAcc()

public setPrimAcc(string $primAcc) : void
Parameters
$primAcc : string

setRefno()

public setRefno(int $refno) : void
Parameters
$refno : int
On this page

Search results