com.poscoict.glueframework.message
Interface GlueMessage

All Superinterfaces:
Map<String,Object>
All Known Implementing Classes:
GlueMESMessageImpl

public interface GlueMessage
extends Map<String,Object>

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


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 Object get(String attributeName)
          returns the value for the attributeName
 Map<String,Object> getAttributes()
          Returns all the attributes
 String getTC()
          Message(TC:Àü¹®)À» °¡Á®¿Â´Ù
 String getTCID()
          get Transaction Code ID
 void setObject(String attributeName, Object value)
          Æ¯Á¤ attributeName¿¡ ´ëÇÑ °ªÀ» set ÇØÁØ´Ù.
 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 interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

get

Object get(String attributeName)
returns the value for the attributeName

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

setObject

void setObject(String attributeName,
               Object value)
ƯÁ¤ attributeName¿¡ ´ëÇÑ °ªÀ» set ÇØÁØ´Ù.

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

setStringToNumber

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

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

setStringToDate

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

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

getTCID

String getTCID()
get Transaction Code ID

Returns:
Transaction CodeÀÇ ID

setTCID

void setTCID(String tcId)
set Transaction Code ID

Parameters:
tcId - Transaction CodeÀÇ ID

getTC

String getTC()
Message(TC:Àü¹®)À» °¡Á®¿Â´Ù

Returns:
String Object

setTC

void setTC(String tc)
Message(TC:Àü¹®)À» ÀúÀåÇÑ´Ù

Parameters:
tc -

getAttributes

Map<String,Object> getAttributes()
Returns all the attributes

Returns:
¸ðµç attribute¿¡ ´ëÇÑ °ª(Map Type)


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