PageRenderTime 42ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
Java | 74 lines | 39 code | 13 blank | 22 comment | 0 complexity | ec679ae2ee79082752e27bcb402abc0b 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. * ModuleDescription.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. import java.util.List;
  22. /**
  23. * @author robmckinnon at users.sourceforge.net
  24. */
  25. public class ModuleDescription extends Description {
  26. private List<Attribute> attributes;
  27. private List<Constant> constants;
  28. private List<IncludedModule> includes;
  29. private List<MethodDescription> classMethods;
  30. private List<MethodDescription> instanceMethods;
  31. public final List<Attribute> getAttributes() {
  32. return attributes;
  33. }
  34. public final void setAttributes(List<Attribute> attributes) {
  35. this.attributes = attributes;
  36. }
  37. public final List<Constant> getConstants() {
  38. return constants;
  39. }
  40. public final void setConstants(List<Constant> constants) {
  41. this.constants = constants;
  42. }
  43. public final List<IncludedModule> getIncludes() {
  44. return includes;
  45. }
  46. public final void setIncludes(List<IncludedModule> includes) {
  47. this.includes = includes;
  48. }
  49. public final List<MethodDescription> getClassMethods() {
  50. return classMethods;
  51. }
  52. public final void setClassMethods(List<MethodDescription> classMethods) {
  53. this.classMethods = classMethods;
  54. }
  55. public final List<MethodDescription> getInstanceMethods() {
  56. return instanceMethods;
  57. }
  58. public final void setInstanceMethods(List<MethodDescription> instanceMethods) {
  59. this.instanceMethods = instanceMethods;
  60. }
  61. }