com.poscoict.glueframework.dao.manager
Class GlueQueryDefinition

java.lang.Object
  extended by com.poscoict.glueframework.dao.manager.GlueQueryDefinition
All Implemented Interfaces:
Serializable

public class GlueQueryDefinition
extends Object
implements Serializable

Glue Query Editor(Äõ¸®ÆÄÀÏ)¸¦ parsing °á°ú. query¸¦ ´ã´Â °´Ã¼ÀÓ.

 
 <?xml version="1.0" encoding="UTF-8"?>
 <queryMap desc="EMP Project ÇѱÛ" xmlns="http://www.poscoict.com/glueframework/query">
     <query id="emp.select.by.deptno" desc="EMPÁ¶È¸" resultType="" isNamed="false">
     <![CDATA[ 
 select EMPNO, ENAME, JOB, MGR, HIREDATE, SAL,DEPTNO 
 from EMP 
 where DEPTNO=? 
     ]]>
     </query>
     <query id="emp.select.by.deptno.named" desc="EMPÁ¶È¸" resultType="" isNamed="true">
     <![CDATA[ 
 select EMPNO, ENAME, JOB, MGR, HIREDATE, SAL,DEPTNO 
 from EMP 
 where DEPTNO=:DeptnoP 
     ]]>
     </query>
     . . .
 </queryMap>
 
 

See Also:
Serialized Form

Constructor Summary
GlueQueryDefinition()
          »ý¼ºÀÚ(constructor).
GlueQueryDefinition(String id, String queryStatement)
          »ý¼ºÀÚ(constructor).
GlueQueryDefinition(String id, String queryStatement, boolean isNamed)
          »ý¼ºÀÚ(constructor).
 
Method Summary
 String getDescription()
          getter method.
 String getId()
          Äõ¸® Å°¸¦ ¾ò´Â´Ù.
 String getMappedClassName()
          getter method.
 String getQueryStatement()
          SQL Äõ¸® ¹®ÀåÀ» ¾ò´Â´Ù.
 boolean isNamedQuery()
          getter method.
 void setDescription(String desc)
          setter method.
 void setId(String id)
          Äõ¸® Å°¸¦ ¼³Á¤ÇÑ´Ù.
 void setIsNamedQuery(boolean isNamed)
          setter method.
 void setMappedClassName(String mappedClassName)
          setter method.
 void setQueryStatement(String queryStatement)
          SQL Äõ¸® ¹®ÀåÀ» ¼³Á¤ÇÑ´Ù.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlueQueryDefinition

public GlueQueryDefinition()
»ý¼ºÀÚ(constructor).


GlueQueryDefinition

public GlueQueryDefinition(String id,
                           String queryStatement)
»ý¼ºÀÚ(constructor).

Parameters:
id - Äõ¸® Å°
queryStatement - SQL Äõ¸® ¹®Àå

GlueQueryDefinition

public GlueQueryDefinition(String id,
                           String queryStatement,
                           boolean isNamed)
»ý¼ºÀÚ(constructor).

Parameters:
id - Äõ¸® Å°
queryStatement - SQL Äõ¸® ¹®Àå
isNamed -
Method Detail

getId

public String getId()
Äõ¸® Å°¸¦ ¾ò´Â´Ù.

Returns:
Äõ¸® Å°

setId

public void setId(String id)
Äõ¸® Å°¸¦ ¼³Á¤ÇÑ´Ù.

Parameters:
id - Äõ¸® Å°

getQueryStatement

public String getQueryStatement()
SQL Äõ¸® ¹®ÀåÀ» ¾ò´Â´Ù.

Returns:
SQL Äõ¸® ¹®Àå

setQueryStatement

public void setQueryStatement(String queryStatement)
SQL Äõ¸® ¹®ÀåÀ» ¼³Á¤ÇÑ´Ù.

Parameters:
queryStatement - SQL Äõ¸® ¹®Àå

isNamedQuery

public boolean isNamedQuery()
getter method. ÇØ´ç Äõ¸®°¡ Named queryÀÎÁö ¾Ë¾Æº»´Ù..

Returns:
true/false

setIsNamedQuery

public void setIsNamedQuery(boolean isNamed)
setter method.

Parameters:
isNamed -

getMappedClassName

public String getMappedClassName()
getter method.

Returns:
returnType

setMappedClassName

public void setMappedClassName(String mappedClassName)
setter method.

Parameters:
mappedClassName -

getDescription

public String getDescription()
getter method.

Returns:
desc

setDescription

public void setDescription(String desc)
setter method.

Parameters:
desc -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013–2015 POSCO ICT SWÁ¦Ç°±â¼úÆÀ. All rights reserved.