com.github.drinkjava2.jsqlbox.sqlitem
Class EntityKeyItem

java.lang.Object
  extended by com.github.drinkjava2.jsqlbox.sqlitem.EntityKeyItem
All Implemented Interfaces:
CustomizedSqlItem

public class EntityKeyItem
extends Object
implements CustomizedSqlItem

This EntityKeyItem is used to build a " alias.id1=? and alias.id2=? ..." SQL piece, alias is based on current PreparedSQL's setting

Since:
1.0.0
Author:
Yong Zhu

Constructor Summary
EntityKeyItem(Object entity)
           
 
Method Summary
 void doPrepare(PreparedSQL ps)
          Prepare special SQL items
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityKeyItem

public EntityKeyItem(Object entity)
Method Detail

doPrepare

public void doPrepare(PreparedSQL ps)
Description copied from interface: CustomizedSqlItem
Prepare special SQL items

Specified by:
doPrepare in interface CustomizedSqlItem
Parameters:
ps - PreparedSQL instance


Copyright © 2018. All rights reserved.