org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTWorksheetSourceImpl 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_WorksheetSource
* Namespace: http://schemas.openxmlformats.org/spreadsheetml/2006/main
* Java type: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorksheetSource
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.spreadsheetml.x2006.main.impl;
/**
* An XML CT_WorksheetSource(@http://schemas.openxmlformats.org/spreadsheetml/2006/main).
*
* This is a complex type.
*/
public class CTWorksheetSourceImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorksheetSource
{
public CTWorksheetSourceImpl(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 NAME$2 =
new javax.xml.namespace.QName("", "name");
private static final javax.xml.namespace.QName SHEET$4 =
new javax.xml.namespace.QName("", "sheet");
private static final javax.xml.namespace.QName ID$6 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/officeDocument/2006/relationships", "id");
/**
* 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;
}
}
/**
* True if has "ref" attribute
*/
public boolean isSetRef()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(REF$0) != null;
}
}
/**
* 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);
}
}
/**
* Unsets the "ref" attribute
*/
public void unsetRef()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(REF$0);
}
}
/**
* Gets the "name" attribute
*/
public java.lang.String getName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "name" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring xgetName()
{
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(NAME$2);
return target;
}
}
/**
* True if has "name" attribute
*/
public boolean isSetName()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(NAME$2) != null;
}
}
/**
* Sets the "name" attribute
*/
public void setName(java.lang.String name)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$2);
}
target.setStringValue(name);
}
}
/**
* Sets (as xml) the "name" attribute
*/
public void xsetName(org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring name)
{
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(NAME$2);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().add_attribute_user(NAME$2);
}
target.set(name);
}
}
/**
* Unsets the "name" attribute
*/
public void unsetName()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(NAME$2);
}
}
/**
* Gets the "sheet" attribute
*/
public java.lang.String getSheet()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHEET$4);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "sheet" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring xgetSheet()
{
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(SHEET$4);
return target;
}
}
/**
* True if has "sheet" attribute
*/
public boolean isSetSheet()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(SHEET$4) != null;
}
}
/**
* Sets the "sheet" attribute
*/
public void setSheet(java.lang.String sheet)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHEET$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHEET$4);
}
target.setStringValue(sheet);
}
}
/**
* Sets (as xml) the "sheet" attribute
*/
public void xsetSheet(org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring sheet)
{
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(SHEET$4);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STXstring)get_store().add_attribute_user(SHEET$4);
}
target.set(sheet);
}
}
/**
* Unsets the "sheet" attribute
*/
public void unsetSheet()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(SHEET$4);
}
}
/**
* 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$6);
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$6);
return target;
}
}
/**
* True if has "id" attribute
*/
public boolean isSetId()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ID$6) != 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$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$6);
}
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$6);
if (target == null)
{
target = (org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId)get_store().add_attribute_user(ID$6);
}
target.set(id);
}
}
/**
* Unsets the "id" attribute
*/
public void unsetId()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ID$6);
}
}
}