//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2016.08.10 um 09:13:50 PM CEST
//
package org.w3._1999.xlink;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* <p>Java-Klasse für locatorType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="locatorType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <group ref="{http://www.w3.org/1999/xlink}locatorModel"/>
* <attGroup ref="{http://www.w3.org/1999/xlink}locatorAttrs"/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "locatorType", propOrder = {
"titleElement"
})
public class LocatorType {
@XmlElement(name = "title")
protected List<TitleEltType> titleElement;
@XmlAttribute(name = "type", namespace = "http://www.w3.org/1999/xlink", required = true)
protected TypeType type;
@XmlAttribute(name = "href", namespace = "http://www.w3.org/1999/xlink", required = true)
protected String href;
@XmlAttribute(name = "role", namespace = "http://www.w3.org/1999/xlink")
protected String role;
@XmlAttribute(name = "title", namespace = "http://www.w3.org/1999/xlink")
protected String title;
@XmlAttribute(name = "label", namespace = "http://www.w3.org/1999/xlink")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String label;
/**
* Gets the value of the titleElement property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the titleElement property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTitleElement().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TitleEltType }
*
*
*/
public List<TitleEltType> getTitleElement() {
if (titleElement == null) {
titleElement = new ArrayList<TitleEltType>();
}
return this.titleElement;
}
public boolean isSetTitleElement() {
return ((this.titleElement!= null)&&(!this.titleElement.isEmpty()));
}
public void unsetTitleElement() {
this.titleElement = null;
}
/**
* Ruft den Wert der type-Eigenschaft ab.
*
* @return
* possible object is
* {@link TypeType }
*
*/
public TypeType getType() {
if (type == null) {
return TypeType.LOCATOR;
} else {
return type;
}
}
/**
* Legt den Wert der type-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link TypeType }
*
*/
public void setType(TypeType value) {
this.type = value;
}
public boolean isSetType() {
return (this.type!= null);
}
/**
* Ruft den Wert der href-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHref() {
return href;
}
/**
* Legt den Wert der href-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHref(String value) {
this.href = value;
}
public boolean isSetHref() {
return (this.href!= null);
}
/**
* Ruft den Wert der role-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Legt den Wert der role-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRole(String value) {
this.role = value;
}
public boolean isSetRole() {
return (this.role!= null);
}
/**
* Ruft den Wert der title-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Legt den Wert der title-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
public boolean isSetTitle() {
return (this.title!= null);
}
/**
*
* label is not required, but locators have no particular
* XLink function if they are not labeled.
*
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Legt den Wert der label-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
public boolean isSetLabel() {
return (this.label!= null);
}
public void setTitleElement(List<TitleEltType> value) {
this.titleElement = value;
}
}