Class EntrySummary

java.lang.Object
org.dishevelled.bio.protein.uniprot.EntrySummary

@Immutable public final class EntrySummary extends Object
Entry summary.
Since:
2.5
Author:
Michael Heuer
  • 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 any
      organismId - organism id, if any
      lineage - lineage, if any
      type - type, if any
      reviewed - reviewed
      unreviewed - unreviewed
      hasStructure - has structure
  • Method Details

    • getOrganism

      public String getOrganism()
      Return the organism for this entry summary, may be null.
      Returns:
      the organism for this entry summary, may be null
    • getOrganismId

      public String getOrganismId()
      Return the organism id for this entry summary, may be null.
      Returns:
      the organism id for this entry summary, may be null
    • getLineage

      public String getLineage()
      Return the lineage for this entry summary, may be null.
      Returns:
      the lineage for this entry summary, may be null
    • getType

      public String 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