ij-16.png   inspectorJ -- JavaTM Profiler
sf project site browse source checkout source
SourceForge.net Logo



src/inspectorj/model/javamethod.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   inspectorJ - java profiler                                            *
00003  *   Copyright (C) 2007 by James May
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 
00027 #include "inspectorj/model/javamethod.h"
00028 
00029 namespace inspectorj {
00030 namespace model {
00031 
00032 JavaMethod::JavaMethod()
00033 {
00034 }
00035 
00036 
00037 JavaMethod::~JavaMethod()
00038 {
00039 }
00040 
00045 void JavaMethod::setJNIMethodSignature(QString signature)
00046 {
00047     this->jniMethodSignature = signature;
00048 }
00049 
00050 
00055 void JavaMethod::setMethodName(QString name)
00056 {
00057     this->methodName = name;
00058 }
00059 
00060 
00065 void JavaMethod::setMethodSignature(QString signature)
00066 {
00067     this->methodSignature = signature;
00068 }
00069 
00070 
00076 void JavaMethod::setModBits(qint32 modbits)
00077 {
00078     this->modBits = modbits;
00079 }
00080 
00084 MethodID& JavaMethod::getMethodId()
00085 {
00086     return this->methodId;
00087 }
00088 
00089 
00093 QString& JavaMethod::getJNIMethodSignature()
00094 {
00095     return this->jniMethodSignature;
00096 }
00097 
00098 
00102 QString& JavaMethod::getMethodName()
00103 {
00104     return this->methodName;
00105 }
00106 
00107 
00111 QString& JavaMethod::getMethodSignature()
00112 {
00113     return this->methodSignature;
00114 }
00115 
00116 
00120 qint32& JavaMethod::getModBits()
00121 {
00122     return this->modBits;
00123 }
00124 
00125 
00130 void JavaMethod::setMethodId(MethodID id)
00131 {
00132     this->methodId.value = id.value;
00133 }
00134 
00135 } // end namespace model
00136 } // end namespace inspectorj

Generated on Sun Aug 19 17:07:54 2007 for inspectorJ by  doxygen 1.5.1