Enum ShelfReadyFieldsBooks
java.lang.Object
java.lang.Enum<ShelfReadyFieldsBooks>
de.gwdg.metadataqa.marc.analysis.shelfready.ShelfReadyFieldsBooks
- All Implemented Interfaces:
Serializable,Comparable<ShelfReadyFieldsBooks>,java.lang.constant.Constable
Enumeration of the shelf-ready subfield categories
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()doubleintgetScore()getValue()booleanisOneOf()Determines if it's sufficient for there to be at least one of the selectors present.toString()static ShelfReadyFieldsBooksReturns the enum constant of this type with the specified name.static ShelfReadyFieldsBooks[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LDR06
-
LDR07
-
LDR1718
-
TAG00600
-
TAG010
-
TAG015
-
TAG020
-
TAG035
-
TAG040
-
TAG041
-
TAG050
-
TAG082
-
TAG1XX
-
TAG240
-
TAG245
-
TAG246
-
TAG250
-
TAG264
-
TAG300
-
TAG336
-
TAG337
-
TAG338
-
TAG490
-
TAG500
-
TAG504
-
TAG505
-
TAG520
-
TAG546
-
TAG588
-
TAG6XX
-
TAG7XX
-
TAG776
-
TAG856
-
TAG8XX
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getMarcPath
-
getLabel
-
getValue
-
getValueLabel
-
getScore
public int getScore() -
getSelectors
-
isOneOf
public boolean isOneOf()Determines if it's sufficient for there to be at least one of the selectors present. If the value is false, then the scores are calculated proportionally to the number of selectors present. If the value is true, then the score is set to the maximum score for the category if at least one selector is present. -
getNormalizedScore
public double getNormalizedScore() -
toString
- Overrides:
toStringin classEnum<ShelfReadyFieldsBooks>
-