Class GlueRowImpl
java.lang.Object
org.springframework.util.LinkedCaseInsensitiveMap<Object>
com.poscoict.glueframework.dao.vo.GlueRowImpl
public class GlueRowImpl
extends LinkedCaseInsensitiveMap<Object>
implements GlueRow<String,Object>, Serializable, Cloneable
Database 레코드를 표현하는 Value Object. 하나의 레코드는 하나의 GlueRowImpl 오브젝트로
표현된다. 하나의 레코드를 (컬럼명, 컬럼값) 형태로 표현한다.
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescription생성자(constructor).GlueRowImpl(int initialCapacity) 생성자(constructor).GlueRowImpl(Map<String, Object> result) 생성자(constructor). -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String key) 컬럼명에 해당하는 값을 얻는다.하나의 레코드를 표현하는 Map을 리턴한다.voidsetAttribute(String key, Object value) 해당 컬럼에 값을 설정한다.voidsetAttributes(Map<String, Object> attributes) 하나의 레코드를 표현하는 Map을 설정한다.Methods inherited from class org.springframework.util.LinkedCaseInsensitiveMap
clear, clone, computeIfAbsent, containsKey, containsValue, convertKey, entrySet, equals, forEach, get, getLocale, getOrDefault, hashCode, isEmpty, keySet, put, putAll, putIfAbsent, remove, removeEldestEntry, size, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
GlueRowImpl
public GlueRowImpl()생성자(constructor). -
GlueRowImpl
public GlueRowImpl(int initialCapacity) 생성자(constructor).- Parameters:
initialCapacity-
-
GlueRowImpl
생성자(constructor).- Parameters:
result-
-
-
Method Details
-
getAttribute
Description copied from interface:GlueRow컬럼명에 해당하는 값을 얻는다.- Specified by:
getAttributein interfaceGlueRow<String,Object> - Parameters:
key- 컴럼 명- Returns:
- 컬럼 값
-
setAttribute
Description copied from interface:GlueRow해당 컬럼에 값을 설정한다.- Specified by:
setAttributein interfaceGlueRow<String,Object> - Parameters:
key- 컬럼 명value- 컬럼 값
-
getAttributes
Description copied from interface:GlueRow하나의 레코드를 표현하는 Map을 리턴한다. Map의 형태는 (컬럼명, 컬럼값)이다.- Specified by:
getAttributesin interfaceGlueRow<String,Object> - Returns:
- (컬럼명, 컬럼값) 형태의 Map
-
setAttributes
Description copied from interface:GlueRow하나의 레코드를 표현하는 Map을 설정한다. Map의 형태는 (컬럼명, 컬럼값)이다.- Specified by:
setAttributesin interfaceGlueRow<String,Object> - Parameters:
attributes- (컬럼명, 컬럼값) 형태의 Map
-