com.poscoict.glueframework.dao.vo
Class GlueRowImpl

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<String,V>
              extended by org.springframework.util.LinkedCaseInsensitiveMap<Object>
                  extended by com.poscoict.glueframework.dao.vo.GlueRowImpl
All Implemented Interfaces:
GlueRow<String,Object>, Serializable, Cloneable, Map<String,Object>

public class GlueRowImpl
extends org.springframework.util.LinkedCaseInsensitiveMap<Object>
implements GlueRow<String,Object>, Serializable, Cloneable

Database 레코드를 표현하는 Value Object. 하나의 레코드는 하나의 GlueRowImpl 오브젝트로 표현된다. 하나의 레코드를 (컬럼명, 컬럼값) 형태로 표현한다.

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>
 
Constructor Summary
GlueRowImpl()
          생성자(constructor).
GlueRowImpl(int initialCapacity)
          생성자(constructor).
GlueRowImpl(Map<String,Object> result)
          생성자(constructor).
 
Method Summary
 Object getAttribute(String key)
          컬럼명에 해당하는 값을 얻는다.
 Map<String,Object> getAttributes()
          하나의 레코드를 표현하는 Map을 리턴한다.
 void setAttribute(String key, Object value)
          해당 컬럼에 값을 설정한다.
 void setAttributes(Map<String,Object> attributes)
          하나의 레코드를 표현하는 Map을 설정한다.
 
Methods inherited from class org.springframework.util.LinkedCaseInsensitiveMap
clear, containsKey, convertKey, get, put, putAll, remove
 
Methods inherited from class java.util.LinkedHashMap
containsValue, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, entrySet, isEmpty, keySet, 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
 

Constructor Detail

GlueRowImpl

public GlueRowImpl()
생성자(constructor).


GlueRowImpl

public GlueRowImpl(int initialCapacity)
생성자(constructor).

Parameters:
initialCapacity -

GlueRowImpl

public GlueRowImpl(Map<String,Object> result)
생성자(constructor).

Parameters:
result -
Method Detail

getAttribute

public Object getAttribute(String key)
Description copied from interface: GlueRow
컬럼명에 해당하는 값을 얻는다.

Specified by:
getAttribute in interface GlueRow<String,Object>
Parameters:
key - 컴럼 명
Returns:
컬럼 값

setAttribute

public void setAttribute(String key,
                         Object value)
Description copied from interface: GlueRow
해당 컬럼에 값을 설정한다.

Specified by:
setAttribute in interface GlueRow<String,Object>
Parameters:
key - 컬럼 명
value - 컬럼 값

getAttributes

public Map<String,Object> getAttributes()
Description copied from interface: GlueRow
하나의 레코드를 표현하는 Map을 리턴한다. Map의 형태는 (컬럼명, 컬럼값)이다.

Specified by:
getAttributes in interface GlueRow<String,Object>
Returns:
(컬럼명, 컬럼값) 형태의 Map

setAttributes

public void setAttributes(Map<String,Object> attributes)
Description copied from interface: GlueRow
하나의 레코드를 표현하는 Map을 설정한다. Map의 형태는 (컬럼명, 컬럼값)이다.

Specified by:
setAttributes in interface GlueRow<String,Object>
Parameters:
attributes - (컬럼명, 컬럼값) 형태의 Map


Copyright © 2013–2014 POSCO ICT SW제품기술팀. All rights reserved.