1 package org.apache.archiva.metadata.model;
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied. See the License for the
18 * specific language governing permissions and limitations
22 import javax.xml.bind.annotation.XmlRootElement;
23 import java.util.ArrayList;
24 import java.util.List;
26 @XmlRootElement( name = "projectVersionMetadata" )
27 public class ProjectVersionMetadata
28 extends FacetedMetadata
39 private String description;
41 private Organization organization;
43 private IssueManagement issueManagement;
47 private CiManagement ciManagement;
49 private List<License> licenses = new ArrayList<License>();
51 private List<MailingList> mailingLists = new ArrayList<MailingList>();
53 private List<Dependency> dependencies = new ArrayList<Dependency>();
55 private boolean incomplete;
62 public String getVersion()
67 public void setId( String id )
72 public void setUrl( String url )
77 public void setName( String name )
82 public void setDescription( String description )
84 this.description = description;
87 public String getDescription()
92 public String getUrl()
97 public String getName()
102 public Organization getOrganization()
107 public void setOrganization( Organization organization )
109 this.organization = organization;
112 public IssueManagement getIssueManagement()
114 return issueManagement;
117 public void setIssueManagement( IssueManagement issueManagement )
119 this.issueManagement = issueManagement;
127 public void setScm( Scm scm )
132 public CiManagement getCiManagement()
137 public void setCiManagement( CiManagement ciManagement )
139 this.ciManagement = ciManagement;
142 public List<License> getLicenses()
147 public void setLicenses( List<License> licenses )
149 this.licenses = licenses;
152 public void addLicense( License license )
154 this.licenses.add( license );
157 public void setMailingLists( List<MailingList> mailingLists )
159 this.mailingLists = mailingLists;
162 public List<MailingList> getMailingLists()
167 public void addMailingList( MailingList mailingList )
169 this.mailingLists.add( mailingList );
172 public void setDependencies( List<Dependency> dependencies )
174 this.dependencies = dependencies;
177 public List<Dependency> getDependencies()
182 public void addDependency( Dependency dependency )
184 this.dependencies.add( dependency );
187 public boolean isIncomplete()
192 public void setIncomplete( boolean incomplete )
194 this.incomplete = incomplete;