Class AbstractScore

  • Direct Known Subclasses:
    Score

    public abstract class AbstractScore
    extends Object
    Root class for complete data model of grains.
    • Method Detail

      • getGrain

        public Grain getGrain​(String name)
                       throws ParseException
        Returns grain by its name. In case if the grain name is unknown an exception is thrown.
        Parameters:
        name - Grain name.
        Throws:
        ParseException - If grain name is unknown to the system.
      • getSysSchemaName

        public abstract String getSysSchemaName()
        Returns system schema name.
      • getIdentifierParser

        public abstract IdentifierParser getIdentifierParser()
        Returns identifier parser.
      • getGrains

        public Map<String,​Grain> getGrains()
        Returns an unmodifiable grain set.
      • describeGrains

        public final String describeGrains()
        Returns a human-readable table with all available grains, their versions, checksums and lengths.