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, values
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
protected String tcId
protected String tc
protected String ifd
public Object get(String attributeName)
GlueMessage
get
in interface GlueMessage
attributeName
- attribute namepublic void setObject(String attributeName, Object value)
GlueMessage
setObject
in interface GlueMessage
attributeName
- attribute namevalue
- set 할 값 (Object Type)public void setStringToNumber(String attributeName, String value)
GlueMessage
setStringToNumber
in interface GlueMessage
attributeName
- attribute namevalue
- set 할 값 (String Type)public void setStringToDate(String attributeName, String value)
GlueMessage
setStringToDate
in interface GlueMessage
attributeName
- attribute namevalue
- set 할 값 (String Type)public String getTCID()
GlueMessage
getTCID
in interface GlueMessage
public void setTCID(String tcId)
GlueMessage
setTCID
in interface GlueMessage
tcId
- Transaction Code의 IDpublic String getTC()
GlueMessage
getTC
in interface GlueMessage
public void setTC(String tc)
GlueMessage
setTC
in interface GlueMessage
public Map<String,Object> getAttributes()
GlueMessage
getAttributes
in interface GlueMessage
public 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.