com.poscoict.glueframework.message
Class GlueMESMessageImpl

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by com.poscoict.glueframework.message.GlueMESMessageImpl
All Implemented Interfaces:
GlueMessage, Serializable, Cloneable, Map<String,Object>

public class GlueMESMessageImpl
extends HashMap<String,Object>
implements GlueMessage

Message Layout¿¡ µû¶ó »ý¼ºµÈ Message ¹× °¢ Message Attributeº° Á¤º¸¸¦ HandlingÇÏ´Â Implement Class

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
protected  String ifd
          Message ¼Û¼ö½ÅÀ» À§ÇÑ Interface ID
protected  String tc
          ¼Û¼ö½ÅµÇ´Â Message(TC:Àü¹®) Data
protected  String tcId
          TC(Àü¹®) ID
 
Constructor Summary
GlueMESMessageImpl()
           
 
Method Summary
 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
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Field Detail

tcId

protected String tcId
TC(Àü¹®) ID


tc

protected String tc
¼Û¼ö½ÅµÇ´Â Message(TC:Àü¹®) Data


ifd

protected String ifd
Message ¼Û¼ö½ÅÀ» À§ÇÑ Interface ID

Constructor Detail

GlueMESMessageImpl

public GlueMESMessageImpl()
Method Detail

get

public Object get(String attributeName)
Description copied from interface: GlueMessage
returns the value for the attributeName

Specified by:
get in interface GlueMessage
Parameters:
attributeName - attribute name
Returns:
ÇØ´ç attributeÀÇ °ª(Object Type)

setObject

public void setObject(String attributeName,
                      Object value)
Description copied from interface: GlueMessage
ƯÁ¤ attributeName¿¡ ´ëÇÑ °ªÀ» set ÇØÁØ´Ù.

Specified by:
setObject in interface GlueMessage
Parameters:
attributeName - attribute name
value - set ÇÒ °ª (Object Type)

setStringToNumber

public void setStringToNumber(String attributeName,
                              String value)
Description copied from interface: GlueMessage
ƯÁ¤ attributeName¿¡ ´ëÇÑ Strring°ªÀ» Number(BigDecimal)·Î set ÇØÁØ´Ù.

Specified by:
setStringToNumber in interface GlueMessage
Parameters:
attributeName - attribute name
value - set ÇÒ °ª (String Type)

setStringToDate

public void setStringToDate(String attributeName,
                            String value)
Description copied from interface: GlueMessage
ƯÁ¤ attributeName¿¡ ´ëÇÑ Strring°ªÀ» Date·Î set ÇØÁØ´Ù.

Specified by:
setStringToDate in interface GlueMessage
Parameters:
attributeName - attribute name
value - set ÇÒ °ª (String Type)

getTCID

public String getTCID()
Description copied from interface: GlueMessage
get Transaction Code ID

Specified by:
getTCID in interface GlueMessage
Returns:
Transaction CodeÀÇ ID

setTCID

public void setTCID(String tcId)
Description copied from interface: GlueMessage
set Transaction Code ID

Specified by:
setTCID in interface GlueMessage
Parameters:
tcId - Transaction CodeÀÇ ID

getTC

public String getTC()
Description copied from interface: GlueMessage
Message(TC:Àü¹®)À» °¡Á®¿Â´Ù

Specified by:
getTC in interface GlueMessage
Returns:
String Object

setTC

public void setTC(String tc)
Description copied from interface: GlueMessage
Message(TC:Àü¹®)À» ÀúÀåÇÑ´Ù

Specified by:
setTC in interface GlueMessage

getAttributes

public Map<String,Object> getAttributes()
Description copied from interface: GlueMessage
Returns all the attributes

Specified by:
getAttributes in interface GlueMessage
Returns:
¸ðµç attribute¿¡ ´ëÇÑ °ª(Map Type)

getString

public String getString(String attributeName)
attributeName¿¡ ´ëÇÑ °ªÀ» StringÀ¸·Î ¹ÝȯÇÑ´Ù.

Parameters:
attributeName - attribute name
Returns:
ÇØ´ç attributeÀÇ °ª(String Type)

setString

public void setString(String attributeName,
                      String value)
ƯÁ¤ attributeName¿¡ ´ëÇÑ String°ªÀ» ÀúÀåÇØÁØ´Ù.

Parameters:
attributeName - attribute name
value - set ÇÒ °ª (String Type)

getNumber

public Number getNumber(String attributeName)
attributeName¿¡ ´ëÇÑ °ªÀ» NumberÀ¸·Î ¹ÝȯÇÑ´Ù.

Parameters:
attributeName - attribute name
Returns:
ÇØ´ç attributeÀÇ °ª(Number Type)

getDate

public Date getDate(String attributeName)
attributeName¿¡ ´ëÇÑ °ªÀ» DateÀ¸·Î ¹ÝȯÇÑ´Ù.

Parameters:
attributeName - attribute name
Returns:
ÇØ´ç attributeÀÇ °ª(Date Type)

logDebug

public void logDebug(Object key,
                     Object value)


Copyright © 2013–2015 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.