ffead.server.doc
Aspect.cpp
1 /*
2  Copyright 2009-2012, Sumeet Chhetri
3 
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License.
6  You may obtain a copy of the License at
7 
8  http://www.apache.org/licenses/LICENSE-2.0
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 */
16 /*
17  * Aspect.cpp
18  *
19  * Created on: Oct 17, 2009
20  * Author: sumeet
21  */
22 
23 #include "Aspect.h"
24 
25 Aspect::Aspect() {
26  // TODO Auto-generated constructor stub
27 
28 }
29 
30 Aspect::~Aspect() {
31  // TODO Auto-generated destructor stub
32 }
33 
34 string Aspect::getMethodName() const
35 {
36  return methodName;
37 }
38 
39 void Aspect::setMethodName(string methodName)
40 {
41  this->methodName = methodName;
42 }
43 
44 string Aspect::getReturnType() const
45 {
46  return returnType;
47 }
48 
49 void Aspect::setReturnType(string returnType)
50 {
51  this->returnType = returnType;
52 }
53 
54 args Aspect::getArgumentTypes() const
55 {
56  return argumentTypes;
57 }
58 
59 void Aspect::setArgumentTypes(args argumentTypes)
60 {
61  this->argumentTypes = argumentTypes;
62 }
63 
64 void Aspect::clear()
65 {
66  strict="";
67  className="";
68  when="";
69  code="";
70  methodName="";
71  returnType="";
72  argumentTypes.clear();
73 }
74 string Aspect::getStrict() const
75 {
76  return strict;
77 }
78 
79 void Aspect::setStrict(string strict)
80 {
81  this->strict = strict;
82 }
83 
84 string Aspect::getClassName() const
85 {
86  return className;
87 }
88 
89 void Aspect::setClassName(string className)
90 {
91  this->className = className;
92 }
93 
94 string Aspect::getWhen() const
95 {
96  return when;
97 }
98 
99 void Aspect::setWhen(string when)
100 {
101  this->when = when;
102 }
103 
104 string Aspect::getCode() const
105 {
106  return code;
107 }
108 
109 void Aspect::setCode(string code)
110 {
111  this->code = code;
112 }
113 
114 string Aspect::getArguTypes() const
115 {
116  return arguTypes;
117 }
118 
119 void Aspect::setArguTypes(string arguTypes)
120 {
121  this->arguTypes = arguTypes;
122 }