com.poscoict.glueframework.dao.vo
Interface GlueRow<K,V>

Type Parameters:
K -
V -
All Superinterfaces:
Map<K,V>
All Known Implementing Classes:
GlueRowImpl

public interface GlueRow<K,V>
extends Map<K,V>

Database 레코드를 표현하는 Value Object 패턴의 인터페이스. 하나의 레코드는 하나의 GlueRow 오브젝트로 표현된다.


Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 Object getAttribute(K key)
          컬럼명에 해당하는 값을 얻는다.
 Map<K,V> getAttributes()
          하나의 레코드를 표현하는 Map을 리턴한다.
 void setAttribute(K key, V value)
          해당 컬럼에 값을 설정한다.
 void setAttributes(Map<K,V> attributes)
          하나의 레코드를 표현하는 Map을 설정한다.
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

getAttribute

Object getAttribute(K key)
컬럼명에 해당하는 값을 얻는다.

Parameters:
key - 컴럼 명
Returns:
컬럼 값

setAttribute

void setAttribute(K key,
                  V value)
해당 컬럼에 값을 설정한다.

Parameters:
value - 컬럼 값
key - 컬럼 명

getAttributes

Map<K,V> getAttributes()
하나의 레코드를 표현하는 Map을 리턴한다. Map의 형태는 (컬럼명, 컬럼값)이다.

Returns:
(컬럼명, 컬럼값) 형태의 Map

setAttributes

void setAttributes(Map<K,V> attributes)
하나의 레코드를 표현하는 Map을 설정한다. Map의 형태는 (컬럼명, 컬럼값)이다.

Parameters:
attributes - (컬럼명, 컬럼값) 형태의 Map


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