org.kuali.common.impex.model.View Maven / Gradle / Ivy
package org.kuali.common.impex.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
@XmlAccessorType(XmlAccessType.PROPERTY)
public class View implements NamedElement {
protected String name;
protected String queryString;
public View() {
this(null, null);
}
public View(String n, String q) {
name = n;
queryString = q;
}
@XmlAttribute
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getQueryString() {
return queryString;
}
public void setQueryString(String queryString) {
this.queryString = queryString;
}
}