Class RepositoryDefinition

java.lang.Object
gen.core.project.RepositoryDefinition

public class RepositoryDefinition extends 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 Details

    • RepositoryDefinition

      public RepositoryDefinition()
  • Method Details

    • getMapping

      public 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 Jakarta XML Binding 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

      Returns:
      The value of the mapping property.
    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
    • getUrl

      public String getUrl()
      Gets the value of the url property.
      Returns:
      possible object is String
    • setUrl

      public void setUrl(String value)
      Sets the value of the url property.
      Parameters:
      value - allowed object is String
    • getBranch

      public String getBranch()
      Gets the value of the branch property.
      Returns:
      possible object is String
    • setBranch

      public void setBranch(String value)
      Sets the value of the branch property.
      Parameters:
      value - allowed object is String
    • getOtherAttributes

      public Map<QName,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