public class Dependency extends LocatedTreeImpl
<dependency> element contains information about a dependency
of the project.
Java class for Dependency complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Dependency">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<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"/>
<element name="classifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="scope" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="systemPath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="exclusions" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="exclusion" type="{http://maven.apache.org/POM/4.0.0}Exclusion" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="optional" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</all>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Dependency.Exclusions
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected LocatedAttribute |
artifactId |
protected LocatedAttribute |
classifier |
protected Dependency.Exclusions |
exclusions |
protected LocatedAttribute |
groupId |
protected LocatedAttribute |
optional |
protected LocatedAttribute |
scope |
protected LocatedAttribute |
systemPath |
protected LocatedAttribute |
type |
protected LocatedAttribute |
version |
endLocation, startLocation| Constructor and Description |
|---|
Dependency() |
| Modifier and Type | Method and Description |
|---|---|
LocatedAttribute |
getArtifactId()
Gets the value of the artifactId property.
|
LocatedAttribute |
getClassifier()
Gets the value of the classifier property.
|
Dependency.Exclusions |
getExclusions()
Gets the value of the exclusions property.
|
LocatedAttribute |
getGroupId()
Gets the value of the groupId property.
|
LocatedAttribute |
getOptional()
Gets the value of the optional property.
|
LocatedAttribute |
getScope()
Gets the value of the scope property.
|
LocatedAttribute |
getSystemPath()
Gets the value of the systemPath property.
|
LocatedAttribute |
getType()
Gets the value of the type property.
|
LocatedAttribute |
getVersion()
Gets the value of the version property.
|
void |
setArtifactId(LocatedAttribute value)
Sets the value of the artifactId property.
|
void |
setClassifier(LocatedAttribute value)
Sets the value of the classifier property.
|
void |
setExclusions(Dependency.Exclusions value)
Sets the value of the exclusions property.
|
void |
setGroupId(LocatedAttribute value)
Sets the value of the groupId property.
|
void |
setOptional(LocatedAttribute value)
Sets the value of the optional property.
|
void |
setScope(LocatedAttribute value)
Sets the value of the scope property.
|
void |
setSystemPath(LocatedAttribute value)
Sets the value of the systemPath property.
|
void |
setType(LocatedAttribute value)
Sets the value of the type property.
|
void |
setVersion(LocatedAttribute value)
Sets the value of the version property.
|
endLocation, setEndLocation, setStartLocation, startLocationprotected LocatedAttribute groupId
protected LocatedAttribute artifactId
protected LocatedAttribute version
protected LocatedAttribute type
protected LocatedAttribute classifier
protected LocatedAttribute scope
protected LocatedAttribute systemPath
protected Dependency.Exclusions exclusions
protected LocatedAttribute optional
public LocatedAttribute getGroupId()
Stringpublic void setGroupId(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getArtifactId()
Stringpublic void setArtifactId(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getVersion()
Stringpublic void setVersion(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getType()
Stringpublic void setType(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getClassifier()
Stringpublic void setClassifier(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getScope()
Stringpublic void setScope(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getSystemPath()
Stringpublic void setSystemPath(LocatedAttribute value)
value - allowed object is
Stringpublic Dependency.Exclusions getExclusions()
Dependency.Exclusionspublic void setExclusions(Dependency.Exclusions value)
value - allowed object is
Dependency.Exclusionspublic LocatedAttribute getOptional()
Stringpublic void setOptional(LocatedAttribute value)
value - allowed object is
StringCopyright © 2012–2016 SonarSource. All rights reserved.