org.xwiki.rest.model.jaxb
Class Link

java.lang.Object
  extended by org.xwiki.rest.model.jaxb.Link

public class Link
extends java.lang.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>
 


Field Summary
protected  java.lang.String href
           
protected  java.lang.String hrefLang
           
protected  java.lang.String rel
           
protected  java.lang.String type
           
 
Constructor Summary
Link()
           
 
Method Summary
 java.lang.String getHref()
          Gets the value of the href property.
 java.lang.String getHrefLang()
          Gets the value of the hrefLang property.
 java.lang.String getRel()
          Gets the value of the rel property.
 java.lang.String getType()
          Gets the value of the type property.
 void setHref(java.lang.String value)
          Sets the value of the href property.
 void setHrefLang(java.lang.String value)
          Sets the value of the hrefLang property.
 void setRel(java.lang.String value)
          Sets the value of the rel property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 Link withHref(java.lang.String value)
           
 Link withHrefLang(java.lang.String value)
           
 Link withRel(java.lang.String value)
           
 Link withType(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

href

protected java.lang.String href

rel

protected java.lang.String rel

type

protected java.lang.String type

hrefLang

protected java.lang.String hrefLang
Constructor Detail

Link

public Link()
Method Detail

getHref

public java.lang.String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

public void setHref(java.lang.String value)
Sets the value of the href property.

Parameters:
value - allowed object is String

getRel

public java.lang.String getRel()
Gets the value of the rel property.

Returns:
possible object is String

setRel

public void setRel(java.lang.String value)
Sets the value of the rel property.

Parameters:
value - allowed object is String

getType

public java.lang.String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(java.lang.String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getHrefLang

public java.lang.String getHrefLang()
Gets the value of the hrefLang property.

Returns:
possible object is String

setHrefLang

public void setHrefLang(java.lang.String value)
Sets the value of the hrefLang property.

Parameters:
value - allowed object is String

withHref

public Link withHref(java.lang.String value)

withRel

public Link withRel(java.lang.String value)

withType

public Link withType(java.lang.String value)

withHrefLang

public Link withHrefLang(java.lang.String value)


Copyright © 2004-2009 XWiki. All Rights Reserved.