org.openvpms.esci.ubl.common.aggregate
Class AttachmentType

java.lang.Object
  extended by org.openvpms.esci.ubl.common.aggregate.AttachmentType

public class AttachmentType
extends Object

 <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Attachment. Details</ccts:DictionaryEntryName><ccts:Definition>Information about an attached document. An attachment can be referred to externally (with the URI element) or internally (with the MIME reference element) or contained within the document itself (with the EmbeddedDocument element).</ccts:Definition><ccts:ObjectClass>Attachment</ccts:ObjectClass></ccts:Component>
 

Java class for AttachmentType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="AttachmentType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EmbeddedDocumentBinaryObject" minOccurs="0"/>
         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ExternalReference" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EmbeddedDocumentBinaryObjectType embeddedDocumentBinaryObject
           
protected  ExternalReferenceType externalReference
           
 
Constructor Summary
AttachmentType()
           
 
Method Summary
 EmbeddedDocumentBinaryObjectType getEmbeddedDocumentBinaryObject()
           <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Attachment.
 ExternalReferenceType getExternalReference()
           <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Attachment.
 void setEmbeddedDocumentBinaryObject(EmbeddedDocumentBinaryObjectType value)
          Sets the value of the embeddedDocumentBinaryObject property.
 void setExternalReference(ExternalReferenceType value)
          Sets the value of the externalReference property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

embeddedDocumentBinaryObject

protected EmbeddedDocumentBinaryObjectType embeddedDocumentBinaryObject

externalReference

protected ExternalReferenceType externalReference
Constructor Detail

AttachmentType

public AttachmentType()
Method Detail

getEmbeddedDocumentBinaryObject

public EmbeddedDocumentBinaryObjectType getEmbeddedDocumentBinaryObject()
 <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Attachment. Embedded_ Document. Binary Object</ccts:DictionaryEntryName><ccts:Definition>Contains an embedded document as a BLOB (binary large object).</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Attachment</ccts:ObjectClass><ccts:PropertyTermQualifier>Embedded</ccts:PropertyTermQualifier><ccts:PropertyTerm>Document</ccts:PropertyTerm><ccts:RepresentationTerm>Binary Object</ccts:RepresentationTerm><ccts:DataType>Binary Object. Type</ccts:DataType></ccts:Component>
 

Returns:
possible object is EmbeddedDocumentBinaryObjectType

setEmbeddedDocumentBinaryObject

public void setEmbeddedDocumentBinaryObject(EmbeddedDocumentBinaryObjectType value)
Sets the value of the embeddedDocumentBinaryObject property.

Parameters:
value - allowed object is EmbeddedDocumentBinaryObjectType

getExternalReference

public ExternalReferenceType getExternalReference()
 <?xml version="1.0" encoding="UTF-8"?><ccts:Component xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Attachment. External Reference</ccts:DictionaryEntryName><ccts:Definition>An attached document, externally referred to, referred to in the MIME location, or embedded.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Attachment</ccts:ObjectClass><ccts:PropertyTerm>External Reference</ccts:PropertyTerm><ccts:AssociatedObjectClass>External Reference</ccts:AssociatedObjectClass></ccts:Component>
 

Returns:
possible object is ExternalReferenceType

setExternalReference

public void setExternalReference(ExternalReferenceType value)
Sets the value of the externalReference property.

Parameters:
value - allowed object is ExternalReferenceType


Copyright © 2010-2011 OpenVPMS. All Rights Reserved..