public class Field72 extends Field implements java.io.Serializable
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
String
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COMPONENTS_PATTERN |
static java.lang.String |
F_72
same as NAME, intended to be clear when using static imports
|
static java.lang.String |
NAME
Constant with the field name 72
|
static java.lang.String |
PARSER_PATTERN |
components
Constructor and Description |
---|
Field72()
Default constructor
|
Field72(java.lang.String value)
Creates the field parsing the parameter value into fields' components
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
componentsPattern() |
static Tag |
emptyTag()
Create a Tag with this field name and an empty string as value
Shorthand for
new Tag(NAME, "") |
static Field72 |
get(SwiftMessage msg)
Get the first instance of Field72 in the given message.
|
static Field72 |
get(SwiftTagListBlock block)
Get the first occurrence form the tag list or null if not found.
|
static java.util.List<Field72> |
getAll(SwiftMessage msg)
Get a list of all occurrences of the field Field72 in the given message
an empty list is returned if none found.
|
static java.util.List<Field72> |
getAll(SwiftTagListBlock block)
Get a list of all occurrences of the field Field72 from the given block
an empty list is returned if none found.
|
java.lang.String |
getCode()
Get the Code (component1).
|
java.lang.String |
getComponent1()
Get the component1
|
java.lang.String |
getComponent10()
Get the component10
|
java.lang.String |
getComponent10AsString()
Deprecated.
|
java.lang.String |
getComponent11()
Get the component11
|
java.lang.String |
getComponent11AsString()
Deprecated.
|
java.lang.String |
getComponent12()
Get the component12
|
java.lang.String |
getComponent12AsString()
Deprecated.
|
java.lang.String |
getComponent13()
Get the component13
|
java.lang.String |
getComponent13AsString()
Deprecated.
|
java.lang.String |
getComponent14()
Get the component14
|
java.lang.String |
getComponent14AsString()
Deprecated.
|
java.lang.String |
getComponent15()
Get the component15
|
java.lang.String |
getComponent15AsString()
Deprecated.
|
java.lang.String |
getComponent16()
Get the component16
|
java.lang.String |
getComponent16AsString()
Deprecated.
|
java.lang.String |
getComponent17()
Get the component17
|
java.lang.String |
getComponent17AsString()
Deprecated.
|
java.lang.String |
getComponent18()
Get the component18
|
java.lang.String |
getComponent18AsString()
Deprecated.
|
java.lang.String |
getComponent19()
Get the component19
|
java.lang.String |
getComponent19AsString()
Deprecated.
|
java.lang.String |
getComponent1AsString()
Deprecated.
|
java.lang.String |
getComponent2()
Get the component2
|
java.lang.String |
getComponent20()
Get the component20
|
java.lang.String |
getComponent20AsString()
Deprecated.
|
java.lang.String |
getComponent21()
Get the component21
|
java.lang.String |
getComponent21AsString()
Deprecated.
|
java.lang.String |
getComponent22()
Get the component22
|
java.lang.String |
getComponent22AsString()
Deprecated.
|
java.lang.String |
getComponent23()
Get the component23
|
java.lang.String |
getComponent23AsString()
Deprecated.
|
java.lang.String |
getComponent24()
Get the component24
|
java.lang.String |
getComponent24AsString()
Deprecated.
|
java.lang.String |
getComponent25()
Get the component25
|
java.lang.String |
getComponent25AsString()
Deprecated.
|
java.lang.String |
getComponent26()
Get the component26
|
java.lang.String |
getComponent26AsString()
Deprecated.
|
java.lang.String |
getComponent27()
Get the component27
|
java.lang.String |
getComponent27AsString()
Deprecated.
|
java.lang.String |
getComponent28()
Get the component28
|
java.lang.String |
getComponent28AsString()
Deprecated.
|
java.lang.String |
getComponent29()
Get the component29
|
java.lang.String |
getComponent29AsString()
Deprecated.
|
java.lang.String |
getComponent2AsString()
Deprecated.
|
java.lang.String |
getComponent3()
Get the component3
|
java.lang.String |
getComponent30()
Get the component30
|
java.lang.String |
getComponent30AsString()
Deprecated.
|
java.lang.String |
getComponent31()
Get the component31
|
java.lang.String |
getComponent31AsString()
Deprecated.
|
java.lang.String |
getComponent32()
Get the component32
|
java.lang.String |
getComponent32AsString()
Deprecated.
|
java.lang.String |
getComponent33()
Get the component33
|
java.lang.String |
getComponent33AsString()
Deprecated.
|
java.lang.String |
getComponent34()
Get the component34
|
java.lang.String |
getComponent34AsString()
Deprecated.
|
java.lang.String |
getComponent35()
Get the component35
|
java.lang.String |
getComponent35AsString()
Deprecated.
|
java.lang.String |
getComponent3AsString()
Deprecated.
|
java.lang.String |
getComponent4()
Get the component4
|
java.lang.String |
getComponent4AsString()
Deprecated.
|
java.lang.String |
getComponent5()
Get the component5
|
java.lang.String |
getComponent5AsString()
Deprecated.
|
java.lang.String |
getComponent6()
Get the component6
|
java.lang.String |
getComponent6AsString()
Deprecated.
|
java.lang.String |
getComponent7()
Get the component7
|
java.lang.String |
getComponent7AsString()
Deprecated.
|
java.lang.String |
getComponent8()
Get the component8
|
java.lang.String |
getComponent8AsString()
Deprecated.
|
java.lang.String |
getComponent9()
Get the component9
|
java.lang.String |
getComponent9AsString()
Deprecated.
|
java.lang.String |
getNarrative()
Get the Narrative (component2).
|
java.lang.String |
getValue()
Serializes the fields' components into the single string value (SWIFT format)
|
boolean |
isGeneric()
Returns true if the field is a GENERIC FIELD as specified by the standard.
|
boolean |
isOptional(int component)
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() |
Field72 |
setCode(java.lang.String component1)
Set the Code (component1).
|
Field72 |
setComponent1(java.lang.String component1)
Set the component1.
|
Field72 |
setComponent10(java.lang.String component10)
Set the component10.
|
Field72 |
setComponent11(java.lang.String component11)
Set the component11.
|
Field72 |
setComponent12(java.lang.String component12)
Set the component12.
|
Field72 |
setComponent13(java.lang.String component13)
Set the component13.
|
Field72 |
setComponent14(java.lang.String component14)
Set the component14.
|
Field72 |
setComponent15(java.lang.String component15)
Set the component15.
|
Field72 |
setComponent16(java.lang.String component16)
Set the component16.
|
Field72 |
setComponent17(java.lang.String component17)
Set the component17.
|
Field72 |
setComponent18(java.lang.String component18)
Set the component18.
|
Field72 |
setComponent19(java.lang.String component19)
Set the component19.
|
Field72 |
setComponent2(java.lang.String component2)
Set the component2.
|
Field72 |
setComponent20(java.lang.String component20)
Set the component20.
|
Field72 |
setComponent21(java.lang.String component21)
Set the component21.
|
Field72 |
setComponent22(java.lang.String component22)
Set the component22.
|
Field72 |
setComponent23(java.lang.String component23)
Set the component23.
|
Field72 |
setComponent24(java.lang.String component24)
Set the component24.
|
Field72 |
setComponent25(java.lang.String component25)
Set the component25.
|
Field72 |
setComponent26(java.lang.String component26)
Set the component26.
|
Field72 |
setComponent27(java.lang.String component27)
Set the component27.
|
Field72 |
setComponent28(java.lang.String component28)
Set the component28.
|
Field72 |
setComponent29(java.lang.String component29)
Set the component29.
|
Field72 |
setComponent3(java.lang.String component3)
Set the component3.
|
Field72 |
setComponent30(java.lang.String component30)
Set the component30.
|
Field72 |
setComponent31(java.lang.String component31)
Set the component31.
|
Field72 |
setComponent32(java.lang.String component32)
Set the component32.
|
Field72 |
setComponent33(java.lang.String component33)
Set the component33.
|
Field72 |
setComponent34(java.lang.String component34)
Set the component34.
|
Field72 |
setComponent35(java.lang.String component35)
Set the component35.
|
Field72 |
setComponent4(java.lang.String component4)
Set the component4.
|
Field72 |
setComponent5(java.lang.String component5)
Set the component5.
|
Field72 |
setComponent6(java.lang.String component6)
Set the component6.
|
Field72 |
setComponent7(java.lang.String component7)
Set the component7.
|
Field72 |
setComponent8(java.lang.String component8)
Set the component8.
|
Field72 |
setComponent9(java.lang.String component9)
Set the component9.
|
Field72 |
setNarrative(java.lang.String component2)
Set the Narrative (component2).
|
static Tag |
tag(java.lang.String value)
Create a Tag with this field name and the given value.
|
appendInLines, appendInLines, asTag, equals, findComponentStartingWith, format, formatAccount, formatNumber, getAsBigDecimal, getComponent, getComponentAs, getComponents, getConditionalQualifier, getDSS, getField, getLabel, getLabel, getLabel, getLabel, getName, getValueByCodeword, getValueDisplay, hashCode, is, is, isDSSPresent, isEmpty, isLetterOption, isNameAnyOf, joinComponents, joinComponents, joinComponents, joinComponents, letterOption, setComponent, setComponents, toString
public static final java.lang.String COMPONENTS_PATTERN
public static final java.lang.String F_72
public static final java.lang.String NAME
public static final java.lang.String PARSER_PATTERN
public Field72()
public Field72(java.lang.String value)
value
- public java.lang.String componentsPattern()
componentsPattern
in interface PatternContainer
public static Tag emptyTag()
new Tag(NAME, "")
NAME
public static Field72 get(SwiftMessage msg)
msg
- may be empty or null
public static Field72 get(SwiftTagListBlock block)
block
- may be null or emptypublic static java.util.List<Field72> getAll(SwiftMessage msg)
msg
- may be empty or null in which case an empty list is returned
public static java.util.List<Field72> getAll(SwiftTagListBlock block)
block
- may be empty or null in which case an empty list is returnedpublic java.lang.String getCode()
public java.lang.String getComponent1()
public java.lang.String getComponent10()
@Deprecated public java.lang.String getComponent10AsString()
public java.lang.String getComponent11()
@Deprecated public java.lang.String getComponent11AsString()
public java.lang.String getComponent12()
@Deprecated public java.lang.String getComponent12AsString()
public java.lang.String getComponent13()
@Deprecated public java.lang.String getComponent13AsString()
public java.lang.String getComponent14()
@Deprecated public java.lang.String getComponent14AsString()
public java.lang.String getComponent15()
@Deprecated public java.lang.String getComponent15AsString()
public java.lang.String getComponent16()
@Deprecated public java.lang.String getComponent16AsString()
public java.lang.String getComponent17()
@Deprecated public java.lang.String getComponent17AsString()
public java.lang.String getComponent18()
@Deprecated public java.lang.String getComponent18AsString()
public java.lang.String getComponent19()
@Deprecated public java.lang.String getComponent19AsString()
@Deprecated public java.lang.String getComponent1AsString()
public java.lang.String getComponent2()
public java.lang.String getComponent20()
@Deprecated public java.lang.String getComponent20AsString()
public java.lang.String getComponent21()
@Deprecated public java.lang.String getComponent21AsString()
public java.lang.String getComponent22()
@Deprecated public java.lang.String getComponent22AsString()
public java.lang.String getComponent23()
@Deprecated public java.lang.String getComponent23AsString()
public java.lang.String getComponent24()
@Deprecated public java.lang.String getComponent24AsString()
public java.lang.String getComponent25()
@Deprecated public java.lang.String getComponent25AsString()
public java.lang.String getComponent26()
@Deprecated public java.lang.String getComponent26AsString()
public java.lang.String getComponent27()
@Deprecated public java.lang.String getComponent27AsString()
public java.lang.String getComponent28()
@Deprecated public java.lang.String getComponent28AsString()
public java.lang.String getComponent29()
@Deprecated public java.lang.String getComponent29AsString()
@Deprecated public java.lang.String getComponent2AsString()
public java.lang.String getComponent3()
public java.lang.String getComponent30()
@Deprecated public java.lang.String getComponent30AsString()
public java.lang.String getComponent31()
@Deprecated public java.lang.String getComponent31AsString()
public java.lang.String getComponent32()
@Deprecated public java.lang.String getComponent32AsString()
public java.lang.String getComponent33()
@Deprecated public java.lang.String getComponent33AsString()
public java.lang.String getComponent34()
@Deprecated public java.lang.String getComponent34AsString()
public java.lang.String getComponent35()
@Deprecated public java.lang.String getComponent35AsString()
@Deprecated public java.lang.String getComponent3AsString()
public java.lang.String getComponent4()
@Deprecated public java.lang.String getComponent4AsString()
public java.lang.String getComponent5()
@Deprecated public java.lang.String getComponent5AsString()
public java.lang.String getComponent6()
@Deprecated public java.lang.String getComponent6AsString()
public java.lang.String getComponent7()
@Deprecated public java.lang.String getComponent7AsString()
public java.lang.String getComponent8()
@Deprecated public java.lang.String getComponent8AsString()
public java.lang.String getComponent9()
@Deprecated public java.lang.String getComponent9AsString()
public java.lang.String getNarrative()
public java.lang.String getValue()
public boolean isGeneric()
public boolean isOptional(int component)
isOptional
in class Field
component
- component number, first component of a field is referenced as 1public java.lang.String parserPattern()
parserPattern
in interface PatternContainer
public Field72 setCode(java.lang.String component1)
component1
- the Code to setpublic Field72 setComponent1(java.lang.String component1)
component1
- the component1 to setpublic Field72 setComponent10(java.lang.String component10)
component10
- the component10 to setpublic Field72 setComponent11(java.lang.String component11)
component11
- the component11 to setpublic Field72 setComponent12(java.lang.String component12)
component12
- the component12 to setpublic Field72 setComponent13(java.lang.String component13)
component13
- the component13 to setpublic Field72 setComponent14(java.lang.String component14)
component14
- the component14 to setpublic Field72 setComponent15(java.lang.String component15)
component15
- the component15 to setpublic Field72 setComponent16(java.lang.String component16)
component16
- the component16 to setpublic Field72 setComponent17(java.lang.String component17)
component17
- the component17 to setpublic Field72 setComponent18(java.lang.String component18)
component18
- the component18 to setpublic Field72 setComponent19(java.lang.String component19)
component19
- the component19 to setpublic Field72 setComponent2(java.lang.String component2)
component2
- the component2 to setpublic Field72 setComponent20(java.lang.String component20)
component20
- the component20 to setpublic Field72 setComponent21(java.lang.String component21)
component21
- the component21 to setpublic Field72 setComponent22(java.lang.String component22)
component22
- the component22 to setpublic Field72 setComponent23(java.lang.String component23)
component23
- the component23 to setpublic Field72 setComponent24(java.lang.String component24)
component24
- the component24 to setpublic Field72 setComponent25(java.lang.String component25)
component25
- the component25 to setpublic Field72 setComponent26(java.lang.String component26)
component26
- the component26 to setpublic Field72 setComponent27(java.lang.String component27)
component27
- the component27 to setpublic Field72 setComponent28(java.lang.String component28)
component28
- the component28 to setpublic Field72 setComponent29(java.lang.String component29)
component29
- the component29 to setpublic Field72 setComponent3(java.lang.String component3)
component3
- the component3 to setpublic Field72 setComponent30(java.lang.String component30)
component30
- the component30 to setpublic Field72 setComponent31(java.lang.String component31)
component31
- the component31 to setpublic Field72 setComponent32(java.lang.String component32)
component32
- the component32 to setpublic Field72 setComponent33(java.lang.String component33)
component33
- the component33 to setpublic Field72 setComponent34(java.lang.String component34)
component34
- the component34 to setpublic Field72 setComponent35(java.lang.String component35)
component35
- the component35 to setpublic Field72 setComponent4(java.lang.String component4)
component4
- the component4 to setpublic Field72 setComponent5(java.lang.String component5)
component5
- the component5 to setpublic Field72 setComponent6(java.lang.String component6)
component6
- the component6 to setpublic Field72 setComponent7(java.lang.String component7)
component7
- the component7 to setpublic Field72 setComponent8(java.lang.String component8)
component8
- the component8 to setpublic Field72 setComponent9(java.lang.String component9)
component9
- the component9 to setpublic Field72 setNarrative(java.lang.String component2)
component2
- the Narrative to set