001    package org.kuali.maven.plugins.graph.dot;
002    
003    import java.io.File;
004    import java.util.Collection;
005    import java.util.List;
006    
007    import org.apache.maven.artifact.Artifact;
008    import org.apache.maven.artifact.handler.ArtifactHandler;
009    import org.apache.maven.artifact.metadata.ArtifactMetadata;
010    import org.apache.maven.artifact.repository.ArtifactRepository;
011    import org.apache.maven.artifact.resolver.filter.ArtifactFilter;
012    import org.apache.maven.artifact.versioning.ArtifactVersion;
013    import org.apache.maven.artifact.versioning.OverConstrainedVersionException;
014    import org.apache.maven.artifact.versioning.VersionRange;
015    
016    public class DefaultArtifact implements Artifact {
017    
018        String groupId;
019        String artifactId;
020        String classifier;
021        String version;
022        String type;
023        String scope;
024    
025        @Override
026        public String getGroupId() {
027            return groupId;
028        }
029    
030        @Override
031        public void setGroupId(String groupId) {
032            this.groupId = groupId;
033        }
034    
035        @Override
036        public String getArtifactId() {
037            return artifactId;
038        }
039    
040        @Override
041        public void setArtifactId(String artifactId) {
042            this.artifactId = artifactId;
043        }
044    
045        @Override
046        public String getClassifier() {
047            return classifier;
048        }
049    
050        public void setClassifier(String classifier) {
051            this.classifier = classifier;
052        }
053    
054        @Override
055        public String getVersion() {
056            return version;
057        }
058    
059        @Override
060        public void setVersion(String version) {
061            this.version = version;
062        }
063    
064        @Override
065        public String getType() {
066            return type;
067        }
068    
069        public void setType(String type) {
070            this.type = type;
071        }
072    
073        @Override
074        public String getScope() {
075            return scope;
076        }
077    
078        @Override
079        public void setScope(String scope) {
080            this.scope = scope;
081        }
082    
083        @Override
084        public int compareTo(Object o) {
085    
086            return 0;
087        }
088    
089        @Override
090        public boolean hasClassifier() {
091    
092            return false;
093        }
094    
095        @Override
096        public File getFile() {
097    
098            return null;
099        }
100    
101        @Override
102        public void setFile(File destination) {
103    
104        }
105    
106        @Override
107        public String getBaseVersion() {
108    
109            return null;
110        }
111    
112        @Override
113        public void setBaseVersion(String baseVersion) {
114    
115        }
116    
117        @Override
118        public String getId() {
119    
120            return null;
121        }
122    
123        @Override
124        public String getDependencyConflictId() {
125    
126            return null;
127        }
128    
129        @Override
130        public void addMetadata(ArtifactMetadata metadata) {
131    
132        }
133    
134        @Override
135        public Collection<?> getMetadataList() {
136    
137            return null;
138        }
139    
140        @Override
141        public void setRepository(ArtifactRepository remoteRepository) {
142    
143        }
144    
145        @Override
146        public ArtifactRepository getRepository() {
147    
148            return null;
149        }
150    
151        @Override
152        public void updateVersion(String version, ArtifactRepository localRepository) {
153    
154        }
155    
156        @Override
157        public String getDownloadUrl() {
158    
159            return null;
160        }
161    
162        @Override
163        public void setDownloadUrl(String downloadUrl) {
164    
165        }
166    
167        @Override
168        public ArtifactFilter getDependencyFilter() {
169    
170            return null;
171        }
172    
173        @Override
174        public void setDependencyFilter(ArtifactFilter artifactFilter) {
175    
176        }
177    
178        @Override
179        public ArtifactHandler getArtifactHandler() {
180    
181            return null;
182        }
183    
184        @Override
185        public List<?> getDependencyTrail() {
186    
187            return null;
188        }
189    
190        @SuppressWarnings("rawtypes")
191        @Override
192        public void setDependencyTrail(List dependencyTrail) {
193    
194        }
195    
196        @Override
197        public VersionRange getVersionRange() {
198    
199            return null;
200        }
201    
202        @Override
203        public void setVersionRange(VersionRange newRange) {
204    
205        }
206    
207        @Override
208        public void selectVersion(String version) {
209    
210        }
211    
212        @Override
213        public boolean isSnapshot() {
214    
215            return false;
216        }
217    
218        @Override
219        public void setResolved(boolean resolved) {
220    
221        }
222    
223        @Override
224        public boolean isResolved() {
225    
226            return false;
227        }
228    
229        @Override
230        public void setResolvedVersion(String version) {
231    
232        }
233    
234        @Override
235        public void setArtifactHandler(ArtifactHandler handler) {
236    
237        }
238    
239        @Override
240        public boolean isRelease() {
241    
242            return false;
243        }
244    
245        @Override
246        public void setRelease(boolean release) {
247    
248        }
249    
250        @Override
251        public List<?> getAvailableVersions() {
252    
253            return null;
254        }
255    
256        @SuppressWarnings("rawtypes")
257        @Override
258        public void setAvailableVersions(List versions) {
259    
260        }
261    
262        @Override
263        public boolean isOptional() {
264    
265            return false;
266        }
267    
268        @Override
269        public void setOptional(boolean optional) {
270    
271        }
272    
273        @Override
274        public ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException {
275    
276            return null;
277        }
278    
279        @Override
280        public boolean isSelectedVersionKnown() throws OverConstrainedVersionException {
281    
282            return false;
283        }
284    }