
public class GlueMESMessageImpl extends HashMap<String,Object> implements GlueMessage
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
protected String |
ifd
Message 송수신을 위한 Interface ID
|
protected String |
tc
송수신되는 Message(TC:전문) Data
|
protected String |
tcId
TC(전문) ID
|
| Constructor and Description |
|---|
GlueMESMessageImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String attributeName)
returns the value for the attributeName
|
Map<String,Object> |
getAttributes()
Returns all the attributes
|
Date |
getDate(String attributeName)
attributeName에 대한 값을 Date으로 반환한다.
|
Number |
getNumber(String attributeName)
attributeName에 대한 값을 Number으로 반환한다.
|
String |
getString(String attributeName)
attributeName에 대한 값을 String으로 반환한다.
|
String |
getTC()
Message(TC:전문)을 가져온다
|
String |
getTCID()
get Transaction Code ID
|
void |
logDebug(Object key,
Object value) |
void |
setObject(String attributeName,
Object value)
특정 attributeName에 대한 값을 set 해준다.
|
void |
setString(String attributeName,
String value)
특정 attributeName에 대한 String값을 저장해준다.
|
void |
setStringToDate(String attributeName,
String value)
특정 attributeName에 대한 Strring값을 Date로 set 해준다.
|
void |
setStringToNumber(String attributeName,
String value)
특정 attributeName에 대한 Strring값을 Number(BigDecimal)로 set 해준다.
|
void |
setTC(String tc)
Message(TC:전문)을 저장한다
|
void |
setTCID(String tcId)
set Transaction Code ID
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesprotected String tcId
protected String tc
protected String ifd
public Object get(String attributeName)
GlueMessageget in interface GlueMessageattributeName - attribute namepublic void setObject(String attributeName, Object value)
GlueMessagesetObject in interface GlueMessageattributeName - attribute namevalue - set 할 값 (Object Type)public void setStringToNumber(String attributeName, String value)
GlueMessagesetStringToNumber in interface GlueMessageattributeName - attribute namevalue - set 할 값 (String Type)public void setStringToDate(String attributeName, String value)
GlueMessagesetStringToDate in interface GlueMessageattributeName - attribute namevalue - set 할 값 (String Type)public String getTCID()
GlueMessagegetTCID in interface GlueMessagepublic void setTCID(String tcId)
GlueMessagesetTCID in interface GlueMessagetcId - Transaction Code의 IDpublic String getTC()
GlueMessagegetTC in interface GlueMessagepublic void setTC(String tc)
GlueMessagesetTC in interface GlueMessagepublic Map<String,Object> getAttributes()
GlueMessagegetAttributes in interface GlueMessagepublic String getString(String attributeName)
attributeName - attribute namepublic void setString(String attributeName, String value)
attributeName - attribute namevalue - set 할 값 (String Type)public Number getNumber(String attributeName)
attributeName - attribute namepublic Date getDate(String attributeName)
attributeName - attribute nameCopyright © 2013–2021 POSCO ICT. All rights reserved.