org.hudsonci.maven.model
Class InvocationDTO.Method

java.lang.Object
  extended by org.hudsonci.maven.model.InvocationDTO.Method
All Implemented Interfaces:
Serializable
Enclosing class:
InvocationDTO

@Generated(value="XJC hudson-jaxb-ri-2.1-2",
           date="2011-12-06T19:15:37")
public static class InvocationDTO.Method
extends Object
implements Serializable

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String name
           
protected  List<String> types
           
 
Constructor Summary
InvocationDTO.Method()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          Gets the value of the name property.
 List<String> getTypes()
          Gets the value of the types property.
 int hashCode()
           
 void setName(String value)
          Sets the value of the name property.
 InvocationDTO.Method withName(String value)
           
 InvocationDTO.Method withTypes(Collection<String> values)
           
 InvocationDTO.Method withTypes(String... values)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

types

protected List<String> types

name

@XStreamAsAttribute
protected String name
Constructor Detail

InvocationDTO.Method

public InvocationDTO.Method()
Method Detail

getTypes

public List<String> getTypes()
Gets the value of the types 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 types property.

For example, to add a new item, do as follows:

    getTypes().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

withTypes

public InvocationDTO.Method withTypes(String... values)

withTypes

public InvocationDTO.Method withTypes(Collection<String> values)

withName

public InvocationDTO.Method withName(String value)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2011 Hudson. All Rights Reserved.