View Javadoc

1   /**
2    * Copyright 2010-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.common.util;
17  
18  import java.util.List;
19  import java.util.Properties;
20  
21  public class Project {
22  
23  	// org.kuali
24  	String orgId;
25  
26  	// org/kuali
27  	String orgPath;
28  
29  	// kuali
30  	String orgCode;
31  
32  	// org.kuali.student.web
33  	String groupId;
34  
35  	// org.kuali.student
36  	String groupIdBase;
37  
38  	// student
39  	String groupCode;
40  
41  	// ks-with-rice-bundled
42  	String artifactId;
43  
44  	// 2.0.0
45  	String version;
46  
47  	// Optional - typically "webapp" or something similar
48  	String classifier;
49  
50  	// KS with Rice Bundled
51  	String name;
52  
53  	// Kuali Student bundled as a completely standalone application that includes Kuali Rice bundled inside
54  	String description;
55  
56  	// UTF-8
57  	String encoding;
58  
59  	// Jar, war
60  	String packaging;
61  
62  	// Allow for storage of miscellaneous other properties related to the project
63  	Properties properties;
64  
65  	// These are just the dependencies declared directly in the pom, nothing inherited, nothing transitive
66  	List<Dependency> dependencies;
67  
68  	public String getOrgId() {
69  		return orgId;
70  	}
71  
72  	public void setOrgId(String orgId) {
73  		this.orgId = orgId;
74  	}
75  
76  	public String getOrgCode() {
77  		return orgCode;
78  	}
79  
80  	public void setOrgCode(String orgCode) {
81  		this.orgCode = orgCode;
82  	}
83  
84  	public String getGroupId() {
85  		return groupId;
86  	}
87  
88  	public void setGroupId(String groupId) {
89  		this.groupId = groupId;
90  	}
91  
92  	public String getGroupIdBase() {
93  		return groupIdBase;
94  	}
95  
96  	public void setGroupIdBase(String groupIdBase) {
97  		this.groupIdBase = groupIdBase;
98  	}
99  
100 	public String getGroupCode() {
101 		return groupCode;
102 	}
103 
104 	public void setGroupCode(String groupCode) {
105 		this.groupCode = groupCode;
106 	}
107 
108 	public String getArtifactId() {
109 		return artifactId;
110 	}
111 
112 	public void setArtifactId(String artifactId) {
113 		this.artifactId = artifactId;
114 	}
115 
116 	public String getVersion() {
117 		return version;
118 	}
119 
120 	public void setVersion(String version) {
121 		this.version = version;
122 	}
123 
124 	public String getName() {
125 		return name;
126 	}
127 
128 	public void setName(String name) {
129 		this.name = name;
130 	}
131 
132 	public String getDescription() {
133 		return description;
134 	}
135 
136 	public void setDescription(String description) {
137 		this.description = description;
138 	}
139 
140 	public String getEncoding() {
141 		return encoding;
142 	}
143 
144 	public void setEncoding(String encoding) {
145 		this.encoding = encoding;
146 	}
147 
148 	public String getOrgPath() {
149 		return orgPath;
150 	}
151 
152 	public void setOrgPath(String orgPath) {
153 		this.orgPath = orgPath;
154 	}
155 
156 	public String getClassifier() {
157 		return classifier;
158 	}
159 
160 	public void setClassifier(String classifier) {
161 		this.classifier = classifier;
162 	}
163 
164 	public String getPackaging() {
165 		return packaging;
166 	}
167 
168 	public void setPackaging(String packaging) {
169 		this.packaging = packaging;
170 	}
171 
172 	public Properties getProperties() {
173 		return properties;
174 	}
175 
176 	public void setProperties(Properties properties) {
177 		this.properties = properties;
178 	}
179 
180 	public List<Dependency> getDependencies() {
181 		return dependencies;
182 	}
183 
184 	public void setDependencies(List<Dependency> dependencies) {
185 		this.dependencies = dependencies;
186 	}
187 
188 }