@CodingStyleguideUnaware public class EventType 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>Event. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe a significant occurrence relating to an object, process, or person.</ccts:Definition><ccts:ObjectClass>Event</ccts:ObjectClass></ccts:Component>
Java class for EventType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EventType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}IdentificationID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OccurrenceDate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}OccurrenceTime" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}TypeCode" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Description" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}CompletionIndicator" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}CurrentStatus" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}Contact" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}OccurenceLocation" 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 |
|---|
EventType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addContact(ContactType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addCurrentStatus(StatusType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addDescription(DescriptionType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
EventType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(EventType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
CompletionIndicatorType |
getCompletionIndicator()
<?
|
List<ContactType> |
getContact()
<?
|
ContactType |
getContactAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getContactCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<StatusType> |
getCurrentStatus()
<?
|
StatusType |
getCurrentStatusAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getCurrentStatusCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<DescriptionType> |
getDescription()
<?
|
DescriptionType |
getDescriptionAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getDescriptionCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
IdentificationIDType |
getIdentificationID()
<?
|
String |
getIdentificationIDValue()
Get the value of the contained IdentificationIDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
LocationType |
getOccurenceLocation()
<?
|
OccurrenceDateType |
getOccurrenceDate()
<?
|
LocalDate |
getOccurrenceDateValue()
Get the value of the contained OccurrenceDateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
OccurrenceTimeType |
getOccurrenceTime()
<?
|
LocalTime |
getOccurrenceTimeValue()
Get the value of the contained OccurrenceTimeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
TypeCodeType |
getTypeCode()
<?
|
String |
getTypeCodeValue()
Get the value of the contained TypeCodeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
boolean |
hasContactEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasCurrentStatusEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoContactEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoCurrentStatusEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoDescriptionEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
isCompletionIndicatorValue(boolean nullValue)
Get the value of the contained CompletionIndicatorType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
CompletionIndicatorType |
setCompletionIndicator(boolean valueParam)
Special setter with value of type boolean
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setCompletionIndicator(CompletionIndicatorType value)
Sets the value of the completionIndicator property.
|
void |
setContact(List<ContactType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setCurrentStatus(List<StatusType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setDescription(List<DescriptionType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setIdentificationID(IdentificationIDType value)
Sets the value of the identificationID property.
|
IdentificationIDType |
setIdentificationID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setOccurenceLocation(LocationType value)
Sets the value of the occurenceLocation property.
|
OccurrenceDateType |
setOccurrenceDate(LocalDate valueParam)
Special setter with value of type LocalDate
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setOccurrenceDate(OccurrenceDateType value)
Sets the value of the occurrenceDate property.
|
OccurrenceTimeType |
setOccurrenceTime(LocalTime valueParam)
Special setter with value of type LocalTime
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setOccurrenceTime(OccurrenceTimeType value)
Sets the value of the occurrenceTime property.
|
TypeCodeType |
setTypeCode(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setTypeCode(TypeCodeType value)
Sets the value of the typeCode property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public EventType()
@Nullable public IdentificationIDType getIdentificationID()
<?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>Event. Identification. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier for this event within an agreed event identification scheme.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Event</ccts:ObjectClass><ccts:PropertyTerm>Identification</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
IdentificationIDTypepublic void setIdentificationID(@Nullable IdentificationIDType value)
value - allowed object is
IdentificationIDType@Nullable public OccurrenceDateType getOccurrenceDate()
<?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>Event. Occurrence Date. Date</ccts:DictionaryEntryName><ccts:Definition>The date of this event.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Event</ccts:ObjectClass><ccts:PropertyTerm>Occurrence Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
OccurrenceDateTypepublic void setOccurrenceDate(@Nullable OccurrenceDateType value)
value - allowed object is
OccurrenceDateType@Nullable public OccurrenceTimeType getOccurrenceTime()
<?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>Event. Occurrence Time. Time</ccts:DictionaryEntryName><ccts:Definition>The time of this event.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Event</ccts:ObjectClass><ccts:PropertyTerm>Occurrence Time</ccts:PropertyTerm><ccts:RepresentationTerm>Time</ccts:RepresentationTerm><ccts:DataType>Time. Type</ccts:DataType></ccts:Component>
OccurrenceTimeTypepublic void setOccurrenceTime(@Nullable OccurrenceTimeType value)
value - allowed object is
OccurrenceTimeType@Nullable public TypeCodeType getTypeCode()
<?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>Event. Type Code. Code</ccts:DictionaryEntryName><ccts:Definition>A code signifying the type of this event.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Event</ccts:ObjectClass><ccts:PropertyTerm>Type Code</ccts:PropertyTerm><ccts:RepresentationTerm>Code</ccts:RepresentationTerm><ccts:DataType>Code. Type</ccts:DataType></ccts:Component>
TypeCodeTypepublic void setTypeCode(@Nullable TypeCodeType value)
value - allowed object is
TypeCodeType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<DescriptionType> getDescription()
<?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>Event. Description. Text</ccts:DictionaryEntryName><ccts:Definition>Text describing this event.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Event</ccts:ObjectClass><ccts:PropertyTerm>Description</ccts:PropertyTerm><ccts:RepresentationTerm>Text</ccts:RepresentationTerm><ccts:DataType>Text. Type</ccts:DataType></ccts:Component>Gets the value of the description 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 description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
@Nullable public CompletionIndicatorType getCompletionIndicator()
<?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>Event. Completion_ Indicator. Indicator</ccts:DictionaryEntryName><ccts:Definition>An indicator that this event has been completed (true) or not (false).</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Event</ccts:ObjectClass><ccts:PropertyTermQualifier>Completion</ccts:PropertyTermQualifier><ccts:PropertyTerm>Indicator</ccts:PropertyTerm><ccts:RepresentationTerm>Indicator</ccts:RepresentationTerm><ccts:DataType>Indicator. Type</ccts:DataType></ccts:Component>
CompletionIndicatorTypepublic void setCompletionIndicator(@Nullable CompletionIndicatorType value)
value - allowed object is
CompletionIndicatorType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<StatusType> getCurrentStatus()
<?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>Event. Current_ Status. Status</ccts:DictionaryEntryName><ccts:Definition>The current status of this event.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Event</ccts:ObjectClass><ccts:PropertyTermQualifier>Current</ccts:PropertyTermQualifier><ccts:PropertyTerm>Status</ccts:PropertyTerm><ccts:AssociatedObjectClass>Status</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Status</ccts:RepresentationTerm></ccts:Component>Gets the value of the currentStatus 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 currentStatus property.
For example, to add a new item, do as follows:
getCurrentStatus().add(newItem);
Objects of the following type(s) are allowed in the list
StatusType
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<ContactType> getContact()
<?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>Event. Contact</ccts:DictionaryEntryName><ccts:Definition>Contacts associated with this event.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Event</ccts:ObjectClass><ccts:PropertyTerm>Contact</ccts:PropertyTerm><ccts:AssociatedObjectClass>Contact</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Contact</ccts:RepresentationTerm></ccts:Component>Gets the value of the contact 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 contact property.
For example, to add a new item, do as follows:
getContact().add(newItem);
Objects of the following type(s) are allowed in the list
ContactType
@Nullable public LocationType getOccurenceLocation()
<?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>Event. Occurence_ Location. Location</ccts:DictionaryEntryName><ccts:Definition>The location of this event.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Event</ccts:ObjectClass><ccts:PropertyTermQualifier>Occurence</ccts:PropertyTermQualifier><ccts:PropertyTerm>Location</ccts:PropertyTerm><ccts:AssociatedObjectClass>Location</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Location</ccts:RepresentationTerm></ccts:Component>
LocationTypepublic void setOccurenceLocation(@Nullable LocationType value)
value - allowed object is
LocationTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setDescription(@Nullable List<DescriptionType> aList)
aList - The new list member to set. May be null.public void setCurrentStatus(@Nullable List<StatusType> aList)
aList - The new list member to set. May be null.public void setContact(@Nullable List<ContactType> aList)
aList - The new list member to set. May be null.public boolean hasDescriptionEntries()
true if at least one item is contained, false otherwise.public boolean hasNoDescriptionEntries()
true if no item is contained, false otherwise.@Nonnegative public int getDescriptionCount()
@Nullable public DescriptionType getDescriptionAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addDescription(@Nonnull DescriptionType elem)
elem - The element to be added. May not be null.public boolean hasCurrentStatusEntries()
true if at least one item is contained, false otherwise.public boolean hasNoCurrentStatusEntries()
true if no item is contained, false otherwise.@Nonnegative public int getCurrentStatusCount()
@Nullable public StatusType getCurrentStatusAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addCurrentStatus(@Nonnull StatusType elem)
elem - The element to be added. May not be null.public boolean hasContactEntries()
true if at least one item is contained, false otherwise.public boolean hasNoContactEntries()
true if no item is contained, false otherwise.@Nonnegative public int getContactCount()
@Nullable public ContactType getContactAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addContact(@Nonnull ContactType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull EventType 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 EventType clone()
@Nonnull public TypeCodeType setTypeCode(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public OccurrenceDateType setOccurrenceDate(@Nullable LocalDate valueParam)
valueParam - The value to be set. May be null.null@Nonnull public OccurrenceTimeType setOccurrenceTime(@Nullable LocalTime valueParam)
valueParam - The value to be set. May be null.null@Nonnull public IdentificationIDType setIdentificationID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public CompletionIndicatorType setCompletionIndicator(boolean valueParam)
valueParam - The value to be set.null@Nullable public String getIdentificationIDValue()
null@Nullable public LocalDate getOccurrenceDateValue()
null@Nullable public LocalTime getOccurrenceTimeValue()
null@Nullable public String getTypeCodeValue()
nullpublic boolean isCompletionIndicatorValue(boolean nullValue)
nullValue - The value to be returned, if the owning object is nullCopyright © 2014–2020 Philip Helger. All rights reserved.