Package org.xwiki.rest.model.jaxb
Class Link
- java.lang.Object
-
- org.xwiki.rest.model.jaxb.Link
-
public class Link extends Object
Java class for Link complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Link"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="rel" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="hrefLang" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Link()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHref()
Gets the value of the href property.String
getHrefLang()
Gets the value of the hrefLang property.String
getRel()
Gets the value of the rel property.String
getType()
Gets the value of the type property.void
setHref(String value)
Sets the value of the href property.void
setHrefLang(String value)
Sets the value of the hrefLang property.void
setRel(String value)
Sets the value of the rel property.void
setType(String value)
Sets the value of the type property.Link
withHref(String value)
Link
withHrefLang(String value)
Link
withRel(String value)
Link
withType(String value)
-
-
-
Method Detail
-
getHref
public String getHref()
Gets the value of the href property.- Returns:
- possible object is
String
-
setHref
public void setHref(String value)
Sets the value of the href property.- Parameters:
value
- allowed object isString
-
getRel
public String getRel()
Gets the value of the rel property.- Returns:
- possible object is
String
-
setRel
public void setRel(String value)
Sets the value of the rel 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
-
getHrefLang
public String getHrefLang()
Gets the value of the hrefLang property.- Returns:
- possible object is
String
-
setHrefLang
public void setHrefLang(String value)
Sets the value of the hrefLang property.- Parameters:
value
- allowed object isString
-
-