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