1package org.apache.archiva.rest.api.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/**26 * AdminRepositoryConsumer27 *28 *29 */30 @XmlRootElement( name = "adminRepositoryConsumer" )
31publicclassAdminRepositoryConsumer32implements Serializable
33 {
34privateboolean enabled = false;
3536private String id;
3738private String description;
3940publicAdminRepositoryConsumer()
41 {
42// no op43 }
4445publicAdminRepositoryConsumer( boolean enabled, String id, String description )
46 {
47this.enabled = enabled;
48this.id = id;
49this.description = description;
50 }
5152public String getDescription()
53 {
54return description;
55 }
5657public String getId()
58 {
59return id;
60 }
6162publicboolean isEnabled()
63 {
64return enabled;
65 }
6667publicvoid setDescription( String description )
68 {
69this.description = description;
70 }
7172publicvoid setEnabled( boolean enabled )
73 {
74this.enabled = enabled;
75 }
7677publicvoid setId( String id )
78 {
79this.id = id;
80 }
81 }