Package org.xwiki.rest.model.jaxb
Class Attribute
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.LinkCollection
-
- org.xwiki.rest.model.jaxb.Attribute
-
public class Attribute extends LinkCollection
Java class for Attribute complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Attribute"> <complexContent> <extension base="{http://www.xwiki.org}LinkCollection"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Attribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the value of the name property.StringgetValue()Gets the value of the value property.voidsetName(String value)Sets the value of the name property.voidsetValue(String value)Sets the value of the value property.AttributewithLinks(Collection<Link> values)AttributewithLinks(Link... values)AttributewithName(String value)AttributewithValue(String value)-
Methods inherited from class org.xwiki.rest.model.jaxb.LinkCollection
getLinks
-
-
-
-
Method Detail
-
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
-
getValue
public String getValue()
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
public void setValue(String value)
Sets the value of the value property.- Parameters:
value- allowed object isString
-
withLinks
public Attribute withLinks(Link... values)
- Overrides:
withLinksin classLinkCollection
-
withLinks
public Attribute withLinks(Collection<Link> values)
- Overrides:
withLinksin classLinkCollection
-
-