/v3.2/nimbits-tds/src/com/nimbits/client/model/setting/SettingModel.java

http://nimbits-server.googlecode.com/ · Java · 40 lines · 17 code · 5 blank · 18 comment · 0 complexity · 43e0c2b854b8017b9780b6e724c5605e MD5 · raw file

  1. /*
  2. * Copyright (c) 2010 Tonic Solutions LLC.
  3. *
  4. * http://www.nimbits.com
  5. *
  6. *
  7. * Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
  8. *
  9. * http://www.gnu.org/licenses/gpl.html
  10. *
  11. * Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
  12. */
  13. package com.nimbits.client.model.setting;
  14. /**
  15. * Created by Benjamin Sautner
  16. * User: benjamin
  17. * Date: 5/5/11
  18. * Time: 3:41 PM
  19. */
  20. public class SettingModel implements Setting {
  21. private final String name;
  22. private final String value;
  23. public SettingModel(final String name, final String value) {
  24. this.name = name;
  25. this.value = value;
  26. }
  27. @Override
  28. public String getName() {
  29. return name;
  30. }
  31. @Override
  32. public String getValue() {
  33. return value;
  34. }
  35. }