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.XmlElement; 015 import javax.xml.bind.annotation.XmlType; 016 017 018 /** 019 * 020 * 021 * Refers to either another module running in the server, or 022 * an entry in the server's Repository. In either case this effectively uses a 023 * URI. 024 * 025 * When this is pointing to a repository entry, the URI must have a form 026 * acceptable to the repository, which is currently a URI consisting of 027 * Maven-style identifiers separated by slashes (groupId/artifactId/version/type, 028 * for example, the URI "postgresql/postgresql-8.0-jdbc/313/jar" for a file like 029 * "repository/postgresql/postgresql-8.0-jdbc-313.jar"). 030 * 031 * When this is pointing to a module, the URI should match the 032 * module's moduleId. This also looks 033 * like a Maven-style URI discussed above. 034 * 035 * The artifactType element can take either a straight URI (as in the examples 036 * above), or maven-style identifier fragments (groupId, type, artifactId, and 037 * version), which it will compose into a URI by adding up the fragments with 038 * slashes in between. 039 * 040 * There is a correspondence between the xml format and a URI. For example, the URI 041 * 042 * postgresql/postgresql-8.0-jdbc/313/jar 043 * 044 * corresponds to the xml: 045 * 046 * <groupId>postgresql</groupId> 047 * <artifactId>postgresql-8.0-jdbc</artifactId> 048 * <version>313</version> 049 * <type>jar</type> 050 * 051 * 052 * 053 * <p>Java class for artifactType complex type. 054 * 055 * <p>The following schema fragment specifies the expected content contained within this class. 056 * 057 * <pre> 058 * <complexType name="artifactType"> 059 * <complexContent> 060 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 061 * <sequence> 062 * <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 063 * <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string"/> 064 * <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 065 * <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 066 * </sequence> 067 * </restriction> 068 * </complexContent> 069 * </complexType> 070 * </pre> 071 * 072 * 073 */ 074 @XmlAccessorType(XmlAccessType.FIELD) 075 @XmlType(name = "artifactType", propOrder = { 076 "groupId", 077 "artifactId", 078 "version", 079 "type" 080 }) 081 public class ArtifactType 082 implements Serializable 083 { 084 085 private final static long serialVersionUID = 12343L; 086 protected String groupId; 087 @XmlElement(required = true) 088 protected String artifactId; 089 protected String version; 090 protected String type; 091 092 /** 093 * Gets the value of the groupId property. 094 * 095 * @return 096 * possible object is 097 * {@link String } 098 * 099 */ 100 public String getGroupId() { 101 return groupId; 102 } 103 104 /** 105 * Sets the value of the groupId property. 106 * 107 * @param value 108 * allowed object is 109 * {@link String } 110 * 111 */ 112 public void setGroupId(String value) { 113 this.groupId = value; 114 } 115 116 /** 117 * Gets the value of the artifactId property. 118 * 119 * @return 120 * possible object is 121 * {@link String } 122 * 123 */ 124 public String getArtifactId() { 125 return artifactId; 126 } 127 128 /** 129 * Sets the value of the artifactId property. 130 * 131 * @param value 132 * allowed object is 133 * {@link String } 134 * 135 */ 136 public void setArtifactId(String value) { 137 this.artifactId = value; 138 } 139 140 /** 141 * Gets the value of the version property. 142 * 143 * @return 144 * possible object is 145 * {@link String } 146 * 147 */ 148 public String getVersion() { 149 return version; 150 } 151 152 /** 153 * Sets the value of the version property. 154 * 155 * @param value 156 * allowed object is 157 * {@link String } 158 * 159 */ 160 public void setVersion(String value) { 161 this.version = value; 162 } 163 164 /** 165 * Gets the value of the type property. 166 * 167 * @return 168 * possible object is 169 * {@link String } 170 * 171 */ 172 public String getType() { 173 return type; 174 } 175 176 /** 177 * Sets the value of the type property. 178 * 179 * @param value 180 * allowed object is 181 * {@link String } 182 * 183 */ 184 public void setType(String value) { 185 this.type = value; 186 } 187 188 }