org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTIconFilterImpl 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_IconFilter
* Namespace: http://schemas.openxmlformats.org/spreadsheetml/2006/main
* Java type: org.openxmlformats.schemas.spreadsheetml.x2006.main.CTIconFilter
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.spreadsheetml.x2006.main.impl;
/**
* An XML CT_IconFilter(@http://schemas.openxmlformats.org/spreadsheetml/2006/main).
*
* This is a complex type.
*/
public class CTIconFilterImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.spreadsheetml.x2006.main.CTIconFilter
{
public CTIconFilterImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ICONSET$0 =
new javax.xml.namespace.QName("", "iconSet");
private static final javax.xml.namespace.QName ICONID$2 =
new javax.xml.namespace.QName("", "iconId");
/**
* Gets the "iconSet" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STIconSetType.Enum getIconSet()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ICONSET$0);
if (target == null)
{
return null;
}
return (org.openxmlformats.schemas.spreadsheetml.x2006.main.STIconSetType.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "iconSet" attribute
*/
public org.openxmlformats.schemas.spreadsheetml.x2006.main.STIconSetType xgetIconSet()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STIconSetType target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STIconSetType)get_store().find_attribute_user(ICONSET$0);
return target;
}
}
/**
* Sets the "iconSet" attribute
*/
public void setIconSet(org.openxmlformats.schemas.spreadsheetml.x2006.main.STIconSetType.Enum iconSet)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ICONSET$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ICONSET$0);
}
target.setEnumValue(iconSet);
}
}
/**
* Sets (as xml) the "iconSet" attribute
*/
public void xsetIconSet(org.openxmlformats.schemas.spreadsheetml.x2006.main.STIconSetType iconSet)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.spreadsheetml.x2006.main.STIconSetType target = null;
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STIconSetType)get_store().find_attribute_user(ICONSET$0);
if (target == null)
{
target = (org.openxmlformats.schemas.spreadsheetml.x2006.main.STIconSetType)get_store().add_attribute_user(ICONSET$0);
}
target.set(iconSet);
}
}
/**
* Gets the "iconId" attribute
*/
public long getIconId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ICONID$2);
if (target == null)
{
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "iconId" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetIconId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(ICONID$2);
return target;
}
}
/**
* True if has "iconId" attribute
*/
public boolean isSetIconId()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ICONID$2) != null;
}
}
/**
* Sets the "iconId" attribute
*/
public void setIconId(long iconId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ICONID$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ICONID$2);
}
target.setLongValue(iconId);
}
}
/**
* Sets (as xml) the "iconId" attribute
*/
public void xsetIconId(org.apache.xmlbeans.XmlUnsignedInt iconId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(ICONID$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(ICONID$2);
}
target.set(iconId);
}
}
/**
* Unsets the "iconId" attribute
*/
public void unsetIconId()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ICONID$2);
}
}
}