|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jstorm.mapping.SqlBuilder
Insert the type's description here. Creation date: (5/23/2001 9:45:30 PM)
Constructor Summary | |
SqlBuilder()
SelectSql constructor comment. |
Method Summary | |
void |
appendCommaSeparatedAttributes(java.util.Iterator attributes,
java.lang.StringBuffer stringBuffer)
Insert the method's description here. |
void |
appendInsertAttribute(Attribute attribute,
Mapping mapping,
java.lang.StringBuffer sql)
Insert the method's description here. |
void |
appendInsertAttributes(java.util.Iterator attributes,
Mapping mapping,
java.lang.StringBuffer sql)
Insert the method's description here. |
void |
appendSelectAttribute(Attribute attribute,
Mapping mapping,
java.lang.StringBuffer sql)
Insert the method's description here. |
void |
appendSelectAttributes(java.util.Iterator attributes,
Mapping mapping,
java.lang.StringBuffer sql)
Insert the method's description here. |
void |
appendUpdateAttribute(Attribute attribute,
Mapping mapping,
java.lang.StringBuffer sql)
Insert the method's description here. |
void |
appendUpdateAttributes(java.util.Iterator attributes,
Mapping mapping,
java.lang.StringBuffer sql)
Insert the method's description here. |
void |
appendWhereClause(java.util.Iterator keyAttributes,
java.lang.StringBuffer sql)
Insert the method's description here. |
java.lang.Object |
getConstraintValue(Attribute attribute,
java.lang.Object constraint)
Insert the method's description here. |
java.lang.String |
getDeleteSql(Mapping mapping)
Insert the method's description here. |
java.lang.String |
getInsertSql(Mapping mapping)
Insert the method's description here. |
java.lang.String |
getSelectSql(Mapping mapping)
Insert the method's description here. |
java.lang.String |
getSelectSql(Mapping mapping,
Mapping secondMapping,
java.lang.String field1,
java.lang.String field2)
Insert the method's description here. |
java.lang.String |
getUpdateSql(Mapping mapping)
Insert the method's description here. |
java.lang.String |
getWhereForConstrainingObject(StorableObject constraint)
Insert the method's description here. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SqlBuilder()
Method Detail |
public void appendCommaSeparatedAttributes(java.util.Iterator attributes, java.lang.StringBuffer stringBuffer)
attributes
- java.util.IteratorstringBuffer
- java.lang.StringBufferpublic void appendInsertAttribute(Attribute attribute, Mapping mapping, java.lang.StringBuffer sql)
attributes
- java.util.IteratorstringBuffer
- java.lang.StringBufferpublic void appendInsertAttributes(java.util.Iterator attributes, Mapping mapping, java.lang.StringBuffer sql)
attributes
- java.util.IteratorstringBuffer
- java.lang.StringBufferpublic void appendSelectAttribute(Attribute attribute, Mapping mapping, java.lang.StringBuffer sql)
attributes
- java.util.IteratorstringBuffer
- java.lang.StringBufferpublic void appendSelectAttributes(java.util.Iterator attributes, Mapping mapping, java.lang.StringBuffer sql)
attributes
- java.util.IteratorstringBuffer
- java.lang.StringBufferpublic void appendUpdateAttribute(Attribute attribute, Mapping mapping, java.lang.StringBuffer sql)
attributes
- java.util.IteratorstringBuffer
- java.lang.StringBufferpublic void appendUpdateAttributes(java.util.Iterator attributes, Mapping mapping, java.lang.StringBuffer sql)
attributes
- java.util.IteratorstringBuffer
- java.lang.StringBufferpublic void appendWhereClause(java.util.Iterator keyAttributes, java.lang.StringBuffer sql)
attributes
- java.util.IteratorstringBuffer
- java.lang.StringBufferpublic java.lang.Object getConstraintValue(Attribute attribute, java.lang.Object constraint) throws java.lang.Exception
mapping
- com.lante.mapping.Mappingpublic java.lang.String getDeleteSql(Mapping mapping)
mapping
- com.lante.mapping.Mappingpublic java.lang.String getInsertSql(Mapping mapping)
mapping
- com.lante.mapping.Mappingpublic java.lang.String getSelectSql(Mapping mapping)
mapping
- com.lante.mapping.Mappingpublic java.lang.String getSelectSql(Mapping mapping, Mapping secondMapping, java.lang.String field1, java.lang.String field2)
mapping
- com.lante.mapping.Mappingpublic java.lang.String getUpdateSql(Mapping mapping)
mapping
- com.lante.mapping.Mappingpublic java.lang.String getWhereForConstrainingObject(StorableObject constraint) throws DatabaseException
mapping
- com.lante.mapping.Mapping
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |