Accession
in package
Class Accession
Tags
Attributes
- #[Entity]
- #[Table]
- $name: "accession"
- #[UniqueConstraint]
- $name: "uniq_accession"
- $columns: ["prim_acc", "accession"]
Table of Contents
Properties
- $accession : 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.
Methods
- getAccession() : string
- getId() : int|null
- getPrimAcc() : string
- setAccession() : void
- setPrimAcc() : void
Properties
$accession
private
string
$accession
= ""
Attributes
- #[Column]
- $type: "string"
- $length: 50
- $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
Methods
getAccession()
public
getAccession() : string
Return values
stringgetId()
public
getId() : int|null
Return values
int|null —Null until the row is stored
getPrimAcc()
public
getPrimAcc() : string
Return values
stringsetAccession()
public
setAccession(string $accession) : void
Parameters
- $accession : string
setPrimAcc()
public
setPrimAcc(string $primAcc) : void
Parameters
- $primAcc : string