/*
* The contents of this file are subject to the
* Mozilla Public License Version 1.1 (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.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
* See the License for the specific language governing rights and
* limitations under the License.
*
* The Initial Developer of the Original Code is Simulacra Media Ltd.
* Portions created by Simulacra Media Ltd are Copyright (C) Simulacra Media Ltd, 2004.
*
* All Rights Reserved.
*
* Contributor(s):
*/
package org.openharmonise.him.editors.report.rqom;
/**
* User object for report query object model.
*
* @author Matthew Large
* @version $Revision: 1.1 $
*
*/
public class User {
private ReportQuery m_reportQuery = null;
/**
* User path.
*/
private String m_sPath = null;
/**
* Constructs a new user object.
*
* @param sPath User path
*/
public User(String sPath, ReportQuery reportQuery) {
super();
this.m_sPath = sPath;
this.m_reportQuery = reportQuery;
}
/**
* Returns the user path.
*
* @return User path
*/
public String getPath() {
return this.m_sPath;
}
/**
* Sets the user path.
*
* @param sPath User path
*/
public void setPath(String sPath) {
this.m_sPath = sPath;
this.m_reportQuery.fireDataChangedMessage();
}
}
|