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–2020 POSCO ICT. All rights reserved.