source:
other-projects/trunk/greenstone3-extension/mat/src/java/org/greenstone/gsdl3_extension/mat/servlet/costModel.java@
17365
Last change on this file since 17365 was 17365, checked in by , 16 years ago | |
---|---|
File size: 326 bytes |
Line | |
---|---|
1 | package org.greenstone.gsdl3_extension.mat.servlet; |
2 | |
3 | public class costModel { |
4 | double cost = 0; |
5 | String target =""; |
6 | |
7 | public String getString(){ |
8 | return target; |
9 | } |
10 | |
11 | public double getCost(){ |
12 | return cost; |
13 | } |
14 | |
15 | public void setCost(double arg){ |
16 | cost = arg; |
17 | } |
18 | |
19 | public void setString(String arg){ |
20 | target = arg; |
21 | } |
22 | |
23 | } |
Note:
See TracBrowser
for help on using the repository browser.