org.etsi.uri.x01903.v13.impl.DataObjectFormatTypeImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from various supplied xsds for encryption and signing:
http://msdn.microsoft.com/en-us/library/dd925810(v=office.12).aspx
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip
http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd
http://uri.etsi.org/01903/v1.3.2/XAdES.xsd
http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd
http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd
http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcterms.xsd
http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcmitype.xsd
The newest version!
/*
* XML Type: DataObjectFormatType
* Namespace: http://uri.etsi.org/01903/v1.3.2#
* Java type: org.etsi.uri.x01903.v13.DataObjectFormatType
*
* Automatically generated - do not modify.
*/
package org.etsi.uri.x01903.v13.impl;
/**
* An XML DataObjectFormatType(@http://uri.etsi.org/01903/v1.3.2#).
*
* This is a complex type.
*/
public class DataObjectFormatTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.etsi.uri.x01903.v13.DataObjectFormatType
{
public DataObjectFormatTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DESCRIPTION$0 =
new javax.xml.namespace.QName("http://uri.etsi.org/01903/v1.3.2#", "Description");
private static final javax.xml.namespace.QName OBJECTIDENTIFIER$2 =
new javax.xml.namespace.QName("http://uri.etsi.org/01903/v1.3.2#", "ObjectIdentifier");
private static final javax.xml.namespace.QName MIMETYPE$4 =
new javax.xml.namespace.QName("http://uri.etsi.org/01903/v1.3.2#", "MimeType");
private static final javax.xml.namespace.QName ENCODING$6 =
new javax.xml.namespace.QName("http://uri.etsi.org/01903/v1.3.2#", "Encoding");
private static final javax.xml.namespace.QName OBJECTREFERENCE$8 =
new javax.xml.namespace.QName("", "ObjectReference");
/**
* Gets the "Description" element
*/
public java.lang.String getDescription()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DESCRIPTION$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Description" element
*/
public org.apache.xmlbeans.XmlString xgetDescription()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(DESCRIPTION$0, 0);
return target;
}
}
/**
* True if has "Description" element
*/
public boolean isSetDescription()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(DESCRIPTION$0) != 0;
}
}
/**
* Sets the "Description" element
*/
public void setDescription(java.lang.String description)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DESCRIPTION$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DESCRIPTION$0);
}
target.setStringValue(description);
}
}
/**
* Sets (as xml) the "Description" element
*/
public void xsetDescription(org.apache.xmlbeans.XmlString description)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(DESCRIPTION$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(DESCRIPTION$0);
}
target.set(description);
}
}
/**
* Unsets the "Description" element
*/
public void unsetDescription()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(DESCRIPTION$0, 0);
}
}
/**
* Gets the "ObjectIdentifier" element
*/
public org.etsi.uri.x01903.v13.ObjectIdentifierType getObjectIdentifier()
{
synchronized (monitor())
{
check_orphaned();
org.etsi.uri.x01903.v13.ObjectIdentifierType target = null;
target = (org.etsi.uri.x01903.v13.ObjectIdentifierType)get_store().find_element_user(OBJECTIDENTIFIER$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "ObjectIdentifier" element
*/
public boolean isSetObjectIdentifier()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(OBJECTIDENTIFIER$2) != 0;
}
}
/**
* Sets the "ObjectIdentifier" element
*/
public void setObjectIdentifier(org.etsi.uri.x01903.v13.ObjectIdentifierType objectIdentifier)
{
synchronized (monitor())
{
check_orphaned();
org.etsi.uri.x01903.v13.ObjectIdentifierType target = null;
target = (org.etsi.uri.x01903.v13.ObjectIdentifierType)get_store().find_element_user(OBJECTIDENTIFIER$2, 0);
if (target == null)
{
target = (org.etsi.uri.x01903.v13.ObjectIdentifierType)get_store().add_element_user(OBJECTIDENTIFIER$2);
}
target.set(objectIdentifier);
}
}
/**
* Appends and returns a new empty "ObjectIdentifier" element
*/
public org.etsi.uri.x01903.v13.ObjectIdentifierType addNewObjectIdentifier()
{
synchronized (monitor())
{
check_orphaned();
org.etsi.uri.x01903.v13.ObjectIdentifierType target = null;
target = (org.etsi.uri.x01903.v13.ObjectIdentifierType)get_store().add_element_user(OBJECTIDENTIFIER$2);
return target;
}
}
/**
* Unsets the "ObjectIdentifier" element
*/
public void unsetObjectIdentifier()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(OBJECTIDENTIFIER$2, 0);
}
}
/**
* Gets the "MimeType" element
*/
public java.lang.String getMimeType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MIMETYPE$4, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "MimeType" element
*/
public org.apache.xmlbeans.XmlString xgetMimeType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MIMETYPE$4, 0);
return target;
}
}
/**
* True if has "MimeType" element
*/
public boolean isSetMimeType()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(MIMETYPE$4) != 0;
}
}
/**
* Sets the "MimeType" element
*/
public void setMimeType(java.lang.String mimeType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MIMETYPE$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MIMETYPE$4);
}
target.setStringValue(mimeType);
}
}
/**
* Sets (as xml) the "MimeType" element
*/
public void xsetMimeType(org.apache.xmlbeans.XmlString mimeType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(MIMETYPE$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(MIMETYPE$4);
}
target.set(mimeType);
}
}
/**
* Unsets the "MimeType" element
*/
public void unsetMimeType()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(MIMETYPE$4, 0);
}
}
/**
* Gets the "Encoding" element
*/
public java.lang.String getEncoding()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ENCODING$6, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Encoding" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetEncoding()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(ENCODING$6, 0);
return target;
}
}
/**
* True if has "Encoding" element
*/
public boolean isSetEncoding()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(ENCODING$6) != 0;
}
}
/**
* Sets the "Encoding" element
*/
public void setEncoding(java.lang.String encoding)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ENCODING$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ENCODING$6);
}
target.setStringValue(encoding);
}
}
/**
* Sets (as xml) the "Encoding" element
*/
public void xsetEncoding(org.apache.xmlbeans.XmlAnyURI encoding)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(ENCODING$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(ENCODING$6);
}
target.set(encoding);
}
}
/**
* Unsets the "Encoding" element
*/
public void unsetEncoding()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(ENCODING$6, 0);
}
}
/**
* Gets the "ObjectReference" attribute
*/
public java.lang.String getObjectReference()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBJECTREFERENCE$8);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ObjectReference" attribute
*/
public org.apache.xmlbeans.XmlAnyURI xgetObjectReference()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(OBJECTREFERENCE$8);
return target;
}
}
/**
* Sets the "ObjectReference" attribute
*/
public void setObjectReference(java.lang.String objectReference)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OBJECTREFERENCE$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OBJECTREFERENCE$8);
}
target.setStringValue(objectReference);
}
}
/**
* Sets (as xml) the "ObjectReference" attribute
*/
public void xsetObjectReference(org.apache.xmlbeans.XmlAnyURI objectReference)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(OBJECTREFERENCE$8);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(OBJECTREFERENCE$8);
}
target.set(objectReference);
}
}
}