Class EntryFeature
java.lang.Object
org.dishevelled.bio.protein.uniprot.EntryFeature
Entry feature.
- Since:
- 2.5
- Author:
- Michael Heuer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the accession for this entry feature.Return the description for this entry feature, may be null.Return the evidence for this entry feature, may be null.getId()Return the id for this entry feature, may be null.Return the ligand for this entry feature, may be null.Return the ligand part for this entry feature, may be null.Return the location for this entry feature.Return the original sequence for this entry feature, may be null.getRef()Return the ref for this entry feature, may be null.getType()Return the type for this entry feature.Return the sequence variations for this entry feature, may be null.(package private) EntryFeaturewithAccession(String accession) Return this entry feature with the specified accession.
-
Constructor Details
-
EntryFeature
EntryFeature(@Nullable String id, @Nullable String description, @Nullable String evidence, @Nullable String ref, String type, @Nullable String original, @Nullable String variations, Location location, @Nullable String ligand, @Nullable String ligandPart) Create a new entry feature.- Parameters:
id- id, if anydescription- description, if anyevidence- evidence, if anyref- ref, if anytype- type, must not be nulloriginal- original, if anyvariations- variations, if anylocation- location, must not be nullligand- ligand, if anyligandPart- ligand part, if any
-
-
Method Details
-
getAccession
Return the accession for this entry feature.- Returns:
- the accession for this entry feature
-
getId
Return the id for this entry feature, may be null.- Returns:
- the id for this entry feature, may be null
-
getDescription
Return the description for this entry feature, may be null.- Returns:
- the description for this entry feature, may be null
-
getEvidence
Return the evidence for this entry feature, may be null.- Returns:
- the evidence for this entry feature, may be null
-
getRef
Return the ref for this entry feature, may be null.- Returns:
- the ref for this entry feature, may be null
-
getType
Return the type for this entry feature.- Returns:
- the type for this entry feature
-
getOriginal
Return the original sequence for this entry feature, may be null.- Returns:
- the original sequence for this entry feature, may be null
-
getVariations
Return the sequence variations for this entry feature, may be null.- Returns:
- the sequence variations for this entry feature, may be null
-
getLocation
Return the location for this entry feature.- Returns:
- the location for this entry feature
-
getLigand
Return the ligand for this entry feature, may be null.- Returns:
- the ligand for this entry feature, may be null
-
getLigandPart
Return the ligand part for this entry feature, may be null.- Returns:
- the ligand part for this entry feature, may be null
-
withAccession
Return this entry feature with the specified accession.- Parameters:
accession- accession, must not be null- Returns:
- this entry feature with the specified accession
-