1package org.apache.archiva.metadata.model;
23/*4 * Licensed to the Apache Software Foundation (ASF) under one5 * or more contributor license agreements. See the NOTICE file6 * distributed with this work for additional information7 * regarding copyright ownership. The ASF licenses this file8 * to you under the Apache License, Version 2.0 (the9 * "License"); you may not use this file except in compliance10 * with the License. You may obtain a copy of the License at11 *12 * http://www.apache.org/licenses/LICENSE-2.013 *14 * Unless required by applicable law or agreed to in writing,15 * software distributed under the License is distributed on an16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY17 * KIND, either express or implied. See the License for the18 * specific language governing permissions and limitations19 * under the License.20 */2122import javax.xml.bind.annotation.XmlRootElement;
23import java.io.Serializable;
2425 @XmlRootElement(name = "organization")
26publicclassOrganization27implements Serializable
28 {
29private String name;
3031private String url;
3233publicOrganization()
34 {
35// no op36 }
3738publicOrganization( String name, String url )
39 {
40this.name = name;
41this.url = url;
42 }
4344public String getUrl()
45 {
46return url;
47 }
4849publicvoid setUrl( String url )
50 {
51this.url = url;
52 }
5354public String getName()
55 {
56return name;
57 }
5859publicvoid setName( String name )
60 {
61this.name = name;
62 }
6364 @Override
65public String toString()
66 {
67return"Organization{" +
68"name='" + name + '\'' +
69", url='" + url + '\'' +
70 '}';
71 }
72 }