|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.wiki.service.rest.model.LinkCollection
org.exoplatform.wiki.service.rest.model.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 List<Attribute> |
attributes
|
protected String |
name
|
protected String |
type
|
protected String |
value
|
| Fields inherited from class org.exoplatform.wiki.service.rest.model.LinkCollection |
|---|
links |
| Constructor Summary | |
|---|---|
Property()
|
|
| Method Summary | |
|---|---|
List<Attribute> |
getAttributes()
Gets the value of the attributes property. |
String |
getName()
Gets the value of the name property. |
String |
getType()
Gets the value of the type property. |
String |
getValue()
Gets the value of the value property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setType(String value)
Sets the value of the type property. |
void |
setValue(String value)
Sets the value of the value property. |
| Methods inherited from class org.exoplatform.wiki.service.rest.model.LinkCollection |
|---|
getLinks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List<Attribute> attributes
protected String value
protected String name
protected String type
| Constructor Detail |
|---|
public Property()
| Method Detail |
|---|
public 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 String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||