|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.prowidesoftware.swift.model.field.Field
com.prowidesoftware.swift.model.field.Field61
public class Field61
Field 61
validation pattern: CUSTOM
parser pattern: CUSTOM
components pattern: EFSSNSSSS
Calendar
Calendar
String
String
Number
String
String
String
String
Field Summary | |
---|---|
static java.lang.String |
COMPONENTS_PATTERN
|
static java.lang.String |
NAME
|
static java.lang.String |
PARSER_PATTERN
|
Fields inherited from class com.prowidesoftware.swift.model.field.Field |
---|
components |
Constructor Summary | |
---|---|
Field61()
Default constructor |
|
Field61(java.lang.String value)
Creates the field parsing the parameter value into fields' components |
Method Summary | |
---|---|
java.lang.String |
componentsPattern()
|
java.lang.String |
getAmount()
Get the Amount (component5). |
java.lang.Number |
getAmountAsNumber()
Get the Amount (component5) as Number |
java.lang.String |
getComponent1()
Get the component1 |
java.util.Calendar |
getComponent1AsCalendar()
Get the component1 as Calendar |
java.lang.String |
getComponent2()
Get the component2 |
java.util.Calendar |
getComponent2AsCalendar()
Get the component2 as Calendar |
java.lang.String |
getComponent3()
Get the component3 |
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.Number |
getComponent5AsNumber()
Get the component5 as Number |
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 |
getDCMark()
Get the D/C Mark (component3). |
java.lang.String |
getEntryDate()
Get the Entry Date (component2). |
java.util.Calendar |
getEntryDateAsCalendar()
Get the Entry Date (component2) as Calendar |
java.lang.String |
getFundsCode()
Get the Funds Code (component4). |
java.lang.String |
getReferenceForTheAccountOwner()
Get the Reference For The Account Owner (component7). |
java.lang.String |
getReferenceOfTheAccountServicingInstitution()
Get the Reference Of The Account Servicing Institution (component8). |
java.lang.String |
getSupplementaryDetails()
Get the Supplementary Details (component9). |
java.lang.String |
getTransactionType()
Get the Transaction Type (component6). |
java.lang.String |
getValue()
Serializes the fields' components into the single string value (SWIFT format) |
java.lang.String |
getValueDate()
Get the Value Date (component1). |
java.util.Calendar |
getValueDateAsCalendar()
Get the Value Date (component1) as Calendar |
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. |
protected void |
parseCustom(java.lang.String value)
Custom parser for Field61. Uses semantic information to split components 3 and 4 (assuming component 3 can only be D, C, RD, RC). |
java.lang.String |
parserPattern()
|
void |
setAmount(java.lang.Number component5)
Set the Amount (component5) as Number |
void |
setAmount(java.lang.String component5)
Set the Amount (component5). |
void |
setComponent1(java.util.Calendar component1)
Set the component1. |
void |
setComponent1(java.lang.String component1)
Set the component1. |
void |
setComponent2(java.util.Calendar component2)
Set the component2. |
void |
setComponent2(java.lang.String component2)
Set the component2. |
void |
setComponent3(java.lang.String component3)
Set the component3. |
void |
setComponent4(java.lang.String component4)
Set the component4. |
void |
setComponent5(java.lang.Number component5)
Set the component5. |
void |
setComponent5(java.lang.String component5)
Set the component5. |
void |
setComponent6(java.lang.String component6)
Set the component6. |
void |
setComponent7(java.lang.String component7)
Set the component7. |
void |
setComponent8(java.lang.String component8)
Set the component8. |
void |
setComponent9(java.lang.String component9)
Set the component9. |
void |
setDCMark(java.lang.String component3)
Set the D/C Mark (component3). |
void |
setEntryDate(java.util.Calendar component2)
Set the Entry Date (component2) as Calendar |
void |
setEntryDate(java.lang.String component2)
Set the Entry Date (component2). |
void |
setFundsCode(java.lang.String component4)
Set the Funds Code (component4). |
void |
setReferenceForTheAccountOwner(java.lang.String component7)
Set the Reference For The Account Owner (component7). |
void |
setReferenceOfTheAccountServicingInstitution(java.lang.String component8)
Set the Reference Of The Account Servicing Institution (component8). |
void |
setSupplementaryDetails(java.lang.String component9)
Set the Supplementary Details (component9). |
void |
setTransactionType(java.lang.String component6)
Set the Transaction Type (component6). |
void |
setValueDate(java.util.Calendar component1)
Set the Value Date (component1) as Calendar |
void |
setValueDate(java.lang.String component1)
Set the Value Date (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 |
Field Detail |
---|
public static final java.lang.String NAME
public static final java.lang.String PARSER_PATTERN
public static final java.lang.String COMPONENTS_PATTERN
Constructor Detail |
---|
public Field61()
public Field61(java.lang.String value)
value
- Method Detail |
---|
public java.lang.String getValue()
getValue
in class Field
public java.lang.String getComponent1()
public java.util.Calendar getComponent1AsCalendar()
null
if cannot be convertedpublic java.lang.String getValueDate()
public java.util.Calendar getValueDateAsCalendar()
null
if cannot be convertedpublic void setComponent1(java.lang.String component1)
component1
- the component1 to setpublic void setComponent1(java.util.Calendar component1)
component1
- the Calendar with the component1 content to setpublic void setValueDate(java.lang.String component1)
component1
- the Value Date to setpublic void setValueDate(java.util.Calendar component1)
component1
- Calendar with the Value Date content to setpublic java.lang.String getComponent2()
public java.util.Calendar getComponent2AsCalendar()
null
if cannot be convertedpublic java.lang.String getEntryDate()
public java.util.Calendar getEntryDateAsCalendar()
null
if cannot be convertedpublic void setComponent2(java.lang.String component2)
component2
- the component2 to setpublic void setComponent2(java.util.Calendar component2)
component2
- the Calendar with the component2 content to setpublic void setEntryDate(java.lang.String component2)
component2
- the Entry Date to setpublic void setEntryDate(java.util.Calendar component2)
component2
- Calendar with the Entry Date content to setpublic java.lang.String getComponent3()
@Deprecated public java.lang.String getComponent3AsString()
public java.lang.String getDCMark()
public void setComponent3(java.lang.String component3)
component3
- the component3 to setpublic void setDCMark(java.lang.String component3)
component3
- the D/C Mark to setpublic java.lang.String getComponent4()
@Deprecated public java.lang.String getComponent4AsString()
public java.lang.String getFundsCode()
public void setComponent4(java.lang.String component4)
component4
- the component4 to setpublic void setFundsCode(java.lang.String component4)
component4
- the Funds Code to setpublic java.lang.String getComponent5()
public java.lang.Number getComponent5AsNumber()
null
if cannot be convertedpublic java.lang.String getAmount()
public java.lang.Number getAmountAsNumber()
null
if cannot be convertedpublic void setComponent5(java.lang.String component5)
component5
- the component5 to setpublic void setComponent5(java.lang.Number component5)
component5
- the Number with the component5 content to setpublic void setAmount(java.lang.String component5)
component5
- the Amount to setpublic void setAmount(java.lang.Number component5)
component5
- Number with the Amount content to setpublic java.lang.String getComponent6()
@Deprecated public java.lang.String getComponent6AsString()
public java.lang.String getTransactionType()
public void setComponent6(java.lang.String component6)
component6
- the component6 to setpublic void setTransactionType(java.lang.String component6)
component6
- the Transaction Type to setpublic java.lang.String getComponent7()
@Deprecated public java.lang.String getComponent7AsString()
public java.lang.String getReferenceForTheAccountOwner()
public void setComponent7(java.lang.String component7)
component7
- the component7 to setpublic void setReferenceForTheAccountOwner(java.lang.String component7)
component7
- the Reference For The Account Owner to setpublic java.lang.String getComponent8()
@Deprecated public java.lang.String getComponent8AsString()
public java.lang.String getReferenceOfTheAccountServicingInstitution()
public void setComponent8(java.lang.String component8)
component8
- the component8 to setpublic void setReferenceOfTheAccountServicingInstitution(java.lang.String component8)
component8
- the Reference Of The Account Servicing Institution to setpublic java.lang.String getComponent9()
@Deprecated public java.lang.String getComponent9AsString()
public java.lang.String getSupplementaryDetails()
public void setComponent9(java.lang.String component9)
component9
- the component9 to setpublic void setSupplementaryDetails(java.lang.String component9)
component9
- the Supplementary Details to setpublic boolean isOptional(int component)
isOptional
in class Field
component
- component number, first component of a field is referenced as 1
public boolean isGeneric()
isGeneric
in class Field
public java.lang.String componentsPattern()
componentsPattern
in interface PatternContainer
public java.lang.String parserPattern()
parserPattern
in interface PatternContainer
protected void parseCustom(java.lang.String value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |