/* * Copyright 2003-2010 Tufts University Licensed under the * Educational Community License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may * obtain a copy of the License at * * http://www.osedu.org/licenses/ECL-2.0 * * 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 edu.tufts.vue.fsm.impl; /** This class is a simple attribute holder. */ public class VueQuery implements edu.tufts.vue.fsm.Query { private org.osid.repository.Repository repository = null; private java.io.Serializable searchCriteria = null; private org.osid.shared.Type searchType = null; private org.osid.shared.Properties searchProperties = null; private String foreignIdString = null; protected VueQuery(String foreignIdString, org.osid.repository.Repository repository, java.io.Serializable searchCriteria, org.osid.shared.Type searchType, org.osid.shared.Properties searchProperties) { this.foreignIdString = foreignIdString; this.repository = repository; this.searchCriteria = searchCriteria; this.searchType = searchType; this.searchProperties = searchProperties; } public String getForeignIdString() { return this.foreignIdString; } public void setForeignIdString(String foreignIdString) { this.foreignIdString = foreignIdString; } public org.osid.repository.Repository getRepository() { return this.repository; } public void setRepository(org.osid.repository.Repository repository) { this.repository = repository; } public java.io.Serializable getSearchCriteria() { return this.searchCriteria; } public void setSearchCriteria(java.io.Serializable searchCriteria) { this.searchCriteria = searchCriteria; } public org.osid.shared.Type getSearchType() { return this.searchType; } public void setSearchType(org.osid.shared.Type searchType) { this.searchType = searchType; } public org.osid.shared.Properties getSearchProperties() { return this.searchProperties; } public void setSearchProperties(org.osid.shared.Properties searchProperties) { this.searchProperties = searchProperties; } }