X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=ea2ddl-dao%2Fsrc%2Fmain%2Fjava%2Fjp%2Fsourceforge%2Fea2ddl%2Fdao%2Fcbean%2Fcq%2Fbs%2FAbstractBsTObjecttrxCQ.java;h=a426e27ad3e53a885e8fe7206f25d34d25333b4a;hb=38e8f077bc96f58670463549b885e032cd20c4f0;hp=fefb6efe0dee0b746a7c5b1597ecb3cf83dda9aa;hpb=385f8b8ea05f8c98bfbad39baa47c98d6b7c1a81;p=ea2ddl%2Fea2ddl.git diff --git a/ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/AbstractBsTObjecttrxCQ.java b/ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/AbstractBsTObjecttrxCQ.java index fefb6ef..a426e27 100644 --- a/ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/AbstractBsTObjecttrxCQ.java +++ b/ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/cbean/cq/bs/AbstractBsTObjecttrxCQ.java @@ -2,21 +2,28 @@ package jp.sourceforge.ea2ddl.dao.cbean.cq.bs; import java.util.Collection; -import jp.sourceforge.ea2ddl.dao.allcommon.cbean.*; -import jp.sourceforge.ea2ddl.dao.allcommon.cbean.ckey.*; -import jp.sourceforge.ea2ddl.dao.allcommon.cbean.cvalue.ConditionValue; -import jp.sourceforge.ea2ddl.dao.allcommon.cbean.sqlclause.SqlClause; +import org.seasar.dbflute.cbean.*; +import org.seasar.dbflute.cbean.ckey.*; +import org.seasar.dbflute.cbean.coption.*; +import org.seasar.dbflute.cbean.cvalue.ConditionValue; +import org.seasar.dbflute.cbean.sqlclause.SqlClause; +import org.seasar.dbflute.dbmeta.DBMetaProvider; +import jp.sourceforge.ea2ddl.dao.allcommon.*; import jp.sourceforge.ea2ddl.dao.cbean.*; import jp.sourceforge.ea2ddl.dao.cbean.cq.*; /** * The abstract condition-query of t_objecttrx. * @author DBFlute(AutoGenerator) - */ -@SuppressWarnings("unchecked") + */ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { // =================================================================================== + // Attribute + // ========= + protected final DBMetaProvider _dbmetaProvider = new DBMetaInstanceHandler(); + + // =================================================================================== // Constructor // =========== public AbstractBsTObjecttrxCQ(ConditionQuery childQuery, SqlClause sqlClause, String aliasName, int nestLevel) { @@ -24,6 +31,14 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } // =================================================================================== + // DBMeta Provider + // =============== + @Override + protected DBMetaProvider getDBMetaProvider() { + return _dbmetaProvider; + } + + // =================================================================================== // Table Name // ========== public String getTableDbName() { @@ -39,7 +54,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { // ===== /** - * Equal(=). And NullIgnored, OnceRegistered. {UQ : INTEGER} + * Equal(=). And NullIgnored, OnlyOnceRegistered. {UQ : INTEGER} * @param objectId The value of objectId as equal. */ public void setObjectId_Equal(java.lang.Integer objectId) { @@ -47,7 +62,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * NotEqual(!=). And NullIgnored, OnceRegistered. + * NotEqual(!=). And NullIgnored, OnlyOnceRegistered. * @param objectId The value of objectId as notEqual. */ public void setObjectId_NotEqual(java.lang.Integer objectId) { @@ -55,7 +70,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * GreaterThan(>). And NullIgnored, OnceRegistered. + * GreaterThan(>). And NullIgnored, OnlyOnceRegistered. * @param objectId The value of objectId as greaterThan. */ public void setObjectId_GreaterThan(java.lang.Integer objectId) { @@ -63,7 +78,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LessThan(<). And NullIgnored, OnceRegistered. + * LessThan(<). And NullIgnored, OnlyOnceRegistered. * @param objectId The value of objectId as lessThan. */ public void setObjectId_LessThan(java.lang.Integer objectId) { @@ -71,7 +86,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * GreaterEqual(>=). And NullIgnored, OnceRegistered. + * GreaterEqual(>=). And NullIgnored, OnlyOnceRegistered. * @param objectId The value of objectId as greaterEqual. */ public void setObjectId_GreaterEqual(java.lang.Integer objectId) { @@ -79,7 +94,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LessEqual(<=). And NullIgnored, OnceRegistered. + * LessEqual(<=). And NullIgnored, OnlyOnceRegistered. * @param objectId The value of objectId as lessEqual. */ public void setObjectId_LessEqual(java.lang.Integer objectId) { @@ -95,25 +110,20 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * IsNull(is null). And OnceRegistered. + * IsNull(is null). And OnlyOnceRegistered. */ - public void setObjectId_IsNull() { regObjectId(CK_ISN, DUMMY_OBJECT); } + public void setObjectId_IsNull() { regObjectId(CK_ISN, DOBJ); } /** - * IsNotNull(is not null). And OnceRegistered. + * IsNotNull(is not null). And OnlyOnceRegistered. */ - public void setObjectId_IsNotNull() { regObjectId(CK_ISNN, DUMMY_OBJECT); } + public void setObjectId_IsNotNull() { regObjectId(CK_ISNN, DOBJ); } - protected void regObjectId(ConditionKey key, Object value) { - registerQuery(key, value, getCValueObjectId(), "Object_ID", "ObjectId", "objectId"); - } - protected void registerInlineObjectId(ConditionKey key, Object value) { - registerInlineQuery(key, value, getCValueObjectId(), "Object_ID", "ObjectId", "objectId"); - } + protected void regObjectId(ConditionKey k, Object v) { regQ(k, v, getCValueObjectId(), "Object_ID"); } abstract protected ConditionValue getCValueObjectId(); /** - * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {UQ : VARCHAR(255)} + * Equal(=). And NullOrEmptyIgnored, OnlyOnceRegistered. {UQ : VARCHAR(255)} * @param trx The value of trx as equal. */ public void setTrx_Equal(String trx) { @@ -121,7 +131,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered. + * NotEqual(!=). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param trx The value of trx as notEqual. */ public void setTrx_NotEqual(String trx) { @@ -129,7 +139,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * GreaterThan(>). And NullOrEmptyIgnored, OnceRegistered. + * GreaterThan(>). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param trx The value of trx as greaterThan. */ public void setTrx_GreaterThan(String trx) { @@ -137,7 +147,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LessThan(<). And NullOrEmptyIgnored, OnceRegistered. + * LessThan(<). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param trx The value of trx as lessThan. */ public void setTrx_LessThan(String trx) { @@ -145,7 +155,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * GreaterEqual(>=). And NullOrEmptyIgnored, OnceRegistered. + * GreaterEqual(>=). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param trx The value of trx as greaterEqual. */ public void setTrx_GreaterEqual(String trx) { @@ -153,7 +163,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LessEqual(<=). And NullOrEmptyIgnored, OnceRegistered. + * LessEqual(<=). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param trx The value of trx as lessEqual. */ public void setTrx_LessEqual(String trx) { @@ -161,7 +171,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered. + * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param trx The value of trx as prefixSearch. */ public void setTrx_PrefixSearch(String trx) { @@ -169,15 +179,6 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored, SeveralRegistered. - * @param trx The value of trx as likeSearch. - * @param likeSearchOption The option of like-search. (NotNull) - */ - public void setTrx_LikeSearch(String trx, jp.sourceforge.ea2ddl.dao.allcommon.cbean.coption.LikeSearchOption likeSearchOption) { - registerLikeSearchQuery(CK_LS, fRES(trx), getCValueTrx(), "TRX", "Trx", "trx", likeSearchOption); - } - - /** * InScope(in ('a', 'b')). And NullOrEmptyIgnored, NullOrEmptyElementIgnored, SeveralRegistered. * @param trxList The collection of trx as inScope. */ @@ -186,34 +187,38 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * InScope(in ('a', 'b')). And NullOrEmptyIgnored, NullOrEmptyElementIgnored, SeveralRegistered. - * @param trx The collection of trx as inScope. - * @param inScopeOption The option of in-scope. (NotNull) + * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored, SeveralRegistered. + * @param trx The value of trx as likeSearch. + * @param likeSearchOption The option of like-search. (NotNull) */ - public void setTrx_InScope(String trx, jp.sourceforge.ea2ddl.dao.allcommon.cbean.coption.InScopeOption inScopeOption) { - registerInScopeQuery(CK_INS, fRES(trx), getCValueTrx(), "TRX", "Trx", "trx", inScopeOption); + public void setTrx_LikeSearch(String trx, LikeSearchOption likeSearchOption) { + regLSQ(CK_LS, fRES(trx), getCValueTrx(), "TRX", likeSearchOption); } /** - * IsNull(is null). And OnceRegistered. + * NotLikeSearch(not like 'xxx%' escape ...). And NullOrEmptyIgnored, SeveralRegistered. + * @param trx The value of trx as notLikeSearch. + * @param likeSearchOption The option of not-like-search. (NotNull) */ - public void setTrx_IsNull() { regTrx(CK_ISN, DUMMY_OBJECT); } + public void setTrx_NotLikeSearch(String trx, LikeSearchOption likeSearchOption) { + regLSQ(CK_NLS, fRES(trx), getCValueTrx(), "TRX", likeSearchOption); + } /** - * IsNotNull(is not null). And OnceRegistered. + * IsNull(is null). And OnlyOnceRegistered. */ - public void setTrx_IsNotNull() { regTrx(CK_ISNN, DUMMY_OBJECT); } + public void setTrx_IsNull() { regTrx(CK_ISN, DOBJ); } - protected void regTrx(ConditionKey key, Object value) { - registerQuery(key, value, getCValueTrx(), "TRX", "Trx", "trx"); - } - protected void registerInlineTrx(ConditionKey key, Object value) { - registerInlineQuery(key, value, getCValueTrx(), "TRX", "Trx", "trx"); - } + /** + * IsNotNull(is not null). And OnlyOnceRegistered. + */ + public void setTrx_IsNotNull() { regTrx(CK_ISNN, DOBJ); } + + protected void regTrx(ConditionKey k, Object v) { regQ(k, v, getCValueTrx(), "TRX"); } abstract protected ConditionValue getCValueTrx(); /** - * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {UQ : VARCHAR(12)} + * Equal(=). And NullOrEmptyIgnored, OnlyOnceRegistered. {UQ : VARCHAR(12)} * @param trxtype The value of trxtype as equal. */ public void setTrxtype_Equal(String trxtype) { @@ -221,7 +226,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered. + * NotEqual(!=). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param trxtype The value of trxtype as notEqual. */ public void setTrxtype_NotEqual(String trxtype) { @@ -229,7 +234,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * GreaterThan(>). And NullOrEmptyIgnored, OnceRegistered. + * GreaterThan(>). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param trxtype The value of trxtype as greaterThan. */ public void setTrxtype_GreaterThan(String trxtype) { @@ -237,7 +242,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LessThan(<). And NullOrEmptyIgnored, OnceRegistered. + * LessThan(<). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param trxtype The value of trxtype as lessThan. */ public void setTrxtype_LessThan(String trxtype) { @@ -245,7 +250,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * GreaterEqual(>=). And NullOrEmptyIgnored, OnceRegistered. + * GreaterEqual(>=). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param trxtype The value of trxtype as greaterEqual. */ public void setTrxtype_GreaterEqual(String trxtype) { @@ -253,7 +258,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LessEqual(<=). And NullOrEmptyIgnored, OnceRegistered. + * LessEqual(<=). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param trxtype The value of trxtype as lessEqual. */ public void setTrxtype_LessEqual(String trxtype) { @@ -261,7 +266,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered. + * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param trxtype The value of trxtype as prefixSearch. */ public void setTrxtype_PrefixSearch(String trxtype) { @@ -269,15 +274,6 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored, SeveralRegistered. - * @param trxtype The value of trxtype as likeSearch. - * @param likeSearchOption The option of like-search. (NotNull) - */ - public void setTrxtype_LikeSearch(String trxtype, jp.sourceforge.ea2ddl.dao.allcommon.cbean.coption.LikeSearchOption likeSearchOption) { - registerLikeSearchQuery(CK_LS, fRES(trxtype), getCValueTrxtype(), "TRXType", "Trxtype", "trxtype", likeSearchOption); - } - - /** * InScope(in ('a', 'b')). And NullOrEmptyIgnored, NullOrEmptyElementIgnored, SeveralRegistered. * @param trxtypeList The collection of trxtype as inScope. */ @@ -286,34 +282,38 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * InScope(in ('a', 'b')). And NullOrEmptyIgnored, NullOrEmptyElementIgnored, SeveralRegistered. - * @param trxtype The collection of trxtype as inScope. - * @param inScopeOption The option of in-scope. (NotNull) + * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored, SeveralRegistered. + * @param trxtype The value of trxtype as likeSearch. + * @param likeSearchOption The option of like-search. (NotNull) */ - public void setTrxtype_InScope(String trxtype, jp.sourceforge.ea2ddl.dao.allcommon.cbean.coption.InScopeOption inScopeOption) { - registerInScopeQuery(CK_INS, fRES(trxtype), getCValueTrxtype(), "TRXType", "Trxtype", "trxtype", inScopeOption); + public void setTrxtype_LikeSearch(String trxtype, LikeSearchOption likeSearchOption) { + regLSQ(CK_LS, fRES(trxtype), getCValueTrxtype(), "TRXType", likeSearchOption); } /** - * IsNull(is null). And OnceRegistered. + * NotLikeSearch(not like 'xxx%' escape ...). And NullOrEmptyIgnored, SeveralRegistered. + * @param trxtype The value of trxtype as notLikeSearch. + * @param likeSearchOption The option of not-like-search. (NotNull) */ - public void setTrxtype_IsNull() { regTrxtype(CK_ISN, DUMMY_OBJECT); } + public void setTrxtype_NotLikeSearch(String trxtype, LikeSearchOption likeSearchOption) { + regLSQ(CK_NLS, fRES(trxtype), getCValueTrxtype(), "TRXType", likeSearchOption); + } /** - * IsNotNull(is not null). And OnceRegistered. + * IsNull(is null). And OnlyOnceRegistered. */ - public void setTrxtype_IsNotNull() { regTrxtype(CK_ISNN, DUMMY_OBJECT); } + public void setTrxtype_IsNull() { regTrxtype(CK_ISN, DOBJ); } - protected void regTrxtype(ConditionKey key, Object value) { - registerQuery(key, value, getCValueTrxtype(), "TRXType", "Trxtype", "trxtype"); - } - protected void registerInlineTrxtype(ConditionKey key, Object value) { - registerInlineQuery(key, value, getCValueTrxtype(), "TRXType", "Trxtype", "trxtype"); - } + /** + * IsNotNull(is not null). And OnlyOnceRegistered. + */ + public void setTrxtype_IsNotNull() { regTrxtype(CK_ISNN, DOBJ); } + + protected void regTrxtype(ConditionKey k, Object v) { regQ(k, v, getCValueTrxtype(), "TRXType"); } abstract protected ConditionValue getCValueTrxtype(); /** - * Equal(=). And NullIgnored, OnceRegistered. {DOUBLE} + * Equal(=). And NullIgnored, OnlyOnceRegistered. {DOUBLE} * @param weight The value of weight as equal. */ public void setWeight_Equal(java.math.BigDecimal weight) { @@ -321,7 +321,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * NotEqual(!=). And NullIgnored, OnceRegistered. + * NotEqual(!=). And NullIgnored, OnlyOnceRegistered. * @param weight The value of weight as notEqual. */ public void setWeight_NotEqual(java.math.BigDecimal weight) { @@ -329,7 +329,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * GreaterThan(>). And NullIgnored, OnceRegistered. + * GreaterThan(>). And NullIgnored, OnlyOnceRegistered. * @param weight The value of weight as greaterThan. */ public void setWeight_GreaterThan(java.math.BigDecimal weight) { @@ -337,7 +337,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LessThan(<). And NullIgnored, OnceRegistered. + * LessThan(<). And NullIgnored, OnlyOnceRegistered. * @param weight The value of weight as lessThan. */ public void setWeight_LessThan(java.math.BigDecimal weight) { @@ -345,7 +345,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * GreaterEqual(>=). And NullIgnored, OnceRegistered. + * GreaterEqual(>=). And NullIgnored, OnlyOnceRegistered. * @param weight The value of weight as greaterEqual. */ public void setWeight_GreaterEqual(java.math.BigDecimal weight) { @@ -353,7 +353,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LessEqual(<=). And NullIgnored, OnceRegistered. + * LessEqual(<=). And NullIgnored, OnlyOnceRegistered. * @param weight The value of weight as lessEqual. */ public void setWeight_LessEqual(java.math.BigDecimal weight) { @@ -369,25 +369,20 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * IsNull(is null). And OnceRegistered. + * IsNull(is null). And OnlyOnceRegistered. */ - public void setWeight_IsNull() { regWeight(CK_ISN, DUMMY_OBJECT); } + public void setWeight_IsNull() { regWeight(CK_ISN, DOBJ); } /** - * IsNotNull(is not null). And OnceRegistered. + * IsNotNull(is not null). And OnlyOnceRegistered. */ - public void setWeight_IsNotNull() { regWeight(CK_ISNN, DUMMY_OBJECT); } + public void setWeight_IsNotNull() { regWeight(CK_ISNN, DOBJ); } - protected void regWeight(ConditionKey key, Object value) { - registerQuery(key, value, getCValueWeight(), "Weight", "Weight", "weight"); - } - protected void registerInlineWeight(ConditionKey key, Object value) { - registerInlineQuery(key, value, getCValueWeight(), "Weight", "Weight", "weight"); - } + protected void regWeight(ConditionKey k, Object v) { regQ(k, v, getCValueWeight(), "Weight"); } abstract protected ConditionValue getCValueWeight(); /** - * Equal(=). And NullOrEmptyIgnored, OnceRegistered. {LONGCHAR(2147483647)} + * Equal(=). And NullOrEmptyIgnored, OnlyOnceRegistered. {LONGCHAR(2147483647)} * @param notes The value of notes as equal. */ public void setNotes_Equal(String notes) { @@ -395,7 +390,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * NotEqual(!=). And NullOrEmptyIgnored, OnceRegistered. + * NotEqual(!=). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param notes The value of notes as notEqual. */ public void setNotes_NotEqual(String notes) { @@ -403,7 +398,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * GreaterThan(>). And NullOrEmptyIgnored, OnceRegistered. + * GreaterThan(>). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param notes The value of notes as greaterThan. */ public void setNotes_GreaterThan(String notes) { @@ -411,7 +406,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LessThan(<). And NullOrEmptyIgnored, OnceRegistered. + * LessThan(<). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param notes The value of notes as lessThan. */ public void setNotes_LessThan(String notes) { @@ -419,7 +414,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * GreaterEqual(>=). And NullOrEmptyIgnored, OnceRegistered. + * GreaterEqual(>=). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param notes The value of notes as greaterEqual. */ public void setNotes_GreaterEqual(String notes) { @@ -427,7 +422,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LessEqual(<=). And NullOrEmptyIgnored, OnceRegistered. + * LessEqual(<=). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param notes The value of notes as lessEqual. */ public void setNotes_LessEqual(String notes) { @@ -435,7 +430,7 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnceRegistered. + * PrefixSearch(like 'xxx%'). And NullOrEmptyIgnored, OnlyOnceRegistered. * @param notes The value of notes as prefixSearch. */ public void setNotes_PrefixSearch(String notes) { @@ -443,15 +438,6 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored, SeveralRegistered. - * @param notes The value of notes as likeSearch. - * @param likeSearchOption The option of like-search. (NotNull) - */ - public void setNotes_LikeSearch(String notes, jp.sourceforge.ea2ddl.dao.allcommon.cbean.coption.LikeSearchOption likeSearchOption) { - registerLikeSearchQuery(CK_LS, fRES(notes), getCValueNotes(), "Notes", "Notes", "notes", likeSearchOption); - } - - /** * InScope(in ('a', 'b')). And NullOrEmptyIgnored, NullOrEmptyElementIgnored, SeveralRegistered. * @param notesList The collection of notes as inScope. */ @@ -460,33 +446,41 @@ public abstract class AbstractBsTObjecttrxCQ extends AbstractConditionQuery { } /** - * InScope(in ('a', 'b')). And NullOrEmptyIgnored, NullOrEmptyElementIgnored, SeveralRegistered. - * @param notes The collection of notes as inScope. - * @param inScopeOption The option of in-scope. (NotNull) + * LikeSearch(like 'xxx%' escape ...). And NullOrEmptyIgnored, SeveralRegistered. + * @param notes The value of notes as likeSearch. + * @param likeSearchOption The option of like-search. (NotNull) */ - public void setNotes_InScope(String notes, jp.sourceforge.ea2ddl.dao.allcommon.cbean.coption.InScopeOption inScopeOption) { - registerInScopeQuery(CK_INS, fRES(notes), getCValueNotes(), "Notes", "Notes", "notes", inScopeOption); + public void setNotes_LikeSearch(String notes, LikeSearchOption likeSearchOption) { + regLSQ(CK_LS, fRES(notes), getCValueNotes(), "Notes", likeSearchOption); } /** - * IsNull(is null). And OnceRegistered. + * NotLikeSearch(not like 'xxx%' escape ...). And NullOrEmptyIgnored, SeveralRegistered. + * @param notes The value of notes as notLikeSearch. + * @param likeSearchOption The option of not-like-search. (NotNull) */ - public void setNotes_IsNull() { regNotes(CK_ISN, DUMMY_OBJECT); } + public void setNotes_NotLikeSearch(String notes, LikeSearchOption likeSearchOption) { + regLSQ(CK_NLS, fRES(notes), getCValueNotes(), "Notes", likeSearchOption); + } /** - * IsNotNull(is not null). And OnceRegistered. + * IsNull(is null). And OnlyOnceRegistered. */ - public void setNotes_IsNotNull() { regNotes(CK_ISNN, DUMMY_OBJECT); } + public void setNotes_IsNull() { regNotes(CK_ISN, DOBJ); } - protected void regNotes(ConditionKey key, Object value) { - registerQuery(key, value, getCValueNotes(), "Notes", "Notes", "notes"); - } - protected void registerInlineNotes(ConditionKey key, Object value) { - registerInlineQuery(key, value, getCValueNotes(), "Notes", "Notes", "notes"); - } + /** + * IsNotNull(is not null). And OnlyOnceRegistered. + */ + public void setNotes_IsNotNull() { regNotes(CK_ISNN, DOBJ); } + + protected void regNotes(ConditionKey k, Object v) { regQ(k, v, getCValueNotes(), "Notes"); } abstract protected ConditionValue getCValueNotes(); + // =================================================================================== + // Very Internal + // ============= // Very Internal (for Suppressing Warn about 'Not Use Import') - protected String getConditionBeanClassNameInternally() { return TObjecttrxCB.class.getName(); } - protected String getConditionQueryClassNameInternally() { return TObjecttrxCQ.class.getName(); } + String xCB() { return TObjecttrxCB.class.getName(); } + String xCQ() { return TObjecttrxCQ.class.getName(); } + String xLSO() { return LikeSearchOption.class.getName(); } }