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 오브젝트로 표현된다.
  • Method Details

    • getAttribute

      Object getAttribute(K key)
      컬럼명에 해당하는 값을 얻는다.
      Parameters:
      key - 컴럼 명
      Returns:
      컬럼 값
    • setAttribute

      void setAttribute(K key, V value)
      해당 컬럼에 값을 설정한다.
      Parameters:
      key - 컬럼 명
      value - 컬럼 값
    • getAttributes

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

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