org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTHyperlinkImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds:
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip
/*
* XML Type: CT_Hyperlink
* Namespace: http://schemas.openxmlformats.org/spreadsheetml/2006/main
* Java type: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTHyperlink
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.spreadsheetml.x2006.main.impl;
/**
* An XML CT_Hyperlink(@http://schemas.openxmlformats.org/spreadsheetml/2006/main).
*
* This is a complex type.
*/
public class CTHyperlinkImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.spreadsheetml.x2006.main.CTHyperlink
{
public CTHyperlinkImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName REF$0 =
new javax.xml.namespace.QName("", "ref");
private static final javax.xml.namespace.QName ID$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/officeDocument/2006/relationships", "id");
private static final javax.xml.namespace.QName LOCATION$4 =
new javax.xml.namespace.QName("", "location");
private static final javax.xml.namespace.QName TOOLTIP$6 =
new javax.xml.namespace.QName("", "tooltip");
private static final javax.xml.namespace.QName DISPLAY$8 =
new javax.xml.namespace.QName("", "display");
/**
* Gets the "ref" attribute
*/
public java.lang.String getRef()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REF$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ref" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef xgetRef()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef)get_store().find_attribute_user(REF$0);
return target;
}
}
/**
* Sets the "ref" attribute
*/
public void setRef(java.lang.String ref)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REF$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REF$0);
}
target.setStringValue(ref);
}
}
/**
* Sets (as xml) the "ref" attribute
*/
public void xsetRef(org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef ref)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef)get_store().find_attribute_user(REF$0);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STRef)get_store().add_attribute_user(REF$0);
}
target.set(ref);
}
}
/**
* Gets the "id" attribute
*/
public java.lang.String getId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "id" attribute
*/
public org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId xgetId()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId)get_store().find_attribute_user(ID$2);
return target;
}
}
/**
* True if has "id" attribute
*/
public boolean isSetId()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ID$2) != null;
}
}
/**
* Sets the "id" attribute
*/
public void setId(java.lang.String id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$2);
}
target.setStringValue(id);
}
}
/**
* Sets (as xml) the "id" attribute
*/
public void xsetId(org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId id)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId target = null;
target = (org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId)get_store().find_attribute_user(ID$2);
if (target == null)
{
target = (org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId)get_store().add_attribute_user(ID$2);
}
target.set(id);
}
}
/**
* Unsets the "id" attribute
*/
public void unsetId()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ID$2);
}
}
/**
* Gets the "location" attribute
*/
public java.lang.String getLocation()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LOCATION$4);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "location" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring xgetLocation()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().find_attribute_user(LOCATION$4);
return target;
}
}
/**
* True if has "location" attribute
*/
public boolean isSetLocation()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(LOCATION$4) != null;
}
}
/**
* Sets the "location" attribute
*/
public void setLocation(java.lang.String location)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LOCATION$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LOCATION$4);
}
target.setStringValue(location);
}
}
/**
* Sets (as xml) the "location" attribute
*/
public void xsetLocation(org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring location)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().find_attribute_user(LOCATION$4);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().add_attribute_user(LOCATION$4);
}
target.set(location);
}
}
/**
* Unsets the "location" attribute
*/
public void unsetLocation()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(LOCATION$4);
}
}
/**
* Gets the "tooltip" attribute
*/
public java.lang.String getTooltip()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TOOLTIP$6);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "tooltip" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring xgetTooltip()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().find_attribute_user(TOOLTIP$6);
return target;
}
}
/**
* True if has "tooltip" attribute
*/
public boolean isSetTooltip()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(TOOLTIP$6) != null;
}
}
/**
* Sets the "tooltip" attribute
*/
public void setTooltip(java.lang.String tooltip)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TOOLTIP$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TOOLTIP$6);
}
target.setStringValue(tooltip);
}
}
/**
* Sets (as xml) the "tooltip" attribute
*/
public void xsetTooltip(org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring tooltip)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().find_attribute_user(TOOLTIP$6);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().add_attribute_user(TOOLTIP$6);
}
target.set(tooltip);
}
}
/**
* Unsets the "tooltip" attribute
*/
public void unsetTooltip()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(TOOLTIP$6);
}
}
/**
* Gets the "display" attribute
*/
public java.lang.String getDisplay()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DISPLAY$8);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "display" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring xgetDisplay()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().find_attribute_user(DISPLAY$8);
return target;
}
}
/**
* True if has "display" attribute
*/
public boolean isSetDisplay()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(DISPLAY$8) != null;
}
}
/**
* Sets the "display" attribute
*/
public void setDisplay(java.lang.String display)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DISPLAY$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DISPLAY$8);
}
target.setStringValue(display);
}
}
/**
* Sets (as xml) the "display" attribute
*/
public void xsetDisplay(org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring display)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().find_attribute_user(DISPLAY$8);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().add_attribute_user(DISPLAY$8);
}
target.set(display);
}
}
/**
* Unsets the "display" attribute
*/
public void unsetDisplay()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(DISPLAY$8);
}
}
}