package org.seasar.doma.internal.jdbc.scalar;

import org.seasar.doma.jdbc.JdbcMappable;

public interface Scalar<BASIC, CONTAINER> extends JdbcMappable<BASIC> {

  CONTAINER cast(Object value);

  CONTAINER get();

  Object getAsNonOptional();

  CONTAINER getDefault();

  void set(CONTAINER container);
}
