|
|||||||||
| 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.Class
public class Class
Java class for Class complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Class">
<complexContent>
<extension base="{http://www.xwiki.org}LinkCollection">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="property" type="{http://www.xwiki.org}Property" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.String |
id
|
protected java.lang.String |
name
|
protected java.util.List<Property> |
properties
|
| Fields inherited from class org.xwiki.rest.model.jaxb.LinkCollection |
|---|
links |
| Constructor Summary | |
|---|---|
Class()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
Gets the value of the id property. |
java.lang.String |
getName()
Gets the value of the name property. |
java.util.List<Property> |
getProperties()
Gets the value of the properties property. |
void |
setId(java.lang.String value)
Sets the value of the id property. |
void |
setName(java.lang.String value)
Sets the value of the name property. |
Class |
withId(java.lang.String value)
|
Class |
withLinks(java.util.Collection<Link> values)
|
Class |
withLinks(Link... values)
|
Class |
withName(java.lang.String value)
|
Class |
withProperties(java.util.Collection<Property> values)
|
Class |
withProperties(Property... values)
|
| 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.lang.String id
protected java.lang.String name
protected java.util.List<Property> properties
| Constructor Detail |
|---|
public Class()
| Method Detail |
|---|
public java.lang.String getId()
Stringpublic void setId(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.util.List<Property> getProperties()
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 properties property.
For example, to add a new item, do as follows:
getProperties().add(newItem);
Objects of the following type(s) are allowed in the list
Property
public Class withId(java.lang.String value)
public Class withName(java.lang.String value)
public Class withProperties(Property... values)
public Class withProperties(java.util.Collection<Property> values)
public Class withLinks(Link... values)
withLinks in class LinkCollectionpublic Class 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 | ||||||||