com.microsoft.schemas.office.visio.x2012.main.impl.EventItemTypeImpl 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: EventItem_Type
* Namespace: http://schemas.microsoft.com/office/visio/2012/main
* Java type: com.microsoft.schemas.office.visio.x2012.main.EventItemType
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
* An XML EventItem_Type(@http://schemas.microsoft.com/office/visio/2012/main).
*
* This is a complex type.
*/
public class EventItemTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.visio.x2012.main.EventItemType
{
public EventItemTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ID$0 =
new javax.xml.namespace.QName("", "ID");
private static final javax.xml.namespace.QName ACTION$2 =
new javax.xml.namespace.QName("", "Action");
private static final javax.xml.namespace.QName EVENTCODE$4 =
new javax.xml.namespace.QName("", "EventCode");
private static final javax.xml.namespace.QName ENABLED$6 =
new javax.xml.namespace.QName("", "Enabled");
private static final javax.xml.namespace.QName TARGET$8 =
new javax.xml.namespace.QName("", "Target");
private static final javax.xml.namespace.QName TARGETARGS$10 =
new javax.xml.namespace.QName("", "TargetArgs");
/**
* Gets the "ID" attribute
*/
public long getID()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$0);
if (target == null)
{
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "ID" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetID()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(ID$0);
return target;
}
}
/**
* Sets the "ID" attribute
*/
public void setID(long id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$0);
}
target.setLongValue(id);
}
}
/**
* Sets (as xml) the "ID" attribute
*/
public void xsetID(org.apache.xmlbeans.XmlUnsignedInt id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(ID$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(ID$0);
}
target.set(id);
}
}
/**
* Gets the "Action" attribute
*/
public int getAction()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTION$2);
if (target == null)
{
return 0;
}
return target.getIntValue();
}
}
/**
* Gets (as xml) the "Action" attribute
*/
public org.apache.xmlbeans.XmlUnsignedShort xgetAction()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedShort target = null;
target = (org.apache.xmlbeans.XmlUnsignedShort)get_store().find_attribute_user(ACTION$2);
return target;
}
}
/**
* Sets the "Action" attribute
*/
public void setAction(int action)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ACTION$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ACTION$2);
}
target.setIntValue(action);
}
}
/**
* Sets (as xml) the "Action" attribute
*/
public void xsetAction(org.apache.xmlbeans.XmlUnsignedShort action)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedShort target = null;
target = (org.apache.xmlbeans.XmlUnsignedShort)get_store().find_attribute_user(ACTION$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedShort)get_store().add_attribute_user(ACTION$2);
}
target.set(action);
}
}
/**
* Gets the "EventCode" attribute
*/
public int getEventCode()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EVENTCODE$4);
if (target == null)
{
return 0;
}
return target.getIntValue();
}
}
/**
* Gets (as xml) the "EventCode" attribute
*/
public org.apache.xmlbeans.XmlUnsignedShort xgetEventCode()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedShort target = null;
target = (org.apache.xmlbeans.XmlUnsignedShort)get_store().find_attribute_user(EVENTCODE$4);
return target;
}
}
/**
* Sets the "EventCode" attribute
*/
public void setEventCode(int eventCode)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EVENTCODE$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(EVENTCODE$4);
}
target.setIntValue(eventCode);
}
}
/**
* Sets (as xml) the "EventCode" attribute
*/
public void xsetEventCode(org.apache.xmlbeans.XmlUnsignedShort eventCode)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedShort target = null;
target = (org.apache.xmlbeans.XmlUnsignedShort)get_store().find_attribute_user(EVENTCODE$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedShort)get_store().add_attribute_user(EVENTCODE$4);
}
target.set(eventCode);
}
}
/**
* Gets the "Enabled" attribute
*/
public boolean getEnabled()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENABLED$6);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "Enabled" attribute
*/
public org.apache.xmlbeans.XmlBoolean xgetEnabled()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ENABLED$6);
return target;
}
}
/**
* True if has "Enabled" attribute
*/
public boolean isSetEnabled()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ENABLED$6) != null;
}
}
/**
* Sets the "Enabled" attribute
*/
public void setEnabled(boolean enabled)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ENABLED$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ENABLED$6);
}
target.setBooleanValue(enabled);
}
}
/**
* Sets (as xml) the "Enabled" attribute
*/
public void xsetEnabled(org.apache.xmlbeans.XmlBoolean enabled)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ENABLED$6);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(ENABLED$6);
}
target.set(enabled);
}
}
/**
* Unsets the "Enabled" attribute
*/
public void unsetEnabled()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ENABLED$6);
}
}
/**
* Gets the "Target" attribute
*/
public java.lang.String getTarget()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TARGET$8);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Target" attribute
*/
public org.apache.xmlbeans.XmlString xgetTarget()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TARGET$8);
return target;
}
}
/**
* Sets the "Target" attribute
*/
public void setTarget(java.lang.String targetValue)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TARGET$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TARGET$8);
}
target.setStringValue(targetValue);
}
}
/**
* Sets (as xml) the "Target" attribute
*/
public void xsetTarget(org.apache.xmlbeans.XmlString targetValue)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TARGET$8);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(TARGET$8);
}
target.set(targetValue);
}
}
/**
* Gets the "TargetArgs" attribute
*/
public java.lang.String getTargetArgs()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TARGETARGS$10);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "TargetArgs" attribute
*/
public org.apache.xmlbeans.XmlString xgetTargetArgs()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TARGETARGS$10);
return target;
}
}
/**
* Sets the "TargetArgs" attribute
*/
public void setTargetArgs(java.lang.String targetArgs)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TARGETARGS$10);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TARGETARGS$10);
}
target.setStringValue(targetArgs);
}
}
/**
* Sets (as xml) the "TargetArgs" attribute
*/
public void xsetTargetArgs(org.apache.xmlbeans.XmlString targetArgs)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TARGETARGS$10);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(TARGETARGS$10);
}
target.set(targetArgs);
}
}
}