|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.maven.model.config.DocumentDTO
@Generated(value="XJC hudson-jaxb-ri-2.1-2",
date="2011-12-06T19:15:37")
public class DocumentDTO
Java class for document complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="document">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="content" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="attribute" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}documentAttribute" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" use="required" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}documentType" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<DocumentAttributeDTO> |
attributes
|
protected String |
content
|
protected String |
description
|
protected String |
id
|
protected String |
name
|
protected DocumentTypeDTO |
type
|
| Constructor Summary | |
|---|---|
DocumentDTO()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Object |
getAttribute(Object name)
|
List<DocumentAttributeDTO> |
getAttributes()
Gets the value of the attributes property. |
String |
getContent()
Gets the value of the content property. |
String |
getDescription()
Gets the value of the description property. |
String |
getId()
Gets the value of the id property. |
String |
getName()
Gets the value of the name property. |
DocumentTypeDTO |
getType()
Gets the value of the type property. |
int |
hashCode()
|
void |
setAttribute(Object name,
Object value)
|
void |
setContent(String value)
Sets the value of the content property. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setType(DocumentTypeDTO value)
Sets the value of the type property. |
String |
toString()
|
DocumentDTO |
withAttribute(Object name,
Object value)
|
DocumentDTO |
withAttributes(Collection<DocumentAttributeDTO> values)
|
DocumentDTO |
withAttributes(DocumentAttributeDTO... values)
|
DocumentDTO |
withContent(String value)
|
DocumentDTO |
withDescription(String value)
|
DocumentDTO |
withId(String value)
|
DocumentDTO |
withName(String value)
|
DocumentDTO |
withType(DocumentTypeDTO value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String description
protected String content
protected List<DocumentAttributeDTO> attributes
@XStreamAsAttribute protected String id
@XStreamAsAttribute protected String name
@XStreamAsAttribute protected DocumentTypeDTO type
| Constructor Detail |
|---|
public DocumentDTO()
| Method Detail |
|---|
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getContent()
Stringpublic void setContent(String value)
value - allowed object is
Stringpublic List<DocumentAttributeDTO> getAttributes()
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 attributes property.
For example, to add a new item, do as follows:
getAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
DocumentAttributeDTO
public String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic DocumentTypeDTO getType()
DocumentTypeDTOpublic void setType(DocumentTypeDTO value)
value - allowed object is
DocumentTypeDTOpublic DocumentDTO withDescription(String value)
public DocumentDTO withContent(String value)
public DocumentDTO withAttributes(DocumentAttributeDTO... values)
public DocumentDTO withAttributes(Collection<DocumentAttributeDTO> values)
public DocumentDTO withId(String value)
public DocumentDTO withName(String value)
public DocumentDTO withType(DocumentTypeDTO value)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
public void setAttribute(Object name,
Object value)
public DocumentDTO withAttribute(Object name,
Object value)
public Object getAttribute(Object name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||