public class ContractType 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>Contract. Details</ccts:DictionaryEntryName><ccts:Definition>Information about a Contract.</ccts:Definition><ccts:ObjectClass>Contract</ccts:ObjectClass></ccts:Component>
Java class for ContractType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ContractType">
<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}IssueDate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}IssueTime" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ContractTypeCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ContractType" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ValidityPeriod" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ContractDocumentReference" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
ContractType()
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
|
List<DocumentReferenceType> |
getContractDocumentReference()
<?
|
DocumentReferenceType |
getContractDocumentReferenceAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getContractDocumentReferenceCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
ContractTypeType |
getContractType()
<?
|
ContractTypeCodeType |
getContractTypeCode()
<?
|
String |
getContractTypeCodeValue()
Get the value of the contained ContractTypeCodeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
String |
getContractTypeValue()
Get the value of the contained ContractTypeType 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
|
IssueTimeType |
getIssueTime()
<?
|
XMLGregorianCalendar |
getIssueTimeValue()
Get the value of the contained IssueTimeType object
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
PeriodType |
getValidityPeriod()
<?
|
boolean |
hasContractDocumentReferenceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoContractDocumentReferenceEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setContractDocumentReference(List<DocumentReferenceType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setContractType(ContractTypeType value)
Sets the value of the contractType property.
|
ContractTypeType |
setContractType(String valueParam)
Special setter with value of type String
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setContractTypeCode(ContractTypeCodeType value)
Sets the value of the contractTypeCode property.
|
ContractTypeCodeType |
setContractTypeCode(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
|
void |
setIssueTime(IssueTimeType value)
Sets the value of the issueTime property.
|
IssueTimeType |
setIssueTime(XMLGregorianCalendar valueParam)
Special setter with value of type XMLGregorianCalendar
Created by ph-ubl-jaxb-plugin -Xph-ubl-value
|
void |
setValidityPeriod(PeriodType value)
Sets the value of the validityPeriod property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public ContractType()
@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>Contract. Identifier</ccts:DictionaryEntryName><ccts:Definition>Identifies the Contract.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Contract</ccts:ObjectClass><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:Examples>"CC23"</ccts:Examples></ccts:Component>
IDTypepublic void setID(@Nullable IDType value)
value - allowed object is
IDType@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>Contract. Issue Date. Date</ccts:DictionaryEntryName><ccts:Definition>The date on which the Contract was issued.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Contract</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 IssueTimeType getIssueTime()
<?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>Contract. Issue Time. Time</ccts:DictionaryEntryName><ccts:Definition>The time at which the Contract was issued.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Contract</ccts:ObjectClass><ccts:PropertyTerm>Issue Time</ccts:PropertyTerm><ccts:RepresentationTerm>Time</ccts:RepresentationTerm><ccts:DataType>Time. Type</ccts:DataType></ccts:Component>
IssueTimeTypepublic void setIssueTime(@Nullable IssueTimeType value)
value - allowed object is
IssueTimeType@Nullable public ContractTypeCodeType getContractTypeCode()
<?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>Contract. Contract Type Code. Code</ccts:DictionaryEntryName><ccts:Definition>The type of Contract, expressed as a code.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Contract</ccts:ObjectClass><ccts:PropertyTerm>Contract Type Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
ContractTypeCodeTypepublic void setContractTypeCode(@Nullable ContractTypeCodeType value)
value - allowed object is
ContractTypeCodeType@Nullable public ContractTypeType getContractType()
<?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>Contract. Contract Type. Text</ccts:DictionaryEntryName><ccts:Definition>The type of Contract, expressed as text.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Contract</ccts:ObjectClass><ccts:PropertyTerm>Contract Type</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>
ContractTypeTypepublic void setContractType(@Nullable ContractTypeType value)
value - allowed object is
ContractTypeType@Nullable public PeriodType getValidityPeriod()
<?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>Contract. Validity_ Period. Period</ccts:DictionaryEntryName><ccts:Definition>An association to Validity Period.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Contract</ccts:ObjectClass><ccts:PropertyTermQualifier>Validity</ccts:PropertyTermQualifier><ccts:PropertyTerm>Period</ccts:PropertyTerm><ccts:AssociatedObjectClass>Period</ccts:AssociatedObjectClass></ccts:Component>
PeriodTypepublic void setValidityPeriod(@Nullable PeriodType value)
value - allowed object is
PeriodType@Nonnull @ReturnsMutableObject(reason="JAXB implementation style") public List<DocumentReferenceType> getContractDocumentReference()
<?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>Contract. Contract_ Document Reference. Document Reference</ccts:DictionaryEntryName><ccts:Definition>An associative reference to Contract Document.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Contract</ccts:ObjectClass><ccts:PropertyTermQualifier>Contract</ccts:PropertyTermQualifier><ccts:PropertyTerm>Document Reference</ccts:PropertyTerm><ccts:AssociatedObjectClass>Document Reference</ccts:AssociatedObjectClass></ccts:Component>Gets the value of the contractDocumentReference 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 contractDocumentReference property.
For example, to add a new item, do as follows:
getContractDocumentReference().add(newItem);
Objects of the following type(s) are allowed in the list
DocumentReferenceType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setContractDocumentReference(@Nullable List<DocumentReferenceType> aList)
aList - The new list member to set. May be null.public boolean hasContractDocumentReferenceEntries()
true if at least one item is contained, false otherwise.public boolean hasNoContractDocumentReferenceEntries()
true if no item is contained, false otherwise.@Nonnegative public int getContractDocumentReferenceCount()
@Nullable public DocumentReferenceType getContractDocumentReferenceAtIndex(@Nonnegative int index)
index - The index to retrievenullArrayIndexOutOfBoundsException - if the index is invalid!@Nonnull public IssueDateType setIssueDate(@Nullable XMLGregorianCalendar valueParam)
valueParam - The value to be set. May be null.null@Nonnull public IssueTimeType setIssueTime(@Nullable XMLGregorianCalendar valueParam)
valueParam - The value to be set. May be null.null@Nonnull public ContractTypeType setContractType(@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 ContractTypeCodeType setContractTypeCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getIDValue()
null@Nullable public XMLGregorianCalendar getIssueDateValue()
null@Nullable public XMLGregorianCalendar getIssueTimeValue()
null@Nullable public String getContractTypeCodeValue()
nullCopyright © 2014 Philip Helger. All rights reserved.