Enum SourceSpecificationType
- java.lang.Object
-
- java.lang.Enum<SourceSpecificationType>
-
- de.gwdg.metadataqa.marc.definition.SourceSpecificationType
-
- All Implemented Interfaces:
Serializable,Comparable<SourceSpecificationType>
public enum SourceSpecificationType extends Enum<SourceSpecificationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Indicator1Is7AndSubfield2Indicator1IsSpaceAndSubfield2Indicator2Indicator2AndSubfield2Indicator2For055AndSubfield2Subfield2
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getIndicators()static SourceSpecificationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SourceSpecificationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Indicator1Is7AndSubfield2
public static final SourceSpecificationType Indicator1Is7AndSubfield2
-
Indicator1IsSpaceAndSubfield2
public static final SourceSpecificationType Indicator1IsSpaceAndSubfield2
-
Indicator2AndSubfield2
public static final SourceSpecificationType Indicator2AndSubfield2
-
Indicator2For055AndSubfield2
public static final SourceSpecificationType Indicator2For055AndSubfield2
-
Subfield2
public static final SourceSpecificationType Subfield2
-
Indicator2
public static final SourceSpecificationType Indicator2
-
-
Method Detail
-
values
public static SourceSpecificationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SourceSpecificationType c : SourceSpecificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SourceSpecificationType valueOf(String name)
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
-
-