Keyword
in package
Class Keywords
Tags
Attributes
- #[Entity]
- #[Table]
- $name: "keyword"
- #[UniqueConstraint]
- $name: "uniq_keyword"
- $columns: ["prim_acc", "keywords"]
Table of Contents
Properties
- $id : int|null
- $keywords : string
- $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
- getId() : int|null
- getKeywords() : string
- getPrimAcc() : string
- setKeywords() : void
- setPrimAcc() : void
Properties
$id
private
int|null
$id
= null
Attributes
- #[Column]
- $type: "integer"
- #[GeneratedValue]
- #[Id]
$keywords
private
string
$keywords
= ""
Attributes
- #[Column]
- $type: "string"
- $length: 255
- $nullable: false
$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
getId()
public
getId() : int|null
Return values
int|null —Null until the row is stored
getKeywords()
public
getKeywords() : string
Return values
stringgetPrimAcc()
public
getPrimAcc() : string
Return values
stringsetKeywords()
public
setKeywords(string $keywords) : void
Parameters
- $keywords : string
setPrimAcc()
public
setPrimAcc(string $primAcc) : void
Parameters
- $primAcc : string