Class EntrySummary
java.lang.Object
org.dishevelled.bio.protein.uniprot.EntrySummary
Entry summary.
- Since:
- 2.5
- Author:
- Michael Heuer
-
Constructor Summary
ConstructorsConstructorDescriptionEntrySummary(String organism, String organismId, String lineage, String type, boolean reviewed, boolean unreviewed, boolean hasStructure) Create a new entry summary. -
Method Summary
Modifier and TypeMethodDescriptionReturn the lineage for this entry summary, may be null.Return the organism for this entry summary, may be null.Return the organism id for this entry summary, may be null.getType()Return the type for this entry summary, may be null.booleanReturn true if this entry summary has structure.booleanReturn true if this entry summary is reviewed.booleanReturn true if this entry summary is unreviewed.
-
Constructor Details
-
EntrySummary
EntrySummary(@Nullable String organism, @Nullable String organismId, @Nullable String lineage, @Nullable String type, boolean reviewed, boolean unreviewed, boolean hasStructure) Create a new entry summary.- Parameters:
organism- organism, if anyorganismId- organism id, if anylineage- lineage, if anytype- type, if anyreviewed- reviewedunreviewed- unreviewedhasStructure- has structure
-
-
Method Details
-
getOrganism
Return the organism for this entry summary, may be null.- Returns:
- the organism for this entry summary, may be null
-
getOrganismId
Return the organism id for this entry summary, may be null.- Returns:
- the organism id for this entry summary, may be null
-
getLineage
Return the lineage for this entry summary, may be null.- Returns:
- the lineage for this entry summary, may be null
-
getType
Return the type for this entry summary, may be null.- Returns:
- the type for this entry summary, may be null
-
isReviewed
public boolean isReviewed()Return true if this entry summary is reviewed.- Returns:
- true if this entry summary is reviewed
-
isUnreviewed
public boolean isUnreviewed()Return true if this entry summary is unreviewed.- Returns:
- true if this entry summary is unreviewed
-
hasStructure
public boolean hasStructure()Return true if this entry summary has structure.- Returns:
- true if this entry summary has structure
-