org.example.wsHT.api.impl.XMLAttachmentInfoDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: attachmentInfo
* Namespace: http://www.example.org/WS-HT/api
* Java type: org.example.wsHT.api.XMLAttachmentInfoDocument
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.api.impl;
/**
* A document containing one attachmentInfo(@http://www.example.org/WS-HT/api) element.
*
* This is a complex type.
*/
public class XMLAttachmentInfoDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.XMLAttachmentInfoDocument
{
private static final long serialVersionUID = 1L;
public XMLAttachmentInfoDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ATTACHMENTINFO$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT/api", "attachmentInfo");
/**
* Gets the "attachmentInfo" element
*/
public org.example.wsHT.api.XMLTAttachmentInfo getAttachmentInfo()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.XMLTAttachmentInfo target = null;
target = (org.example.wsHT.api.XMLTAttachmentInfo)get_store().find_element_user(ATTACHMENTINFO$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "attachmentInfo" element
*/
public void setAttachmentInfo(org.example.wsHT.api.XMLTAttachmentInfo attachmentInfo)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.XMLTAttachmentInfo target = null;
target = (org.example.wsHT.api.XMLTAttachmentInfo)get_store().find_element_user(ATTACHMENTINFO$0, 0);
if (target == null)
{
target = (org.example.wsHT.api.XMLTAttachmentInfo)get_store().add_element_user(ATTACHMENTINFO$0);
}
target.set(attachmentInfo);
}
}
/**
* Appends and returns a new empty "attachmentInfo" element
*/
public org.example.wsHT.api.XMLTAttachmentInfo addNewAttachmentInfo()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.api.XMLTAttachmentInfo target = null;
target = (org.example.wsHT.api.XMLTAttachmentInfo)get_store().add_element_user(ATTACHMENTINFO$0);
return target;
}
}
}