Package ru.curs.celesta.score
Class AbstractScore
java.lang.Object
ru.curs.celesta.score.AbstractScore
- Direct Known Subclasses:
Score
Root class for complete data model of grains.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAbstractScore.ScoreBuilder<T extends AbstractScore>Score builder for subclasses ofAbstractScore. -
Method Summary
Modifier and TypeMethodDescriptionfinal StringReturns a human-readable table with all available grains, their versions, checksums and lengths.Returns grain by its name.Returns an unmodifiable grain set.abstract IdentifierParserReturns identifier parser.abstract StringReturns system schema name.
-
Method Details
-
getGrain
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
Returns system schema name. -
getIdentifierParser
Returns identifier parser. -
getGrains
Returns an unmodifiable grain set. -
describeGrains
Returns a human-readable table with all available grains, their versions, checksums and lengths.
-