Package org.xwiki.rest.model.jaxb
Class HierarchyItem
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.HierarchyItem
-
public class HierarchyItem extends Object
Java class for HierarchyItem complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HierarchyItem"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description HierarchyItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()Gets the value of the label property.StringgetName()Gets the value of the name property.StringgetType()Gets the value of the type property.StringgetUrl()Gets the value of the url property.voidsetLabel(String value)Sets the value of the label property.voidsetName(String value)Sets the value of the name property.voidsetType(String value)Sets the value of the type property.voidsetUrl(String value)Sets the value of the url property.HierarchyItemwithLabel(String value)HierarchyItemwithName(String value)HierarchyItemwithType(String value)HierarchyItemwithUrl(String value)
-
-
-
Method Detail
-
getLabel
public String getLabel()
Gets the value of the label property.- Returns:
- possible object is
String
-
setLabel
public void setLabel(String value)
Sets the value of the label property.- Parameters:
value- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
getUrl
public String getUrl()
Gets the value of the url property.- Returns:
- possible object is
String
-
setUrl
public void setUrl(String value)
Sets the value of the url property.- Parameters:
value- allowed object isString
-
withLabel
public HierarchyItem withLabel(String value)
-
withName
public HierarchyItem withName(String value)
-
withType
public HierarchyItem withType(String value)
-
withUrl
public HierarchyItem withUrl(String value)
-
-