Skip to content

Commit

Permalink
Added license to source files
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Dec 26, 2012
1 parent 8b163ea commit a860ef2
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 68 deletions.
@@ -1,28 +1,53 @@
/*
* Licensed to JumpMind Inc under one or more contributor
* license agreements. See the NOTICE file distributed
* with this work for additional information regarding
* copyright ownership. JumpMind Inc licenses this file
* to you under the GNU Lesser General Public License (the
* "License"); you may not use this file except in compliance
* with the License.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see
* <http://www.gnu.org/licenses/>.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.jumpmind.symmetric.web.rest.model;

public class Column {

private int ordinal;
private String name;
private String value;

public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public int getOrdinal() {
return ordinal;
}
public void setOrdinal(int ordinal) {
this.ordinal = ordinal;
}


private int ordinal;
private String name;
private String value;

public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public String getValue() {
return value;
}

public void setValue(String value) {
this.value = value;
}

public int getOrdinal() {
return ordinal;
}

public void setOrdinal(int ordinal) {
this.ordinal = ordinal;
}

}
@@ -1,32 +1,52 @@
/*
* Licensed to JumpMind Inc under one or more contributor
* license agreements. See the NOTICE file distributed
* with this work for additional information regarding
* copyright ownership. JumpMind Inc licenses this file
* to you under the GNU Lesser General Public License (the
* "License"); you may not use this file except in compliance
* with the License.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see
* <http://www.gnu.org/licenses/>.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.jumpmind.symmetric.web.rest.model;

import java.util.ArrayList;
import java.util.List;

public class QueryResults {

int nbrResults;
List<Row> results;

public QueryResults() {
nbrResults=0;
results = new ArrayList<Row>();
}
public int getNbrResults() {
return nbrResults;
}

public void setNbrResults(int nbrResults) {
this.nbrResults = nbrResults;
}

public List<Row> getResults() {
return results;
}

public void setResults(List<Row> results) {
this.results = results;
}
int nbrResults;
List<Row> results;

public QueryResults() {
nbrResults = 0;
results = new ArrayList<Row>();
}

public int getNbrResults() {
return nbrResults;
}

public void setNbrResults(int nbrResults) {
this.nbrResults = nbrResults;
}

public List<Row> getResults() {
return results;
}

public void setResults(List<Row> results) {
this.results = results;
}

}
@@ -1,28 +1,51 @@
/*
* Licensed to JumpMind Inc under one or more contributor
* license agreements. See the NOTICE file distributed
* with this work for additional information regarding
* copyright ownership. JumpMind Inc licenses this file
* to you under the GNU Lesser General Public License (the
* "License"); you may not use this file except in compliance
* with the License.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see
* <http://www.gnu.org/licenses/>.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.jumpmind.symmetric.web.rest.model;

import java.util.ArrayList;
import java.util.List;

public class Row {

private int rowNum;
private List<Column> columnData;

public Row() {
columnData = new ArrayList<Column>();
}

public int getRowNum() {
return rowNum;
}
public void setRowNum(int rowNum) {
this.rowNum = rowNum;
}
public List<Column> getColumnData() {
return columnData;
}
public void setColumData(List<Column> columData) {
this.columnData = columData;
}

private int rowNum;
private List<Column> columnData;

public Row() {
columnData = new ArrayList<Column>();
}

public int getRowNum() {
return rowNum;
}

public void setRowNum(int rowNum) {
this.rowNum = rowNum;
}

public List<Column> getColumnData() {
return columnData;
}

public void setColumData(List<Column> columData) {
this.columnData = columData;
}

}

0 comments on commit a860ef2

Please sign in to comment.