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 String
getName()
Gets the value of the name property.String
getValue()
Gets the value of the value property.void
setName(String value)
Sets the value of the name property.void
setValue(String value)
Sets the value of the value property.Attribute
withLinks(Collection<Link> values)
Attribute
withLinks(Link... values)
Attribute
withName(String value)
Attribute
withValue(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:
withLinks
in classLinkCollection
-
withLinks
public Attribute withLinks(Collection<Link> values)
- Overrides:
withLinks
in classLinkCollection
-
-