org.openvpms.esci.ubl.common.extension
Class UBLExtensionType

java.lang.Object
  extended by org.openvpms.esci.ubl.common.extension.UBLExtensionType

public class UBLExtensionType
extends Object

A single extension for private use.

Java class for UBLExtensionType complex type.

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

 <complexType name="UBLExtensionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/>
         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Name" minOccurs="0"/>
         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2}ExtensionAgencyID" minOccurs="0"/>
         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2}ExtensionAgencyName" minOccurs="0"/>
         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2}ExtensionVersionID" minOccurs="0"/>
         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2}ExtensionAgencyURI" minOccurs="0"/>
         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2}ExtensionURI" minOccurs="0"/>
         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2}ExtensionReasonCode" minOccurs="0"/>
         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2}ExtensionReason" minOccurs="0"/>
         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2}ExtensionContent"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  ExtensionAgencyIDType extensionAgencyID
           
protected  ExtensionAgencyNameType extensionAgencyName
           
protected  ExtensionAgencyURIType extensionAgencyURI
           
protected  ExtensionContentType extensionContent
           
protected  ExtensionReasonType extensionReason
           
protected  ExtensionReasonCodeType extensionReasonCode
           
protected  ExtensionURIType extensionURI
           
protected  ExtensionVersionIDType extensionVersionID
           
protected  IDType id
           
protected  NameType name
           
 
Constructor Summary
UBLExtensionType()
           
 
Method Summary
 ExtensionAgencyIDType getExtensionAgencyID()
          An agency that maintains one or more Extensions.
 ExtensionAgencyNameType getExtensionAgencyName()
          The name of the agency that maintains the Extension.
 ExtensionAgencyURIType getExtensionAgencyURI()
          A URI for the Agency that maintains the Extension.
 ExtensionContentType getExtensionContent()
          The definition of the extension content.
 ExtensionReasonType getExtensionReason()
          A description of the reason for the Extension.
 ExtensionReasonCodeType getExtensionReasonCode()
          A code for reason the Extension is being included.
 ExtensionURIType getExtensionURI()
          A URI for the Extension.
 ExtensionVersionIDType getExtensionVersionID()
          The version of the Extension.
 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:CommonExtensionComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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>Extension.
 NameType getName()
           <?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:CommonExtensionComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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>Extension.
 void setExtensionAgencyID(ExtensionAgencyIDType value)
          Sets the value of the extensionAgencyID property.
 void setExtensionAgencyName(ExtensionAgencyNameType value)
          Sets the value of the extensionAgencyName property.
 void setExtensionAgencyURI(ExtensionAgencyURIType value)
          Sets the value of the extensionAgencyURI property.
 void setExtensionContent(ExtensionContentType value)
          Sets the value of the extensionContent property.
 void setExtensionReason(ExtensionReasonType value)
          Sets the value of the extensionReason property.
 void setExtensionReasonCode(ExtensionReasonCodeType value)
          Sets the value of the extensionReasonCode property.
 void setExtensionURI(ExtensionURIType value)
          Sets the value of the extensionURI property.
 void setExtensionVersionID(ExtensionVersionIDType value)
          Sets the value of the extensionVersionID property.
 void setID(IDType value)
          Sets the value of the id property.
 void setName(NameType value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected IDType id

name

protected NameType name

extensionAgencyID

protected ExtensionAgencyIDType extensionAgencyID

extensionAgencyName

protected ExtensionAgencyNameType extensionAgencyName

extensionVersionID

protected ExtensionVersionIDType extensionVersionID

extensionAgencyURI

protected ExtensionAgencyURIType extensionAgencyURI

extensionURI

protected ExtensionURIType extensionURI

extensionReasonCode

protected ExtensionReasonCodeType extensionReasonCode

extensionReason

protected ExtensionReasonType extensionReason

extensionContent

protected ExtensionContentType extensionContent
Constructor Detail

UBLExtensionType

public UBLExtensionType()
Method Detail

getID

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:CommonExtensionComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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>Extension. Identifier</ccts:DictionaryEntryName><ccts:Version/><ccts:Definition>An identifier for the Extension assigned by the creator of the extension.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Extension</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
 

Returns:
possible object is IDType

setID

public void setID(IDType value)
Sets the value of the id property.

Parameters:
value - allowed object is IDType

getName

public NameType getName()
 <?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:CommonExtensionComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-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>Extension. Name</ccts:DictionaryEntryName><ccts:Version/><ccts:Definition>A name for the Extension assigned by the creator of the extension.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Extension</ccts:ObjectClass><ccts:PropertyTerm>Name</ccts:PropertyTerm><ccts:RepresentationTerm>Name</ccts:RepresentationTerm><ccts:DataType>Name. Type</ccts:DataType></ccts:Component>
 

Returns:
possible object is NameType

setName

public void setName(NameType value)
Sets the value of the name property.

Parameters:
value - allowed object is NameType

getExtensionAgencyID

public ExtensionAgencyIDType getExtensionAgencyID()
An agency that maintains one or more Extensions.

Returns:
possible object is ExtensionAgencyIDType

setExtensionAgencyID

public void setExtensionAgencyID(ExtensionAgencyIDType value)
Sets the value of the extensionAgencyID property.

Parameters:
value - allowed object is ExtensionAgencyIDType

getExtensionAgencyName

public ExtensionAgencyNameType getExtensionAgencyName()
The name of the agency that maintains the Extension.

Returns:
possible object is ExtensionAgencyNameType

setExtensionAgencyName

public void setExtensionAgencyName(ExtensionAgencyNameType value)
Sets the value of the extensionAgencyName property.

Parameters:
value - allowed object is ExtensionAgencyNameType

getExtensionVersionID

public ExtensionVersionIDType getExtensionVersionID()
The version of the Extension.

Returns:
possible object is ExtensionVersionIDType

setExtensionVersionID

public void setExtensionVersionID(ExtensionVersionIDType value)
Sets the value of the extensionVersionID property.

Parameters:
value - allowed object is ExtensionVersionIDType

getExtensionAgencyURI

public ExtensionAgencyURIType getExtensionAgencyURI()
A URI for the Agency that maintains the Extension.

Returns:
possible object is ExtensionAgencyURIType

setExtensionAgencyURI

public void setExtensionAgencyURI(ExtensionAgencyURIType value)
Sets the value of the extensionAgencyURI property.

Parameters:
value - allowed object is ExtensionAgencyURIType

getExtensionURI

public ExtensionURIType getExtensionURI()
A URI for the Extension.

Returns:
possible object is ExtensionURIType

setExtensionURI

public void setExtensionURI(ExtensionURIType value)
Sets the value of the extensionURI property.

Parameters:
value - allowed object is ExtensionURIType

getExtensionReasonCode

public ExtensionReasonCodeType getExtensionReasonCode()
A code for reason the Extension is being included.

Returns:
possible object is ExtensionReasonCodeType

setExtensionReasonCode

public void setExtensionReasonCode(ExtensionReasonCodeType value)
Sets the value of the extensionReasonCode property.

Parameters:
value - allowed object is ExtensionReasonCodeType

getExtensionReason

public ExtensionReasonType getExtensionReason()
A description of the reason for the Extension.

Returns:
possible object is ExtensionReasonType

setExtensionReason

public void setExtensionReason(ExtensionReasonType value)
Sets the value of the extensionReason property.

Parameters:
value - allowed object is ExtensionReasonType

getExtensionContent

public ExtensionContentType getExtensionContent()
The definition of the extension content.

Returns:
possible object is ExtensionContentType

setExtensionContent

public void setExtensionContent(ExtensionContentType value)
Sets the value of the extensionContent property.

Parameters:
value - allowed object is ExtensionContentType


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