org.openxmlformats.schemas.presentationml.x2006.main.impl.CTTLCommandBehaviorImpl 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_TLCommandBehavior
* Namespace: http://schemas.openxmlformats.org/presentationml/2006/main
* Java type: org.openxmlformats.schemas.presentationml.x2006.main.CTTLCommandBehavior
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.presentationml.x2006.main.impl;
/**
* An XML CT_TLCommandBehavior(@http://schemas.openxmlformats.org/presentationml/2006/main).
*
* This is a complex type.
*/
public class CTTLCommandBehaviorImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.presentationml.x2006.main.CTTLCommandBehavior
{
public CTTLCommandBehaviorImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName CBHVR$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "cBhvr");
private static final javax.xml.namespace.QName TYPE$2 =
new javax.xml.namespace.QName("", "type");
private static final javax.xml.namespace.QName CMD$4 =
new javax.xml.namespace.QName("", "cmd");
/**
* Gets the "cBhvr" element
*/
public org.openxmlformats.schemas.presentationml.x2006.main.CTTLCommonBehaviorData getCBhvr()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.CTTLCommonBehaviorData target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.CTTLCommonBehaviorData)get_store().find_element_user(CBHVR$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "cBhvr" element
*/
public void setCBhvr(org.openxmlformats.schemas.presentationml.x2006.main.CTTLCommonBehaviorData cBhvr)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.CTTLCommonBehaviorData target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.CTTLCommonBehaviorData)get_store().find_element_user(CBHVR$0, 0);
if (target == null)
{
target = (org.openxmlformats.schemas.presentationml.x2006.main.CTTLCommonBehaviorData)get_store().add_element_user(CBHVR$0);
}
target.set(cBhvr);
}
}
/**
* Appends and returns a new empty "cBhvr" element
*/
public org.openxmlformats.schemas.presentationml.x2006.main.CTTLCommonBehaviorData addNewCBhvr()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.CTTLCommonBehaviorData target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.CTTLCommonBehaviorData)get_store().add_element_user(CBHVR$0);
return target;
}
}
/**
* Gets the "type" attribute
*/
public org.openxmlformats.schemas.presentationml.x2006.main.STTLCommandType.Enum getType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$2);
if (target == null)
{
return null;
}
return (org.openxmlformats.schemas.presentationml.x2006.main.STTLCommandType.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "type" attribute
*/
public org.openxmlformats.schemas.presentationml.x2006.main.STTLCommandType xgetType()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.STTLCommandType target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.STTLCommandType)get_store().find_attribute_user(TYPE$2);
return target;
}
}
/**
* True if has "type" attribute
*/
public boolean isSetType()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(TYPE$2) != null;
}
}
/**
* Sets the "type" attribute
*/
public void setType(org.openxmlformats.schemas.presentationml.x2006.main.STTLCommandType.Enum type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPE$2);
}
target.setEnumValue(type);
}
}
/**
* Sets (as xml) the "type" attribute
*/
public void xsetType(org.openxmlformats.schemas.presentationml.x2006.main.STTLCommandType type)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.STTLCommandType target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.STTLCommandType)get_store().find_attribute_user(TYPE$2);
if (target == null)
{
target = (org.openxmlformats.schemas.presentationml.x2006.main.STTLCommandType)get_store().add_attribute_user(TYPE$2);
}
target.set(type);
}
}
/**
* Unsets the "type" attribute
*/
public void unsetType()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(TYPE$2);
}
}
/**
* Gets the "cmd" attribute
*/
public java.lang.String getCmd()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CMD$4);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "cmd" attribute
*/
public org.apache.xmlbeans.XmlString xgetCmd()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CMD$4);
return target;
}
}
/**
* True if has "cmd" attribute
*/
public boolean isSetCmd()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(CMD$4) != null;
}
}
/**
* Sets the "cmd" attribute
*/
public void setCmd(java.lang.String cmd)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CMD$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CMD$4);
}
target.setStringValue(cmd);
}
}
/**
* Sets (as xml) the "cmd" attribute
*/
public void xsetCmd(org.apache.xmlbeans.XmlString cmd)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CMD$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(CMD$4);
}
target.set(cmd);
}
}
/**
* Unsets the "cmd" attribute
*/
public void unsetCmd()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(CMD$4);
}
}
}