com.prowidesoftware.swift.model.field
Interface GenericField

All Known Implementing Classes:
Field11A, Field12A, Field12B, Field12C, Field13A, Field13B, Field13J, Field13K, Field17B, Field19A, Field19B, Field20C, Field20D, Field22F, Field22H, Field24B, Field25D, Field36B, Field36C, Field36E, Field69A, Field69B, Field69C, Field69D, Field69E, Field69F, Field69J, Field70C, Field70D, Field70E, Field70F, Field70G, Field90A, Field90B, Field90E, Field90F, Field90J, Field90K, Field92A, Field92B, Field92C, Field92D, Field92E, Field92F, Field92J, Field92K, Field92L, Field92M, Field92N, Field93A, Field93B, Field93C, Field93D, Field94B, Field94C, Field94D, Field94F, Field94G, Field94H, Field95C, Field95P, Field95Q, Field95R, Field95S, Field95T, Field95U, Field95V, Field97A, Field97B, Field97C, Field97E, Field98A, Field98B, Field98C, Field98D, Field98E, Field98F, Field99A, Field99B

public interface GenericField

Interface to mark generic fields and add method related to DSS and qualifiers.

Since:
6.4
Author:
www.prowidesoftware.com

Method Summary
 java.lang.String getConditionalQualifier()
          Gets the conditional qualifier.
The conditional qualifier is the the component following the DSS of generic fields, being component 2 or 3 depending on the field structure definition.
 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 qualifier.
The conditional qualifier is the the component following the DSS of generic fields, being component 2 or 3 depending on the field structure definition.

Returns:
for generic fields returns the value of the conditional qualifier or null if not set or not applicable for this kind of field.