biz.c24.io.api.data.swift
Class SwiftFieldDataType.QualifiedRestrictionMap

java.lang.Object
  extended by biz.c24.io.api.data.swift.SwiftFieldDataType.QualifiedRestrictionMap
All Implemented Interfaces:
Serializable
Enclosing class:
SwiftFieldDataType

public class SwiftFieldDataType.QualifiedRestrictionMap
extends Object
implements Serializable

A S.W.I.F.T. specific restriction to ensure the enumeration of a particular subfield is restricted when a certain qualifier, option and data source scheme combination are present.

See Also:
Serialized Form

Constructor Summary
SwiftFieldDataType.QualifiedRestrictionMap(String qualifier, DataComponent[] options, boolean dssPresent, int[] dssRestrictionMap, String subfieldName, int[] restrictionMap)
          Creates a new instances with the specified parameters.
 
Method Summary
 int[] getDSSRestrictionMap()
          Returns the map to the eligible values of the data source scheme's enumeration.
 DataComponent[] getOptions()
          Returns the list of options.
 String getQualifier()
          Returns the qualifier.
 int[] getRestrictionMap()
          Returns the map to the members of the subfields enumeration which it's value must match.
 String getSubfieldName()
          Returns the name of the subfield to apply the restriction to.
 boolean isDSSPresent()
          Returns whether the data source scheme must be present.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SwiftFieldDataType.QualifiedRestrictionMap

public SwiftFieldDataType.QualifiedRestrictionMap(String qualifier,
                                                  DataComponent[] options,
                                                  boolean dssPresent,
                                                  int[] dssRestrictionMap,
                                                  String subfieldName,
                                                  int[] restrictionMap)
Creates a new instances with the specified parameters.

Parameters:
qualifier - The qualifier.
options - The list of options.
dssPresent - Whether the data source scheme must be present.
dssRestrictionMap - If the data source scheme is present, a map to the eligible values in the enumeration.
subfieldName - Teh name of the subfield to be restricted
restrictionMap - A map to the restricted values of the enumeration.
Method Detail

getQualifier

public String getQualifier()
Returns the qualifier.

Returns:
The qualifier.

getOptions

public DataComponent[] getOptions()
Returns the list of options.

Returns:
The list of options.

isDSSPresent

public boolean isDSSPresent()
Returns whether the data source scheme must be present.

Returns:
The boolean value.

getDSSRestrictionMap

public int[] getDSSRestrictionMap()
Returns the map to the eligible values of the data source scheme's enumeration.

Returns:
The map.

getSubfieldName

public String getSubfieldName()
Returns the name of the subfield to apply the restriction to.

Returns:
The subfield's name.

getRestrictionMap

public int[] getRestrictionMap()
Returns the map to the members of the subfields enumeration which it's value must match.

Returns:
The map.

toString

public String toString()
Overrides:
toString in class Object


C24 Technologies © 2002-2012: All Rights Reserved.