|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rest.model.jaxb.LinkCollection
org.xwiki.rest.model.jaxb.Property
public class Property
Java class for Property complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Property">
<complexContent>
<extension base="{http://www.xwiki.org}LinkCollection">
<sequence>
<element name="attribute" type="{http://www.xwiki.org}Attribute" maxOccurs="unbounded" minOccurs="0"/>
<element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.util.List<Attribute> |
attributes
|
protected java.lang.String |
name
|
protected java.lang.String |
type
|
protected java.lang.String |
value
|
| Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection |
|---|
links |
| Constructor Summary | |
|---|---|
Property()
|
|
| Method Summary | |
|---|---|
java.util.List<Attribute> |
getAttributes()
Gets the value of the attributes property. |
java.lang.String |
getName()
Gets the value of the name property. |
java.lang.String |
getType()
Gets the value of the type property. |
java.lang.String |
getValue()
Gets the value of the value property. |
void |
setName(java.lang.String value)
Sets the value of the name property. |
void |
setType(java.lang.String value)
Sets the value of the type property. |
void |
setValue(java.lang.String value)
Sets the value of the value property. |
Property |
withAttributes(Attribute... values)
|
Property |
withAttributes(java.util.Collection<Attribute> values)
|
Property |
withLinks(java.util.Collection<Link> values)
|
Property |
withLinks(Link... values)
|
Property |
withName(java.lang.String value)
|
Property |
withType(java.lang.String value)
|
Property |
withValue(java.lang.String value)
|
| Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection |
|---|
getLinks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<Attribute> attributes
protected java.lang.String value
protected java.lang.String name
protected java.lang.String type
| Constructor Detail |
|---|
public Property()
| Method Detail |
|---|
public java.util.List<Attribute> 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
Attribute
public java.lang.String getValue()
Stringpublic void setValue(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getType()
Stringpublic void setType(java.lang.String value)
value - allowed object is
Stringpublic Property withAttributes(Attribute... values)
public Property withAttributes(java.util.Collection<Attribute> values)
public Property withValue(java.lang.String value)
public Property withName(java.lang.String value)
public Property withType(java.lang.String value)
public Property withLinks(Link... values)
withLinks in class LinkCollectionpublic Property withLinks(java.util.Collection<Link> values)
withLinks in class LinkCollection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||