public class RepositoryDefinition
extends java.lang.Object
Java class for RepositoryDefinition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RepositoryDefinition"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="mapping" type="{}RepositoryMapping" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <anyAttribute/> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected java.util.List<RepositoryMapping> |
mapping |
protected java.lang.String |
type |
protected java.lang.String |
url |
Constructor and Description |
---|
RepositoryDefinition() |
Modifier and Type | Method and Description |
---|---|
java.util.List<RepositoryMapping> |
getMapping()
Gets the value of the mapping property.
|
java.util.Map<javax.xml.namespace.QName,java.lang.String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
java.lang.String |
getType()
Gets the value of the type property.
|
java.lang.String |
getUrl()
Gets the value of the url property.
|
void |
setType(java.lang.String value)
Sets the value of the type property.
|
void |
setUrl(java.lang.String value)
Sets the value of the url property.
|
protected java.util.List<RepositoryMapping> mapping
protected java.lang.String type
protected java.lang.String url
public java.util.List<RepositoryMapping> getMapping()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the mapping property.
For example, to add a new item, do as follows:
getMapping().add(newItem);
Objects of the following type(s) are allowed in the list
RepositoryMapping
public java.lang.String getType()
String
public void setType(java.lang.String value)
value
- allowed object is
String
public java.lang.String getUrl()
String
public void setUrl(java.lang.String value)
value
- allowed object is
String
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.