public class Repository extends LocatedTreeImpl
Java class for Repository complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Repository">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="releases" type="{http://maven.apache.org/POM/4.0.0}RepositoryPolicy" minOccurs="0"/>
<element name="snapshots" type="{http://maven.apache.org/POM/4.0.0}RepositoryPolicy" minOccurs="0"/>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="layout" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</all>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected LocatedAttribute |
id |
protected LocatedAttribute |
layout |
protected LocatedAttribute |
name |
protected RepositoryPolicy |
releases |
protected RepositoryPolicy |
snapshots |
protected LocatedAttribute |
url |
endLocation, startLocation| Constructor and Description |
|---|
Repository() |
| Modifier and Type | Method and Description |
|---|---|
LocatedAttribute |
getId()
Gets the value of the id property.
|
LocatedAttribute |
getLayout()
Gets the value of the layout property.
|
LocatedAttribute |
getName()
Gets the value of the name property.
|
RepositoryPolicy |
getReleases()
Gets the value of the releases property.
|
RepositoryPolicy |
getSnapshots()
Gets the value of the snapshots property.
|
LocatedAttribute |
getUrl()
Gets the value of the url property.
|
void |
setId(LocatedAttribute value)
Sets the value of the id property.
|
void |
setLayout(LocatedAttribute value)
Sets the value of the layout property.
|
void |
setName(LocatedAttribute value)
Sets the value of the name property.
|
void |
setReleases(RepositoryPolicy value)
Sets the value of the releases property.
|
void |
setSnapshots(RepositoryPolicy value)
Sets the value of the snapshots property.
|
void |
setUrl(LocatedAttribute value)
Sets the value of the url property.
|
endLocation, setEndLocation, setStartLocation, startLocationprotected RepositoryPolicy releases
protected RepositoryPolicy snapshots
protected LocatedAttribute id
protected LocatedAttribute name
protected LocatedAttribute url
protected LocatedAttribute layout
public RepositoryPolicy getReleases()
RepositoryPolicypublic void setReleases(RepositoryPolicy value)
value - allowed object is
RepositoryPolicypublic RepositoryPolicy getSnapshots()
RepositoryPolicypublic void setSnapshots(RepositoryPolicy value)
value - allowed object is
RepositoryPolicypublic LocatedAttribute getId()
Stringpublic void setId(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getName()
Stringpublic void setName(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getUrl()
Stringpublic void setUrl(LocatedAttribute value)
value - allowed object is
Stringpublic LocatedAttribute getLayout()
Stringpublic void setLayout(LocatedAttribute value)
value - allowed object is
StringCopyright © 2012–2016 SonarSource. All rights reserved.