com.prowidesoftware.swift.model.field
Class Field31T
java.lang.Object
com.prowidesoftware.swift.model.field.Field
com.prowidesoftware.swift.model.field.Field31T
- All Implemented Interfaces:
- PatternContainer, java.io.Serializable
Deprecated.
@Deprecated
public class Field31T
- extends Field
- implements java.io.Serializable
Field 31T
validation pattern:
parser pattern: S
components pattern: H
Components Data types
NOTE: this source code has been generated.
- Author:
- www.prowidesoftware.com
- See Also:
- Serialized Form
Fields inherited from class com.prowidesoftware.swift.model.field.Field |
components |
Constructor Summary |
Field31T()
Deprecated. Default constructor |
Field31T(java.lang.String value)
Deprecated. Creates the field parsing the parameter value into fields' components |
Method Summary |
java.lang.String |
componentsPattern()
Deprecated. |
java.lang.String |
getComponent1()
Deprecated. Get the component1 |
java.util.Calendar |
getComponent1AsCalendar()
Deprecated. Get the component1 as Calendar |
java.lang.String |
getTimeIndication()
Deprecated. Get the Time Indication (component1). |
java.util.Calendar |
getTimeIndicationAsCalendar()
Deprecated. Get the Time Indication (component1) as Calendar |
java.lang.String |
getValue()
Deprecated. Serializes the fields' components into the single string value (SWIFT format) |
boolean |
isGeneric()
Deprecated. Returns true if the field is a GENERIC FIELD as specified by the standard. |
boolean |
isOptional(int component)
Deprecated. Given a component number it returns true if the component is optional,
regardless of the field being mandatory in a particular message.
Being the field's value conformed by a composition of one or several
internal component values, the field may be present in a message with
a proper value but with some of its internal components not set. |
java.lang.String |
parserPattern()
Deprecated. |
void |
setComponent1(java.util.Calendar component1)
Deprecated. Set the component1. |
void |
setComponent1(java.lang.String component1)
Deprecated. Set the component1. |
void |
setTimeIndication(java.util.Calendar component1)
Deprecated. Set the Time Indication (component1) as Calendar |
void |
setTimeIndication(java.lang.String component1)
Deprecated. Set the Time Indication (component1). |
Methods inherited from class com.prowidesoftware.swift.model.field.Field |
appendInLines, appendInLines, equals, findComponentStartingWith, format, formatAccount, formatNumber, getAsBigDecimal, getComponent, getComponentAs, getComponents, getConditionalQualifier, getDSS, getField, getLabel, getLabel, getLabel, getLabel, getName, getValueByCodeword, getValueDisplay, hashCode, isDSSPresent, isEmpty, joinComponents, joinComponents, joinComponents, joinComponents, setComponent, setComponents, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- Deprecated.
- See Also:
- Constant Field Values
PARSER_PATTERN
public static final java.lang.String PARSER_PATTERN
- Deprecated.
- See Also:
- Constant Field Values
COMPONENTS_PATTERN
public static final java.lang.String COMPONENTS_PATTERN
- Deprecated.
- See Also:
- Constant Field Values
Field31T
public Field31T()
- Deprecated.
- Default constructor
Field31T
public Field31T(java.lang.String value)
- Deprecated.
- Creates the field parsing the parameter value into fields' components
- Parameters:
value
-
getValue
public java.lang.String getValue()
- Deprecated.
- Serializes the fields' components into the single string value (SWIFT format)
- Overrides:
getValue
in class Field
- Returns:
- SWIFT formatted value
getComponent1
public java.lang.String getComponent1()
- Deprecated.
- Get the component1
- Returns:
- the component1
getComponent1AsCalendar
public java.util.Calendar getComponent1AsCalendar()
- Deprecated.
- Get the component1 as Calendar
- Returns:
- the component1 converted to Calendar or
null
if cannot be converted
getTimeIndication
public java.lang.String getTimeIndication()
- Deprecated.
- Get the Time Indication (component1).
- Returns:
- the Time Indication from component1
getTimeIndicationAsCalendar
public java.util.Calendar getTimeIndicationAsCalendar()
- Deprecated.
- Get the Time Indication (component1) as Calendar
- Returns:
- the Time Indication from component1 converted to Calendar or
null
if cannot be converted
setComponent1
public void setComponent1(java.lang.String component1)
- Deprecated.
- Set the component1.
- Parameters:
component1
- the component1 to set
setComponent1
public void setComponent1(java.util.Calendar component1)
- Deprecated.
- Set the component1.
- Parameters:
component1
- the Calendar with the component1 content to set
setTimeIndication
public void setTimeIndication(java.lang.String component1)
- Deprecated.
- Set the Time Indication (component1).
- Parameters:
component1
- the Time Indication to set
setTimeIndication
public void setTimeIndication(java.util.Calendar component1)
- Deprecated.
- Set the Time Indication (component1) as Calendar
- Parameters:
component1
- Calendar with the Time Indication content to set
isOptional
public boolean isOptional(int component)
- Deprecated.
- Given a component number it returns true if the component is optional,
regardless of the field being mandatory in a particular message.
Being the field's value conformed by a composition of one or several
internal component values, the field may be present in a message with
a proper value but with some of its internal components not set.
- Specified by:
isOptional
in class Field
- Parameters:
component
- component number, first component of a field is referenced as 1
- Returns:
- true if the component is optional for this field, false otherwise
isGeneric
public boolean isGeneric()
- Deprecated.
- Returns true if the field is a GENERIC FIELD as specified by the standard.
- Specified by:
isGeneric
in class Field
- Returns:
- true if the field is generic, false otherwise
componentsPattern
public java.lang.String componentsPattern()
- Deprecated.
- Specified by:
componentsPattern
in interface PatternContainer
parserPattern
public java.lang.String parserPattern()
- Deprecated.
- Specified by:
parserPattern
in interface PatternContainer