mirror of https://github.com/gnosygnu/xowa
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.8 KiB
37 lines
1.8 KiB
/*
|
|
XOWA: the XOWA Offline Wiki Application
|
|
Copyright (C) 2012 gnosygnu@gmail.com
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as
|
|
published by the Free Software Foundation, either version 3 of the
|
|
License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
package gplx.dbs.sqls.itms; import gplx.*; import gplx.dbs.*; import gplx.dbs.sqls.*;
|
|
import gplx.core.criterias.*;
|
|
public class Db_obj_ary_crt implements gplx.core.criterias.Criteria {
|
|
public byte Tid() {return Criteria_.Tid_db_obj_ary;}
|
|
public Db_obj_ary_fld[] Flds() {return flds;} public Db_obj_ary_crt Flds_(Db_obj_ary_fld[] v) {this.flds = v; return this;} private Db_obj_ary_fld[] flds;
|
|
public Object[][] Vals() {return vals;} public void Vals_(Object[][] v) {this.vals = v;} private Object[][] vals;
|
|
public void Val_from_args(Hash_adp args) {throw Err_.new_unimplemented();}
|
|
public void Val_as_obj_(Object v) {throw Err_.new_unimplemented();}
|
|
public boolean Matches(Object obj) {return false;}
|
|
public String To_str() {return "";}
|
|
public static Db_obj_ary_crt new_(Db_obj_ary_fld... flds) {return new Db_obj_ary_crt().Flds_(flds);}
|
|
public static Db_obj_ary_crt new_by_type(byte type_tid, String... names) {
|
|
int len = names.length;
|
|
Db_obj_ary_fld[] flds = new Db_obj_ary_fld[len];
|
|
for (int i = 0; i < len; i++)
|
|
flds[i] = new Db_obj_ary_fld(names[i], type_tid);
|
|
return new Db_obj_ary_crt().Flds_(flds);
|
|
}
|
|
}
|