|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.system.plugin.model.ArtifactType
public class ArtifactType
Refers to either another module running in the server, or
an entry in the server's Repository. In either case this effectively uses a
URI.
When this is pointing to a repository entry, the URI must have a form
acceptable to the repository, which is currently a URI consisting of
Maven-style identifiers separated by slashes (groupId/artifactId/version/type,
for example, the URI "postgresql/postgresql-8.0-jdbc/313/jar" for a file like
"repository/postgresql/postgresql-8.0-jdbc-313.jar").
When this is pointing to a module, the URI should match the
module's moduleId. This also looks
like a Maven-style URI discussed above.
The artifactType element can take either a straight URI (as in the examples
above), or maven-style identifier fragments (groupId, type, artifactId, and
version), which it will compose into a URI by adding up the fragments with
slashes in between.
There is a correspondence between the xml format and a URI. For example, the URI
postgresql/postgresql-8.0-jdbc/313/jar
corresponds to the xml:
Java class for artifactType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="artifactType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
artifactId
|
protected String |
groupId
|
protected String |
type
|
protected String |
version
|
| Constructor Summary | |
|---|---|
ArtifactType()
|
|
| Method Summary | |
|---|---|
String |
getArtifactId()
Gets the value of the artifactId property. |
String |
getGroupId()
Gets the value of the groupId property. |
String |
getType()
Gets the value of the type property. |
String |
getVersion()
Gets the value of the version property. |
void |
setArtifactId(String value)
Sets the value of the artifactId property. |
void |
setGroupId(String value)
Sets the value of the groupId property. |
void |
setType(String value)
Sets the value of the type property. |
void |
setVersion(String value)
Sets the value of the version property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String groupId
protected String artifactId
protected String version
protected String type
| Constructor Detail |
|---|
public ArtifactType()
| Method Detail |
|---|
public String getGroupId()
Stringpublic void setGroupId(String value)
value - allowed object is
Stringpublic String getArtifactId()
Stringpublic void setArtifactId(String value)
value - allowed object is
Stringpublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||