Author
in package
Class Authors
Tags
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
stringgetId()
public
getId() : int|null
Return values
int|null —Null until the row is stored
getPrimAcc()
public
getPrimAcc() : string
Return values
stringgetRefno()
public
getRefno() : int
Return values
intsetAuthor()
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