public class Class extends LinkCollection
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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected String |
name |
protected List<Property> |
properties |
links| Constructor and Description |
|---|
Class() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
List<Property> |
getProperties()
Gets the value of the properties property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
getLinkspublic void setId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic 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
Copyright © 2003–2018 eXo Platform SAS. All rights reserved.