org.hudsonci.maven.model.state
Class MavenProjectDTO

java.lang.Object
  extended by org.hudsonci.maven.model.state.MavenProjectDTO
All Implemented Interfaces:
Serializable

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

Java class for mavenProject complex type.

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

 <complexType name="mavenProject">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="coordinates" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/common}mavenCoordinates"/>
         <element name="profile" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/state}profile" maxOccurs="unbounded"/>
         <element name="buildSummary" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/state}buildSummary"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  BuildSummaryDTO buildSummary
           
protected  MavenCoordinatesDTO coordinates
           
protected  String name
           
protected  List<ProfileDTO> profiles
           
 
Constructor Summary
MavenProjectDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 BuildSummaryDTO getBuildSummary()
          Gets the value of the buildSummary property.
 MavenCoordinatesDTO getCoordinates()
          Gets the value of the coordinates property.
 String getId()
           
 String getName()
          Gets the value of the name property.
 List<ProfileDTO> getProfiles()
          Gets the value of the profiles property.
 int hashCode()
           
 void setBuildSummary(BuildSummaryDTO value)
          Sets the value of the buildSummary property.
 void setCoordinates(MavenCoordinatesDTO value)
          Sets the value of the coordinates property.
 void setName(String value)
          Sets the value of the name property.
 MavenProjectDTO withBuildSummary(BuildSummaryDTO value)
           
 MavenProjectDTO withCoordinates(MavenCoordinatesDTO value)
           
 MavenProjectDTO withName(String value)
           
 MavenProjectDTO withProfiles(Collection<ProfileDTO> values)
           
 MavenProjectDTO withProfiles(ProfileDTO... values)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

coordinates

protected MavenCoordinatesDTO coordinates

profiles

protected List<ProfileDTO> profiles

buildSummary

protected BuildSummaryDTO buildSummary

name

@XStreamAsAttribute
protected String name
Constructor Detail

MavenProjectDTO

public MavenProjectDTO()
Method Detail

getCoordinates

public MavenCoordinatesDTO getCoordinates()
Gets the value of the coordinates property.

Returns:
possible object is MavenCoordinatesDTO

setCoordinates

public void setCoordinates(MavenCoordinatesDTO value)
Sets the value of the coordinates property.

Parameters:
value - allowed object is MavenCoordinatesDTO

getProfiles

public List<ProfileDTO> getProfiles()
Gets the value of the profiles 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 profiles property.

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

    getProfiles().add(newItem);
 

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


getBuildSummary

public BuildSummaryDTO getBuildSummary()
Gets the value of the buildSummary property.

Returns:
possible object is BuildSummaryDTO

setBuildSummary

public void setBuildSummary(BuildSummaryDTO value)
Sets the value of the buildSummary property.

Parameters:
value - allowed object is BuildSummaryDTO

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

withCoordinates

public MavenProjectDTO withCoordinates(MavenCoordinatesDTO value)

withProfiles

public MavenProjectDTO withProfiles(ProfileDTO... values)

withProfiles

public MavenProjectDTO withProfiles(Collection<ProfileDTO> values)

withBuildSummary

public MavenProjectDTO withBuildSummary(BuildSummaryDTO value)

withName

public MavenProjectDTO withName(String value)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getId

public String getId()


Copyright © 2004-2011 Hudson. All Rights Reserved.