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



src/inspectorj/model/javafield.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/javafield.h"
00028 
00029 namespace inspectorj {
00030 namespace model {
00031 
00032 JavaField::JavaField()
00033 {
00034 }
00035 
00036 
00037 JavaField::~JavaField()
00038 {
00039 }
00040 
00041 
00045 FieldID& model::JavaField::getFieldId()
00046 {
00047     return this->fieldId;
00048 }
00049 
00050 
00054 QString& model::JavaField::getFieldName()
00055 {
00056     return this->fieldName;
00057 }
00058 
00059 
00063 QString& model::JavaField::getFieldSignature()
00064 {
00065     return this->fieldSignature;
00066 }
00067 
00068 
00072 QString& model::JavaField::getJNIFieldSignature()
00073 {
00074     return this->jniFieldSignature;
00075 }
00076 
00077 
00082 qint32& model::JavaField::getModBits()
00083 {
00084     return this->modBits;
00085 }
00086 
00087 
00092 void model::JavaField::setFieldId(FieldID id)
00093 {
00094     this->fieldId.value = id.value;
00095 }
00096 
00097 
00102 void model::JavaField::setFieldName(QString name)
00103 {
00104     this->fieldName = name;
00105 }
00106 
00107 
00112 void model::JavaField::setFieldSignature(QString signature)
00113 {
00114     this->fieldSignature = signature;
00115 }
00116 
00121 void model::JavaField::setJNIFieldSignature(QString signature)
00122 {
00123     this->jniFieldSignature = signature;
00124 }
00125 
00131 void model::JavaField::setModBits(qint32 modbits)
00132 {
00133     this->modBits = modbits;
00134 }
00135 
00136 } // end namespace model
00137 } // end namespace inspectorj

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