PageRenderTime 43ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/bundles/plugins-trunk/RubyPlugin/src/org/jedit/ruby/ri/Constant.java

#
Java | 44 lines | 17 code | 5 blank | 22 comment | 0 complexity | 2f14223e2cc6adc0c28e49499e0c82b2 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. /*
  2. * Constant.java -
  3. *
  4. * Copyright 2005 Robert McKinnon
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License
  8. * as published by the Free Software Foundation; either version 2
  9. * of the License, or any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  19. */
  20. package org.jedit.ruby.ri;
  21. /**
  22. * @author robmckinnon at users.sourceforge.net
  23. */
  24. public final class Constant extends NamedThing {
  25. private String comment;
  26. private String value;
  27. public final String getComment() {
  28. return comment;
  29. }
  30. public final void setComment(String comment) {
  31. this.comment = comment;
  32. }
  33. public final String getValue() {
  34. return value;
  35. }
  36. public final void setValue(String value) {
  37. this.value = value;
  38. }
  39. }