Protein
in package
Class Protein - * This class represents the end-products of genetic processes of translation and transcription -- the proteins. While a protein's primary structure (its amino acid sequence) is ably represented as a Sequence object, its secondary and tertiary structures are not. This is the main rationale for creating a separate Protein class.
Tags
Table of Contents
Properties
- $id : string
- A string that uniquely identifies a protein.
- $name : string
- The long name used to refer to this protein.
- $sequence : string
Methods
- getId() : string
- getName() : string
- getSequence() : string
- setId() : void
- setName() : void
- setSequence() : void
Properties
$id
A string that uniquely identifies a protein.
private
string
$id
= ""
$name
The long name used to refer to this protein.
private
string
$name
= ""
$sequence
private
string
$sequence
= ""
Methods
getId()
public
getId() : string
Return values
stringgetName()
public
getName() : string
Return values
stringgetSequence()
public
getSequence() : string
Return values
stringsetId()
public
setId(string $id) : void
Parameters
- $id : string
setName()
public
setName(string $name) : void
Parameters
- $name : string
setSequence()
public
setSequence(string $sequence) : void
Parameters
- $sequence : string