Package org.forester.protein
Class BasicProtein
java.lang.Object
org.forester.protein.BasicProtein
- All Implemented Interfaces:
 Protein
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddProteinDomain(Domain protein_domain) booleanIf in_nc_order is set to true, this should return true only and only if the order in List 'domains' and this protein (as determined by the start positions of the domains of this proteins, _not_ by their index) are the same (interspersing, 'other', domains in this are ignored).intgetName()intgetProteinDomain(int index) intgetProteinDomainCount(String domain_id) getProteinDomains(String domain_id) voidsetAccession(String accession) voidsetDescription(String description) voidtoDomainArchitectureString(String separator) toDomainArchitectureString(String separator, int repeats_limit, String repeat_separator) toString() 
- 
Field Details
- 
DomainMidPositionComparator
 
 - 
 - 
Constructor Details
- 
BasicProtein
 
 - 
 - 
Method Details
- 
addProteinDomain
- Specified by:
 addProteinDomainin interfaceProtein
 - 
contains
Description copied from interface:ProteinIf in_nc_order is set to true, this should return true only and only if the order in List 'domains' and this protein (as determined by the start positions of the domains of this proteins, _not_ by their index) are the same (interspersing, 'other', domains in this are ignored). If in_nc_order is set to false, this should return true only and only if this contains all domains listed in 'domains' (order and count do not matter). - 
getAccession
- Specified by:
 getAccessionin interfaceProtein
 - 
getDescription
- Specified by:
 getDescriptionin interfaceProtein
 - 
getDomainsSortedByPosition
- Specified by:
 getDomainsSortedByPositionin interfaceProtein
 - 
getLength
public int getLength() - 
getName
 - 
getNumberOfProteinDomains
public int getNumberOfProteinDomains()- Specified by:
 getNumberOfProteinDomainsin interfaceProtein
 - 
getProteinDomain
- Specified by:
 getProteinDomainin interfaceProtein
 - 
getProteinDomainCount
- Specified by:
 getProteinDomainCountin interfaceProtein
 - 
getProteinDomains
- Specified by:
 getProteinDomainsin interfaceProtein
 - 
getProteinDomains
- Specified by:
 getProteinDomainsin interfaceProtein
 - 
getProteinId
- Specified by:
 getProteinIdin interfaceProtein
 - 
getSpecies
- Specified by:
 getSpeciesin interfaceProtein
 - 
setAccession
 - 
setDescription
 - 
setName
 - 
toDomainArchitectureString
 - 
toDomainArchitectureString
 - 
toString
 
 -