org.bremersee.w3c.atom.Link Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.06.30 at 06:40:44 PM CEST
//
package org.bremersee.w3c.atom;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="rel" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="type" type="{http://www.w3.org/2005/Atom}atomMediaType" />
* <attribute name="hreflang" type="{http://www.w3.org/2005/Atom}atomLanguageTag" />
* <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "link")
public class Link
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlAttribute(name = "href", required = true)
@XmlSchemaType(name = "anySimpleType")
protected String href;
@XmlAttribute(name = "rel")
@XmlSchemaType(name = "anySimpleType")
protected String rel;
@XmlAttribute(name = "type")
protected String type;
@XmlAttribute(name = "hreflang")
protected String hreflang;
@XmlAttribute(name = "title")
@XmlSchemaType(name = "anySimpleType")
protected String title;
@XmlAttribute(name = "length")
@XmlSchemaType(name = "anySimpleType")
protected String length;
/**
* Gets the value of the href property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Sets the value of the href property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(String value) {
this.href = value;
}
/**
* Gets the value of the rel property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRel() {
return rel;
}
/**
* Sets the value of the rel property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRel(String value) {
this.rel = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the hreflang property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHreflang() {
return hreflang;
}
/**
* Sets the value of the hreflang property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHreflang(String value) {
this.hreflang = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the length property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLength() {
return length;
}
/**
* Sets the value of the length property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLength(String value) {
this.length = value;
}
}