Class RepositoryDefinition
- java.lang.Object
-
- gen.core.project.RepositoryDefinition
-
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" /> <attribute name="branch" type="{http://www.w3.org/2001/XMLSchema}string" /> <anyAttribute/> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description RepositoryDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getBranch()
Gets the value of the branch property.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
setBranch(java.lang.String value)
Sets the value of the branch 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.
-
-
-
Method Detail
-
getMapping
public java.util.List<RepositoryMapping> getMapping()
Gets the value of the mapping property.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
-
getType
public java.lang.String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(java.lang.String value)
Sets the value of the type property.- Parameters:
value
- allowed object isString
-
getUrl
public java.lang.String getUrl()
Gets the value of the url property.- Returns:
- possible object is
String
-
setUrl
public void setUrl(java.lang.String value)
Sets the value of the url property.- Parameters:
value
- allowed object isString
-
getBranch
public java.lang.String getBranch()
Gets the value of the branch property.- Returns:
- possible object is
String
-
setBranch
public void setBranch(java.lang.String value)
Sets the value of the branch property.- Parameters:
value
- allowed object isString
-
getOtherAttributes
public 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.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.
- Returns:
- always non-null
-
-