package gen.core.project; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * Directory mapping to repository. Local and Repository attributes can be directory and files. In * case of directory it should be ended by '/' * * <p>Java class for RepositoryMapping complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="RepositoryMapping"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="excludes" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="includes" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * <attribute name="local" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="repository" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "RepositoryMapping", propOrder = { "excludes", "includes" }) public class RepositoryMapping { protected List<String> excludes; protected List<String> includes; @XmlAttribute(name = "local", required = true) protected String local; @XmlAttribute(name = "repository", required = true) protected String repository; /** * Gets the value of the excludes property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the excludes property. * * <p> * For example, to add a new item, do as follows: * <pre> * getExcludes().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getExcludes() { if (excludes == null) { excludes = new ArrayList<String>(); } return this.excludes; } /** * Gets the value of the includes property. * * <p> * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a <CODE>set</CODE> method for the includes property. * * <p> * For example, to add a new item, do as follows: * <pre> * getIncludes().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link String } * * */ public List<String> getIncludes() { if (includes == null) { includes = new ArrayList<String>(); } return this.includes; } /** * Gets the value of the local property. * * @return * possible object is * {@link String } * */ public String getLocal() { return local; } /** * Sets the value of the local property. * * @param value * allowed object is * {@link String } * */ public void setLocal(String value) { this.local = value; } /** * Gets the value of the repository property. * * @return * possible object is * {@link String } * */ public String getRepository() { return repository; } /** * Sets the value of the repository property. * * @param value * allowed object is * {@link String } * */ public void setRepository(String value) { this.repository = value; } }