001 //
002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs
003 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004 // Any modifications to this file will be lost upon recompilation of the source schema.
005 // Generated on: 2010.06.22 at 04:14:56 PM EDT
006 //
007
008
009 package org.apache.geronimo.system.plugin.model;
010
011 import java.io.Serializable;
012 import javax.xml.bind.annotation.XmlAccessType;
013 import javax.xml.bind.annotation.XmlAccessorType;
014 import javax.xml.bind.annotation.XmlAttribute;
015 import javax.xml.bind.annotation.XmlType;
016 import javax.xml.bind.annotation.XmlValue;
017 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
018 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
019
020
021 /**
022 *
023 * The name of a file in the plugin archive that should be copied into
024 * the server installation tree somewhere when the plugin is installed.
025 * There may be a path component (relative to the root of the plugin
026 * archive), though that will not be used to construct the destination
027 * location. For example:
028 *
029 *
030 * <pre>
031 * <?xml version="1.0" encoding="UTF-8"?><copy-file xmlns:atts="http://geronimo.apache.org/xml/ns/attributes-1.2" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:list="http://geronimo.apache.org/xml/ns/plugins-1.3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xs="http://www.w3.org/2001/XMLSchema" dest-dir="var/security/keystores" relative-to="server">
032
033 * resources/keystores/my-keystore
034
035 * </copy-file>
036 * </pre>
037 *
038 *
039 * This will copy the file resources/keystores/my-keystore to e.g.
040 * var/security/keystores/my-keystore
041 *
042 *
043 * <p>Java class for copy-fileType complex type.
044 *
045 * <p>The following schema fragment specifies the expected content contained within this class.
046 *
047 * <pre>
048 * <complexType name="copy-fileType">
049 * <simpleContent>
050 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
051 * <attribute name="dest-dir" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
052 * <attribute name="relative-to" use="required">
053 * <simpleType>
054 * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
055 * <enumeration value="geronimo"/>
056 * <enumeration value="server"/>
057 * </restriction>
058 * </simpleType>
059 * </attribute>
060 * </extension>
061 * </simpleContent>
062 * </complexType>
063 * </pre>
064 *
065 *
066 */
067 @XmlAccessorType(XmlAccessType.FIELD)
068 @XmlType(name = "copy-fileType", propOrder = {
069 "value"
070 })
071 public class CopyFileType
072 implements Serializable
073 {
074
075 private final static long serialVersionUID = 12343L;
076 @XmlValue
077 protected String value;
078 @XmlAttribute(name = "dest-dir", required = true)
079 protected String destDir;
080 @XmlAttribute(name = "relative-to", required = true)
081 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
082 protected String relativeTo;
083
084 /**
085 * Gets the value of the value property.
086 *
087 * @return
088 * possible object is
089 * {@link String }
090 *
091 */
092 public String getValue() {
093 return value;
094 }
095
096 /**
097 * Sets the value of the value property.
098 *
099 * @param value
100 * allowed object is
101 * {@link String }
102 *
103 */
104 public void setValue(String value) {
105 this.value = value;
106 }
107
108 /**
109 * Gets the value of the destDir property.
110 *
111 * @return
112 * possible object is
113 * {@link String }
114 *
115 */
116 public String getDestDir() {
117 return destDir;
118 }
119
120 /**
121 * Sets the value of the destDir property.
122 *
123 * @param value
124 * allowed object is
125 * {@link String }
126 *
127 */
128 public void setDestDir(String value) {
129 this.destDir = value;
130 }
131
132 /**
133 * Gets the value of the relativeTo property.
134 *
135 * @return
136 * possible object is
137 * {@link String }
138 *
139 */
140 public String getRelativeTo() {
141 return relativeTo;
142 }
143
144 /**
145 * Sets the value of the relativeTo property.
146 *
147 * @param value
148 * allowed object is
149 * {@link String }
150 *
151 */
152 public void setRelativeTo(String value) {
153 this.relativeTo = value;
154 }
155
156 }