public class DocumentReferenceType 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>Document Reference. Details</ccts:DictionaryEntryName><ccts:Definition>Information about a document referred to in another document.</ccts:Definition><ccts:ObjectClass>Document Reference</ccts:ObjectClass></ccts:Component>
Java class for DocumentReferenceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DocumentReferenceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CopyIndicator" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}UUID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}IssueDate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DocumentTypeCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DocumentType" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}XPath" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Attachment" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
DocumentReferenceType()
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
|
AttachmentType |
getAttachment()
<?
|
CopyIndicatorType |
getCopyIndicator()
<?
|
DocumentTypeType |
getDocumentType()
<?
|
DocumentTypeCodeType |
getDocumentTypeCode()
<?
|
String |
getDocumentTypeCodeValue()
Get the value of the contained DocumentTypeCodeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
String |
getDocumentTypeValue()
Get the value of the contained DocumentTypeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
IDType |
getID()
<?
|
String |
getIDValue()
Get the value of the contained IDType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
IssueDateType |
getIssueDate()
<?
|
XMLGregorianCalendar |
getIssueDateValue()
Get the value of the contained IssueDateType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
UUIDType |
getUUID()
<?
|
String |
getUUIDValue()
Get the value of the contained UUIDType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
List<XPathType> |
getXPath()
<?
|
XPathType |
getXPathAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getXPathCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoXPathEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasXPathEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
isCopyIndicatorValue(boolean nullValue)
Get the value of the contained CopyIndicatorType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setAttachment(AttachmentType value)
Sets the value of the attachment property.
|
CopyIndicatorType |
setCopyIndicator(boolean valueParam)
Special setter with value of type boolean
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setCopyIndicator(CopyIndicatorType value)
Sets the value of the copyIndicator property.
|
void |
setDocumentType(DocumentTypeType value)
Sets the value of the documentType property.
|
DocumentTypeType |
setDocumentType(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setDocumentTypeCode(DocumentTypeCodeType value)
Sets the value of the documentTypeCode property.
|
DocumentTypeCodeType |
setDocumentTypeCode(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setID(IDType value)
Sets the value of the id property.
|
IDType |
setID(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setIssueDate(IssueDateType value)
Sets the value of the issueDate property.
|
IssueDateType |
setIssueDate(XMLGregorianCalendar valueParam)
Special setter with value of type XMLGregorianCalendar
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
UUIDType |
setUUID(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setUUID(UUIDType value)
Sets the value of the uuid property.
|
void |
setXPath(List<XPathType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public DocumentReferenceType()
@Nullable public IDType getID()
<?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>Document Reference. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the document being referred to.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Document Reference</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:Examples>"PO-001" "3333-44-123"</ccts:Examples></ccts:Component>
IDTypepublic void setID(@Nullable IDType value)
value - allowed object is
IDType@Nullable public CopyIndicatorType getCopyIndicator()
<?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>Document Reference. Copy_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>Indicates whether the referenced document is a copy (true) or the original (false).</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Document Reference</ccts:ObjectClass><ccts:PropertyTermQualifier>Copy</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType></ccts:Component>
CopyIndicatorTypepublic void setCopyIndicator(@Nullable CopyIndicatorType value)
value - allowed object is
CopyIndicatorType@Nullable public UUIDType getUUID()
<?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>Document Reference. UUID. Identifier</ccts:DictionaryEntryName><ccts:Definition>A universally unique identifier for an instance of this ABIE.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Document Reference</ccts:ObjectClass><ccts:PropertyTerm>UUID</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
UUIDTypepublic void setUUID(@Nullable UUIDType value)
value - allowed object is
UUIDType@Nullable public IssueDateType getIssueDate()
<?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>Document Reference. Issue Date. Date</ccts:DictionaryEntryName><ccts:Definition>The date, assigned by the sender of the referenced document, on which the referenced document was issued.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Document Reference</ccts:ObjectClass><ccts:PropertyTerm>Issue Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
IssueDateTypepublic void setIssueDate(@Nullable IssueDateType value)
value - allowed object is
IssueDateType@Nullable public DocumentTypeCodeType getDocumentTypeCode()
<?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>Document Reference. Document Type Code. Code</ccts:DictionaryEntryName><ccts:Definition>The document type, expressed as a code.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Document Reference</ccts:ObjectClass><ccts:PropertyTerm>Document Type Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
DocumentTypeCodeTypepublic void setDocumentTypeCode(@Nullable DocumentTypeCodeType value)
value - allowed object is
DocumentTypeCodeType@Nullable public DocumentTypeType getDocumentType()
<?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>Document Reference. Document Type. Text</ccts:DictionaryEntryName><ccts:Definition>The document type, expressed as text.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Document Reference</ccts:ObjectClass><ccts:PropertyTerm>Document Type</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
DocumentTypeTypepublic void setDocumentType(@Nullable DocumentTypeType value)
value - allowed object is
DocumentTypeType@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") public List<XPathType> getXPath()
<?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>Document Reference. XPath. Text</ccts:DictionaryEntryName><ccts:Definition>Refers to another part of the same document instance.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Document Reference</ccts:ObjectClass><ccts:PropertyTerm>XPath</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>Gets the value of the xPath property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the xPath property.
For example, to add a new item, do as follows:
getXPath().add(newItem);
Objects of the following type(s) are allowed in the list
XPathType
@Nullable public AttachmentType getAttachment()
<?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>Document Reference. Attachment</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>Document Reference</ccts:ObjectClass><ccts:PropertyTerm>Attachment</ccts:PropertyTerm><ccts:AssociatedObjectClass>Attachment</ccts:AssociatedObjectClass></ccts:Component>
AttachmentTypepublic void setAttachment(@Nullable AttachmentType value)
value - allowed object is
AttachmentTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setXPath(@Nullable List<XPathType> aList)
aList - The new list member to set. May be null.public boolean hasXPathEntries()
true if at least one item is contained, false otherwise.public boolean hasNoXPathEntries()
true if no item is contained, false otherwise.@Nonnegative public int getXPathCount()
@Nullable public XPathType getXPathAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!@Nonnull public CopyIndicatorType setCopyIndicator(boolean valueParam)
valueParam - The value to be set.null@Nonnull public IssueDateType setIssueDate(@Nullable XMLGregorianCalendar valueParam)
valueParam - The value to be set. May be null.null@Nonnull public DocumentTypeType setDocumentType(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public IDType setID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public UUIDType setUUID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public DocumentTypeCodeType setDocumentTypeCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getIDValue()
nullpublic boolean isCopyIndicatorValue(boolean nullValue)
nullValue - The value to be returned, if the owning object is null
@Nullable public String getUUIDValue()
null@Nullable public XMLGregorianCalendar getIssueDateValue()
null@Nullable public String getDocumentTypeCodeValue()
nullCopyright © 2014 Philip Helger. All rights reserved.