public class AttachmentType extends Object implements Serializable
<?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>
| Constructor and Description |
|---|
AttachmentType()
Default constructor
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
EmbeddedDocumentBinaryObjectType |
getEmbeddedDocumentBinaryObject()
<?
|
byte[] |
getEmbeddedDocumentBinaryObjectValue()
Get the value of the contained EmbeddedDocumentBinaryObjectType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
ExternalReferenceType |
getExternalReference()
<?
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
EmbeddedDocumentBinaryObjectType |
setEmbeddedDocumentBinaryObject(byte[] valueParam)
Special setter with value of type byte[]
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setEmbeddedDocumentBinaryObject(EmbeddedDocumentBinaryObjectType value)
Sets the value of the embeddedDocumentBinaryObject property.
|
void |
setExternalReference(ExternalReferenceType value)
Sets the value of the externalReference property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public AttachmentType()
@Nullable 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>
EmbeddedDocumentBinaryObjectTypepublic void setEmbeddedDocumentBinaryObject(@Nullable EmbeddedDocumentBinaryObjectType value)
value - allowed object is
EmbeddedDocumentBinaryObjectType@Nullable 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>
ExternalReferenceTypepublic void setExternalReference(@Nullable ExternalReferenceType value)
value - allowed object is
ExternalReferenceTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
@Nonnull public EmbeddedDocumentBinaryObjectType setEmbeddedDocumentBinaryObject(@Nullable byte[] valueParam)
valueParam - The value to be set. May be null.null@Nullable public byte[] getEmbeddedDocumentBinaryObjectValue()
nullCopyright © 2014 Philip Helger. All rights reserved.