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: 2008.10.21 at 09:24:54 AM 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 * resources/keystores/my-keystore
033 * </copy-file>
034 * </pre>
035 *
036 *
037 * This will copy the file resources/keystores/my-keystore to e.g.
038 * var/security/keystores/my-keystore
039 *
040 *
041 * <p>Java class for copy-fileType complex type.
042 *
043 * <p>The following schema fragment specifies the expected content contained within this class.
044 *
045 * <pre>
046 * <complexType name="copy-fileType">
047 * <simpleContent>
048 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
049 * <attribute name="dest-dir" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
050 * <attribute name="relative-to" use="required">
051 * <simpleType>
052 * <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
053 * <enumeration value="geronimo"/>
054 * <enumeration value="server"/>
055 * </restriction>
056 * </simpleType>
057 * </attribute>
058 * </extension>
059 * </simpleContent>
060 * </complexType>
061 * </pre>
062 *
063 *
064 */
065 @XmlAccessorType(XmlAccessType.FIELD)
066 @XmlType(name = "copy-fileType", propOrder = {
067 "value"
068 })
069 public class CopyFileType
070 implements Serializable
071 {
072
073 private final static long serialVersionUID = 12343L;
074 @XmlValue
075 protected String value;
076 @XmlAttribute(name = "dest-dir", required = true)
077 protected String destDir;
078 @XmlAttribute(name = "relative-to", required = true)
079 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
080 protected String relativeTo;
081
082 /**
083 * Gets the value of the value property.
084 *
085 * @return
086 * possible object is
087 * {@link String }
088 *
089 */
090 public String getValue() {
091 return value;
092 }
093
094 /**
095 * Sets the value of the value property.
096 *
097 * @param value
098 * allowed object is
099 * {@link String }
100 *
101 */
102 public void setValue(String value) {
103 this.value = value;
104 }
105
106 /**
107 * Gets the value of the destDir property.
108 *
109 * @return
110 * possible object is
111 * {@link String }
112 *
113 */
114 public String getDestDir() {
115 return destDir;
116 }
117
118 /**
119 * Sets the value of the destDir property.
120 *
121 * @param value
122 * allowed object is
123 * {@link String }
124 *
125 */
126 public void setDestDir(String value) {
127 this.destDir = value;
128 }
129
130 /**
131 * Gets the value of the relativeTo property.
132 *
133 * @return
134 * possible object is
135 * {@link String }
136 *
137 */
138 public String getRelativeTo() {
139 return relativeTo;
140 }
141
142 /**
143 * Sets the value of the relativeTo property.
144 *
145 * @param value
146 * allowed object is
147 * {@link String }
148 *
149 */
150 public void setRelativeTo(String value) {
151 this.relativeTo = value;
152 }
153
154 }