@CodingStyleguideUnaware public class PromotionalEventType 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>Promotional Event. Details</ccts:DictionaryEntryName><ccts:Definition>Agree can be renamed as PromotionalEvents</ccts:Definition><ccts:ObjectClass>Promotional Event</ccts:ObjectClass></ccts:Component>
Java class for PromotionalEventType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PromotionalEventType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}PromotionalEventTypeCode"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SubmissionDate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}FirstShipmentAvailibilityDate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}LatestProposalAcceptanceDate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PromotionalSpecification" maxOccurs="unbounded"/>
</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 |
|---|
PromotionalEventType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addPromotionalSpecification(PromotionalSpecificationType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
PromotionalEventType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(PromotionalEventType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
FirstShipmentAvailibilityDateType |
getFirstShipmentAvailibilityDate()
<?
|
LocalDate |
getFirstShipmentAvailibilityDateValue()
Get the value of the contained FirstShipmentAvailibilityDateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
LatestProposalAcceptanceDateType |
getLatestProposalAcceptanceDate()
<?
|
LocalDate |
getLatestProposalAcceptanceDateValue()
Get the value of the contained LatestProposalAcceptanceDateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
PromotionalEventTypeCodeType |
getPromotionalEventTypeCode()
<?
|
String |
getPromotionalEventTypeCodeValue()
Get the value of the contained PromotionalEventTypeCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
List<PromotionalSpecificationType> |
getPromotionalSpecification()
<?
|
PromotionalSpecificationType |
getPromotionalSpecificationAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getPromotionalSpecificationCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
SubmissionDateType |
getSubmissionDate()
<?
|
LocalDate |
getSubmissionDateValue()
Get the value of the contained SubmissionDateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoPromotionalSpecificationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasPromotionalSpecificationEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setFirstShipmentAvailibilityDate(FirstShipmentAvailibilityDateType value)
Sets the value of the firstShipmentAvailibilityDate property.
|
FirstShipmentAvailibilityDateType |
setFirstShipmentAvailibilityDate(LocalDate valueParam)
Special setter with value of type LocalDate
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setLatestProposalAcceptanceDate(LatestProposalAcceptanceDateType value)
Sets the value of the latestProposalAcceptanceDate property.
|
LatestProposalAcceptanceDateType |
setLatestProposalAcceptanceDate(LocalDate valueParam)
Special setter with value of type LocalDate
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setPromotionalEventTypeCode(PromotionalEventTypeCodeType value)
Sets the value of the promotionalEventTypeCode property.
|
PromotionalEventTypeCodeType |
setPromotionalEventTypeCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setPromotionalSpecification(List<PromotionalSpecificationType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
SubmissionDateType |
setSubmissionDate(LocalDate valueParam)
Special setter with value of type LocalDate
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setSubmissionDate(SubmissionDateType value)
Sets the value of the submissionDate property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public PromotionalEventType()
@Nullable public PromotionalEventTypeCodeType getPromotionalEventTypeCode()
<?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>Promotional Event. Promotional Event Type Code. Code</ccts:DictionaryEntryName><ccts:Definition>A code signifying the type of this promotional event. Examples can be: Holiday, Seasonal Event, Store Closing, Trade Item Introduction</ccts:Definition><ccts:Cardinality>1</ccts:Cardinality><ccts:ObjectClass>Promotional Event</ccts:ObjectClass><ccts:PropertyTerm>Promotional Event Type Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
PromotionalEventTypeCodeTypepublic void setPromotionalEventTypeCode(@Nullable PromotionalEventTypeCodeType value)
value - allowed object is
PromotionalEventTypeCodeType@Nullable public SubmissionDateType getSubmissionDate()
<?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>Promotional Event. Submission. Date</ccts:DictionaryEntryName><ccts:Definition>The date on which a proposal for this promotional event was submitted.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Promotional Event</ccts:ObjectClass><ccts:PropertyTerm>Submission</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
SubmissionDateTypepublic void setSubmissionDate(@Nullable SubmissionDateType value)
value - allowed object is
SubmissionDateType@Nullable public FirstShipmentAvailibilityDateType getFirstShipmentAvailibilityDate()
<?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>Promotional Event. First Shipment Availibility Date. Date</ccts:DictionaryEntryName><ccts:Definition>The first day that products will be available to ship from buyer to seller if the proposal for this promotional event is accepted.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Promotional Event</ccts:ObjectClass><ccts:PropertyTerm>First Shipment Availibility Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
FirstShipmentAvailibilityDateTypepublic void setFirstShipmentAvailibilityDate(@Nullable FirstShipmentAvailibilityDateType value)
value - allowed object is
FirstShipmentAvailibilityDateType@Nullable public LatestProposalAcceptanceDateType getLatestProposalAcceptanceDate()
<?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>Promotional Event. Latest_ Proposal Acceptance Date. Date</ccts:DictionaryEntryName><ccts:Definition>The deadline for acceptance of this promotional event.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Promotional Event</ccts:ObjectClass><ccts:PropertyTermQualifier>Latest</ccts:PropertyTermQualifier><ccts:PropertyTerm>Proposal Acceptance Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
LatestProposalAcceptanceDateTypepublic void setLatestProposalAcceptanceDate(@Nullable LatestProposalAcceptanceDateType value)
value - allowed object is
LatestProposalAcceptanceDateType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<PromotionalSpecificationType> getPromotionalSpecification()
<?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>Promotional Event. Promotional Specification</ccts:DictionaryEntryName><ccts:Definition>A specification for a promotional event.</ccts:Definition><ccts:Cardinality>1..n</ccts:Cardinality><ccts:ObjectClass>Promotional Event</ccts:ObjectClass><ccts:PropertyTerm>Promotional Specification</ccts:PropertyTerm><ccts:AssociatedObjectClass>Promotional Specification</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Promotional Specification</ccts:RepresentationTerm></ccts:Component>Gets the value of the promotionalSpecification 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 promotionalSpecification property.
For example, to add a new item, do as follows:
getPromotionalSpecification().add(newItem);
Objects of the following type(s) are allowed in the list
PromotionalSpecificationType
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setPromotionalSpecification(@Nullable List<PromotionalSpecificationType> aList)
aList - The new list member to set. May be null.public boolean hasPromotionalSpecificationEntries()
true if at least one item is contained, false otherwise.public boolean hasNoPromotionalSpecificationEntries()
true if no item is contained, false otherwise.@Nonnegative public int getPromotionalSpecificationCount()
@Nullable public PromotionalSpecificationType getPromotionalSpecificationAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addPromotionalSpecification(@Nonnull PromotionalSpecificationType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull PromotionalEventType 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 PromotionalEventType clone()
@Nonnull public PromotionalEventTypeCodeType setPromotionalEventTypeCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public SubmissionDateType setSubmissionDate(@Nullable LocalDate valueParam)
valueParam - The value to be set. May be null.null@Nonnull public FirstShipmentAvailibilityDateType setFirstShipmentAvailibilityDate(@Nullable LocalDate valueParam)
valueParam - The value to be set. May be null.null@Nonnull public LatestProposalAcceptanceDateType setLatestProposalAcceptanceDate(@Nullable LocalDate valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getPromotionalEventTypeCodeValue()
null@Nullable public LocalDate getSubmissionDateValue()
null@Nullable public LocalDate getFirstShipmentAvailibilityDateValue()
null@Nullable public LocalDate getLatestProposalAcceptanceDateValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.