com.poscoict.glueframework.message
Class GlueMessageDefinition

java.lang.Object
  extended by com.poscoict.glueframework.message.GlueMessageDefinition
All Implemented Interfaces:
Serializable

public class GlueMessageDefinition
extends Object
implements Serializable

각 Message별 Message Layout정보를 Handling하는 Class Layout 정보를 생성하고, Caching하는데 사용됨

See Also:
Serialized Form

Field Summary
static String DATE_TYPE
          Message Layout의 datatype
static String ELEMENT
          Message Layout Type으로 일반 항목
static String GROUP
          Message Layout Type으로 Group 항목
static String GROUP_ELEMENT
          Message Layout Type으로 Group Element 항목
static String NUMBER_TYPE
          Message Layout의 datatype
static String STRING_TYPE
          Message Layout의 datatype
 
Constructor Summary
GlueMessageDefinition()
           
 
Method Summary
 GlueMessageAttributeDefinition getAttribute(int index)
          MessageDefinition에서 해당 Attribute를 가져온다.
 List<GlueMessageAttributeDefinition> getAttributes()
          getter method.
 List<GlueMessageAttributeDefinition> getGroupAttrs(int index)
          MessageDefinition에서 Group Attribute의 List를 가져온다.
 int getLength()
          getter method.
 String getMsgId()
          getter method. get Message ID
 void setAttributes(List<GlueMessageAttributeDefinition> attrDefList)
          setter method. set all the attributes
 void setMsgId(String msgId)
          setter method. set Message ID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUP

public static final String GROUP
Message Layout Type으로 Group 항목

See Also:
Constant Field Values

GROUP_ELEMENT

public static final String GROUP_ELEMENT
Message Layout Type으로 Group Element 항목

See Also:
Constant Field Values

ELEMENT

public static final String ELEMENT
Message Layout Type으로 일반 항목

See Also:
Constant Field Values

STRING_TYPE

public static final String STRING_TYPE
Message Layout의 datatype

See Also:
Constant Field Values

NUMBER_TYPE

public static final String NUMBER_TYPE
Message Layout의 datatype

See Also:
Constant Field Values

DATE_TYPE

public static final String DATE_TYPE
Message Layout의 datatype

See Also:
Constant Field Values
Constructor Detail

GlueMessageDefinition

public GlueMessageDefinition()
Method Detail

getMsgId

public String getMsgId()
getter method. get Message ID

Returns:
MessageID String

setMsgId

public void setMsgId(String msgId)
setter method. set Message ID

Parameters:
msgId - String

getAttributes

public List<GlueMessageAttributeDefinition> getAttributes()
getter method. Returns all the attributes

Returns:
모든 attribute에 대한 값(ArrayList Type)

setAttributes

public void setAttributes(List<GlueMessageAttributeDefinition> attrDefList)
setter method. set all the attributes

Parameters:
attrDefList - 모든 attribute에 대한 값(ArrayList Type)

getLength

public int getLength()
getter method. Message Layout의 전체 Attribute의 Length를 가져온다.

Returns:
int Attribute의 Length

getAttribute

public GlueMessageAttributeDefinition getAttribute(int index)
MessageDefinition에서 해당 Attribute를 가져온다.

Parameters:
index - Attribute를 가리키는 Sequence
Returns:
GlueMessageAttributeDefinition

getGroupAttrs

public List<GlueMessageAttributeDefinition> getGroupAttrs(int index)
MessageDefinition에서 Group Attribute의 List를 가져온다.

Parameters:
index - Group Attribute를 가리키는 Sequence
Returns:
ArrayList


Copyright © 2013–2016 POSCO ICT. All rights reserved.