001 /** 002 * Copyright 2010 The Kuali Foundation Licensed under the 003 * Educational Community License, Version 2.0 (the "License"); you may 004 * not use this file except in compliance with the License. You may 005 * obtain a copy of the License at 006 * 007 * http://www.osedu.org/licenses/ECL-2.0 008 * 009 * Unless required by applicable law or agreed to in writing, 010 * software distributed under the License is distributed on an "AS IS" 011 * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express 012 * or implied. See the License for the specific language governing 013 * permissions and limitations under the License. 014 */ 015 016 package org.kuali.student.common.search.dto; 017 import java.io.Serializable; 018 019 import javax.xml.bind.annotation.XmlAccessType; 020 import javax.xml.bind.annotation.XmlAccessorType; 021 import javax.xml.bind.annotation.XmlElement; 022 023 024 @XmlAccessorType(XmlAccessType.FIELD) 025 public class SearchRelationship implements Serializable { 026 private static final long serialVersionUID = 1L; 027 @XmlElement 028 private TypeAttribute lhs; 029 @XmlElement 030 private TypeAttribute rhs; 031 public TypeAttribute getLhs(){ 032 return lhs; 033 } 034 public void setLhs(TypeAttribute lhs){ 035 this.lhs = lhs; 036 } 037 public TypeAttribute getRhs(){ 038 return rhs; 039 } 040 public void setRhs(TypeAttribute rhs){ 041 this.rhs = rhs; 042 } 043 }