@CodingStyleguideUnaware public class EndorsementType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ABIE</ccts:ComponentType><ccts:DictionaryEntryName>Endorsement. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe an endorsement of a document.</ccts:Definition><ccts:ObjectClass>Endorsement</ccts:ObjectClass></ccts:Component>
Java class for EndorsementType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EndorsementType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DocumentID"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ApprovalStatus"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Remarks" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}EndorserParty"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Signature" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
EndorsementType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addRemarks(RemarksType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addSignature(SignatureType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
EndorsementType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(EndorsementType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
ApprovalStatusType |
getApprovalStatus()
<?
|
String |
getApprovalStatusValue()
Get the value of the contained ApprovalStatusType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
DocumentIDType |
getDocumentID()
<?
|
String |
getDocumentIDValue()
Get the value of the contained DocumentIDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
EndorserPartyType |
getEndorserParty()
<?
|
List<RemarksType> |
getRemarks()
<?
|
RemarksType |
getRemarksAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getRemarksCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<SignatureType> |
getSignature()
<?
|
SignatureType |
getSignatureAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getSignatureCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoRemarksEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoSignatureEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasRemarksEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasSignatureEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setApprovalStatus(ApprovalStatusType value)
Sets the value of the approvalStatus property.
|
ApprovalStatusType |
setApprovalStatus(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setDocumentID(DocumentIDType value)
Sets the value of the documentID property.
|
DocumentIDType |
setDocumentID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setEndorserParty(EndorserPartyType value)
Sets the value of the endorserParty property.
|
void |
setRemarks(List<RemarksType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setSignature(List<SignatureType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public EndorsementType()
@Nullable public DocumentIDType getDocumentID()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Endorsement. Document. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier for this endorsement.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Endorsement</ccts:ObjectClass><ccts:PropertyTerm>Document</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
DocumentIDTypepublic void setDocumentID(@Nullable DocumentIDType value)
value - allowed object is
DocumentIDType@Nullable public ApprovalStatusType getApprovalStatus()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Endorsement. Approval Status. Text</ccts:DictionaryEntryName><ccts:Definition>The status of this endorsement.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Endorsement</ccts:ObjectClass><ccts:PropertyTerm>Approval Status</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType><ccts:AlternativeBusinessTerms>Authentication Code</ccts:AlternativeBusinessTerms></ccts:Component>
ApprovalStatusTypepublic void setApprovalStatus(@Nullable ApprovalStatusType value)
value - allowed object is
ApprovalStatusType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<RemarksType> getRemarks()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>BBIE</ccts:ComponentType><ccts:DictionaryEntryName>Endorsement. Remarks. Text</ccts:DictionaryEntryName><ccts:Definition>Remarks provided by the endorsing party.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Endorsement</ccts:ObjectClass><ccts:PropertyTerm>Remarks</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>Gets the value of the remarks 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 remarks property.
For example, to add a new item, do as follows:
getRemarks().add(newItem);
Objects of the following type(s) are allowed in the list
RemarksType
@Nullable public EndorserPartyType getEndorserParty()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Endorsement. Endorser Party</ccts:DictionaryEntryName><ccts:Definition>The type of party providing this endorsement.</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Endorsement</ccts:ObjectClass><ccts:PropertyTerm>Endorser Party</ccts:PropertyTerm><ccts:AssociatedObjectClass>Endorser Party</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Endorser Party</ccts:RepresentationTerm></ccts:Component>
EndorserPartyTypepublic void setEndorserParty(@Nullable EndorserPartyType value)
value - allowed object is
EndorserPartyType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<SignatureType> getSignature()
<?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:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ccts:ComponentType>ASBIE</ccts:ComponentType><ccts:DictionaryEntryName>Endorsement. Signature</ccts:DictionaryEntryName><ccts:Definition>A signature applied to this endorsement.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Endorsement</ccts:ObjectClass><ccts:PropertyTerm>Signature</ccts:PropertyTerm><ccts:AssociatedObjectClass>Signature</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Signature</ccts:RepresentationTerm></ccts:Component>Gets the value of the signature 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 signature property.
For example, to add a new item, do as follows:
getSignature().add(newItem);
Objects of the following type(s) are allowed in the list
SignatureType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setRemarks(@Nullable List<RemarksType> aList)
aList - The new list member to set. May be null.public void setSignature(@Nullable List<SignatureType> aList)
aList - The new list member to set. May be null.public boolean hasRemarksEntries()
true if at least one item is contained, false otherwise.public boolean hasNoRemarksEntries()
true if no item is contained, false otherwise.@Nonnegative public int getRemarksCount()
@Nullable public RemarksType getRemarksAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addRemarks(@Nonnull RemarksType elem)
elem - The element to be added. May not be null.public boolean hasSignatureEntries()
true if at least one item is contained, false otherwise.public boolean hasNoSignatureEntries()
true if no item is contained, false otherwise.@Nonnegative public int getSignatureCount()
@Nullable public SignatureType getSignatureAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addSignature(@Nonnull SignatureType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull EndorsementType ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public EndorsementType clone()
@Nonnull public DocumentIDType setDocumentID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public ApprovalStatusType setApprovalStatus(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getDocumentIDValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.