001
014
015 package com.liferay.portal.kernel.sourceformatter;
016
017 import java.util.List;
018
019
022 public class JavaTerm {
023
024 public JavaTerm(
025 String name, int type, List<String> parameterTypes, String content,
026 int lineCount) {
027
028 _name = name;
029 _type = type;
030 _parameterTypes = parameterTypes;
031 _content = content;
032 _lineCount = lineCount;
033 }
034
035 public String getContent() {
036 return _content;
037 }
038
039 public int getLineCount() {
040 return _lineCount;
041 }
042
043 public String getName() {
044 return _name;
045 }
046
047 public List<String> getParameterTypes() {
048 return _parameterTypes;
049 }
050
051 public int getType() {
052 return _type;
053 }
054
055 public void setContent(String content) {
056 _content = content;
057 }
058
059 public void setLineCount(int lineCount) {
060 _lineCount = lineCount;
061 }
062
063 public void setName(String name) {
064 _name = name;
065 }
066
067 public void setParameterTypes(List<String> parameterTypes) {
068 _parameterTypes = parameterTypes;
069 }
070
071 public void setType(int type) {
072 _type = type;
073 }
074
075 private String _content;
076 private int _lineCount;
077 private String _name;
078 private List<String> _parameterTypes;
079 private int _type;
080
081 }