org.openxmlformats.schemas.drawingml.x2006.main.impl.CTEffectPropertiesImpl 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_EffectProperties
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/main
* Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTEffectProperties
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.main.impl;
/**
* An XML CT_EffectProperties(@http://schemas.openxmlformats.org/drawingml/2006/main).
*
* This is a complex type.
*/
public class CTEffectPropertiesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.main.CTEffectProperties
{
public CTEffectPropertiesImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName EFFECTLST$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "effectLst");
private static final javax.xml.namespace.QName EFFECTDAG$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "effectDag");
/**
* Gets the "effectLst" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList getEffectLst()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList)get_store().find_element_user(EFFECTLST$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "effectLst" element
*/
public boolean isSetEffectLst()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EFFECTLST$0) != 0;
}
}
/**
* Sets the "effectLst" element
*/
public void setEffectLst(org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList effectLst)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList)get_store().find_element_user(EFFECTLST$0, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList)get_store().add_element_user(EFFECTLST$0);
}
target.set(effectLst);
}
}
/**
* Appends and returns a new empty "effectLst" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList addNewEffectLst()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectList)get_store().add_element_user(EFFECTLST$0);
return target;
}
}
/**
* Unsets the "effectLst" element
*/
public void unsetEffectLst()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EFFECTLST$0, 0);
}
}
/**
* Gets the "effectDag" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer getEffectDag()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer)get_store().find_element_user(EFFECTDAG$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "effectDag" element
*/
public boolean isSetEffectDag()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EFFECTDAG$2) != 0;
}
}
/**
* Sets the "effectDag" element
*/
public void setEffectDag(org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer effectDag)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer)get_store().find_element_user(EFFECTDAG$2, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer)get_store().add_element_user(EFFECTDAG$2);
}
target.set(effectDag);
}
}
/**
* Appends and returns a new empty "effectDag" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer addNewEffectDag()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTEffectContainer)get_store().add_element_user(EFFECTDAG$2);
return target;
}
}
/**
* Unsets the "effectDag" element
*/
public void unsetEffectDag()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EFFECTDAG$2, 0);
}
}
}