/* * ### * phresco-pom * * Copyright (C) 1999 - 2012 Photon Infotech Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ### */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.04.18 at 06:47:36 PM IST // package com.phresco.pom.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * Download policy * * <p>Java class for RepositoryPolicy complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="RepositoryPolicy"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <all> * <element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="updatePolicy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="checksumPolicy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </all> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "RepositoryPolicy", propOrder = { }) public class RepositoryPolicy { @XmlElement(defaultValue = "true") protected Boolean enabled; protected String updatePolicy; protected String checksumPolicy; /** * Gets the value of the enabled property. * * @return * possible object is * {@link Boolean } * */ public Boolean isEnabled() { return enabled; } /** * Sets the value of the enabled property. * * @param value * allowed object is * {@link Boolean } * */ public void setEnabled(Boolean value) { this.enabled = value; } /** * Gets the value of the updatePolicy property. * * @return * possible object is * {@link String } * */ public String getUpdatePolicy() { return updatePolicy; } /** * Sets the value of the updatePolicy property. * * @param value * allowed object is * {@link String } * */ public void setUpdatePolicy(String value) { this.updatePolicy = value; } /** * Gets the value of the checksumPolicy property. * * @return * possible object is * {@link String } * */ public String getChecksumPolicy() { return checksumPolicy; } /** * Sets the value of the checksumPolicy property. * * @param value * allowed object is * {@link String } * */ public void setChecksumPolicy(String value) { this.checksumPolicy = value; } }