Interface GenericField
-
- All Known Implementing Classes:
Field11A
,Field12A
,Field12B
,Field12C
,Field13A
,Field13B
,Field13J
,Field13K
,Field17B
,Field19A
,Field19B
,Field20C
,Field20D
,Field20U
,Field22F
,Field22H
,Field24B
,Field25D
,Field36B
,Field36C
,Field36D
,Field36E
,Field69A
,Field69B
,Field69C
,Field69D
,Field69E
,Field69F
,Field69J
,Field70C
,Field70D
,Field70E
,Field70F
,Field70G
,Field70H
,Field90A
,Field90B
,Field90E
,Field90F
,Field90J
,Field90K
,Field90L
,Field92A
,Field92B
,Field92C
,Field92D
,Field92F
,Field92H
,Field92J
,Field92K
,Field92L
,Field92M
,Field92N
,Field92P
,Field92R
,Field93A
,Field93B
,Field93C
,Field93D
,Field93E
,Field93F
,Field94B
,Field94C
,Field94D
,Field94E
,Field94F
,Field94G
,Field94H
,Field94L
,Field95C
,Field95L
,Field95P
,Field95Q
,Field95R
,Field95S
,Field95U
,Field95V
,Field97A
,Field97B
,Field97C
,Field97D
,Field97E
,Field98A
,Field98B
,Field98C
,Field98E
,Field98F
,Field98J
,Field98K
,Field99A
,Field99B
,Field99C
public interface GenericField
Interface to mark generic fields and add method related to DSS and qualifiers.- Since:
- 6.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getConditionalQualifier()
Gets the conditional (secondary) qualifier.java.lang.String
getDSS()
Returns the issuer code (or Data Source Scheme or DSS).boolean
isDSSPresent()
Checks if the issuer code (or Data Source Scheme or DSS) is present.
-
-
-
Method Detail
-
getDSS
java.lang.String getDSS()
Returns the issuer code (or Data Source Scheme or DSS). The DSS is only present in some generic fields, when present, is equals to component two.- Returns:
- DSS component value or null if the DSS is not set or not available for this field.
-
isDSSPresent
boolean isDSSPresent()
Checks if the issuer code (or Data Source Scheme or DSS) is present.- Returns:
- true if DSS is present, false otherwise.
- See Also:
getDSS()
-
getConditionalQualifier
java.lang.String getConditionalQualifier()
Gets the conditional (secondary) qualifier.In generic fields this is normally the component following the DSS or the double slash separator when the field does not has a DSS component; so in most cases this method returns either 2 or 3 depending if the field contains a DSS component or not. For some specific fields the conditionally qualifier could be something different, for example in fields 69D and 92H it is the component 4.
- Returns:
- for generic fields returns the value of the conditional qualifier or null if not set or not applicable for this field.
-
-