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 StringgetHref()Gets the value of the href property.StringgetHrefLang()Gets the value of the hrefLang property.StringgetRel()Gets the value of the rel property.StringgetType()Gets the value of the type property.voidsetHref(String value)Sets the value of the href property.voidsetHrefLang(String value)Sets the value of the hrefLang property.voidsetRel(String value)Sets the value of the rel property.voidsetType(String value)Sets the value of the type property.LinkwithHref(String value)LinkwithHrefLang(String value)LinkwithRel(String value)LinkwithType(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
-
-