@CodingStyleguideUnaware public class ItemInstanceType 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>Item Instance. Details</ccts:DictionaryEntryName><ccts:Definition>A class to describe a specific, trackable instance of an item.</ccts:Definition><ccts:ObjectClass>Item Instance</ccts:ObjectClass></ccts:Component>
Java class for ItemInstanceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ItemInstanceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ProductTraceID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ManufactureDate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ManufactureTime" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}BestBeforeDate" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}RegistrationID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}SerialID" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}AdditionalItemProperty" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}LotIdentification" 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 |
|---|
ItemInstanceType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdditionalItemProperty(ItemPropertyType elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
ItemInstanceType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(ItemInstanceType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
List<ItemPropertyType> |
getAdditionalItemProperty()
<?
|
ItemPropertyType |
getAdditionalItemPropertyAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getAdditionalItemPropertyCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
BestBeforeDateType |
getBestBeforeDate()
<?
|
LocalDate |
getBestBeforeDateValue()
Get the value of the contained BestBeforeDateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
LotIdentificationType |
getLotIdentification()
<?
|
ManufactureDateType |
getManufactureDate()
<?
|
LocalDate |
getManufactureDateValue()
Get the value of the contained ManufactureDateType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
ManufactureTimeType |
getManufactureTime()
<?
|
LocalTime |
getManufactureTimeValue()
Get the value of the contained ManufactureTimeType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
ProductTraceIDType |
getProductTraceID()
<?
|
String |
getProductTraceIDValue()
Get the value of the contained ProductTraceIDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
RegistrationIDType |
getRegistrationID()
<?
|
String |
getRegistrationIDValue()
Get the value of the contained RegistrationIDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
SerialIDType |
getSerialID()
<?
|
String |
getSerialIDValue()
Get the value of the contained SerialIDType object
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
boolean |
hasAdditionalItemPropertyEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoAdditionalItemPropertyEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setAdditionalItemProperty(List<ItemPropertyType> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setBestBeforeDate(BestBeforeDateType value)
Sets the value of the bestBeforeDate property.
|
BestBeforeDateType |
setBestBeforeDate(LocalDate valueParam)
Special setter with value of type LocalDate
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setLotIdentification(LotIdentificationType value)
Sets the value of the lotIdentification property.
|
ManufactureDateType |
setManufactureDate(LocalDate valueParam)
Special setter with value of type LocalDate
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setManufactureDate(ManufactureDateType value)
Sets the value of the manufactureDate property.
|
ManufactureTimeType |
setManufactureTime(LocalTime valueParam)
Special setter with value of type LocalTime
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setManufactureTime(ManufactureTimeType value)
Sets the value of the manufactureTime property.
|
void |
setProductTraceID(ProductTraceIDType value)
Sets the value of the productTraceID property.
|
ProductTraceIDType |
setProductTraceID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setRegistrationID(RegistrationIDType value)
Sets the value of the registrationID property.
|
RegistrationIDType |
setRegistrationID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
void |
setSerialID(SerialIDType value)
Sets the value of the serialID property.
|
SerialIDType |
setSerialID(String valueParam)
Special setter with value of type String
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public ItemInstanceType()
@Nullable public ProductTraceIDType getProductTraceID()
<?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>Item Instance. Product Trace_ Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>An identifier used for tracing this item instance, such as the EPC number used in RFID.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Instance</ccts:ObjectClass><ccts:PropertyTermQualifier>Product Trace</ccts:PropertyTermQualifier><ccts:PropertyTerm>Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType></ccts:Component>
ProductTraceIDTypepublic void setProductTraceID(@Nullable ProductTraceIDType value)
value - allowed object is
ProductTraceIDType@Nullable public ManufactureDateType getManufactureDate()
<?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>Item Instance. Manufacture Date. Date</ccts:DictionaryEntryName><ccts:Definition>The date on which this item instance was manufactured.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Instance</ccts:ObjectClass><ccts:PropertyTerm>Manufacture Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
ManufactureDateTypepublic void setManufactureDate(@Nullable ManufactureDateType value)
value - allowed object is
ManufactureDateType@Nullable public ManufactureTimeType getManufactureTime()
<?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>Item Instance. Manufacture Time. Time</ccts:DictionaryEntryName><ccts:Definition>The time at which this item instance was manufactured.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Instance</ccts:ObjectClass><ccts:PropertyTerm>Manufacture Time</ccts:PropertyTerm><ccts:RepresentationTerm>Time</ccts:RepresentationTerm><ccts:DataType>Time. Type</ccts:DataType></ccts:Component>
ManufactureTimeTypepublic void setManufactureTime(@Nullable ManufactureTimeType value)
value - allowed object is
ManufactureTimeType@Nullable public BestBeforeDateType getBestBeforeDate()
<?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>Item Instance. Best Before Date. Date</ccts:DictionaryEntryName><ccts:Definition>The date before which it is best to use this item instance.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Instance</ccts:ObjectClass><ccts:PropertyTerm>Best Before Date</ccts:PropertyTerm><ccts:RepresentationTerm>Date</ccts:RepresentationTerm><ccts:DataType>Date. Type</ccts:DataType></ccts:Component>
BestBeforeDateTypepublic void setBestBeforeDate(@Nullable BestBeforeDateType value)
value - allowed object is
BestBeforeDateType@Nullable public RegistrationIDType getRegistrationID()
<?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>Item Instance. Registration Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>The registration identifier of this item instance.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Instance</ccts:ObjectClass><ccts:PropertyTerm>Registration Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:Examples>car registration or licensing number</ccts:Examples></ccts:Component>
RegistrationIDTypepublic void setRegistrationID(@Nullable RegistrationIDType value)
value - allowed object is
RegistrationIDType@Nullable public SerialIDType getSerialID()
<?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>Item Instance. Serial Identifier. Identifier</ccts:DictionaryEntryName><ccts:Definition>The serial number of this item instance.</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Instance</ccts:ObjectClass><ccts:PropertyTerm>Serial Identifier</ccts:PropertyTerm><ccts:RepresentationTerm>Identifier</ccts:RepresentationTerm><ccts:DataType>Identifier. Type</ccts:DataType><ccts:Examples>chassis number of a car</ccts:Examples></ccts:Component>
SerialIDTypepublic void setSerialID(@Nullable SerialIDType value)
value - allowed object is
SerialIDType@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<ItemPropertyType> getAdditionalItemProperty()
<?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>Item Instance. Additional_ Item Property. Item Property</ccts:DictionaryEntryName><ccts:Definition>An additional property of this item instance.</ccts:Definition><ccts:Cardinality>0..n</ccts:Cardinality><ccts:ObjectClass>Item Instance</ccts:ObjectClass><ccts:PropertyTermQualifier>Additional</ccts:PropertyTermQualifier><ccts:PropertyTerm>Item Property</ccts:PropertyTerm><ccts:AssociatedObjectClass>Item Property</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Item Property</ccts:RepresentationTerm></ccts:Component>Gets the value of the additionalItemProperty 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 additionalItemProperty property.
For example, to add a new item, do as follows:
getAdditionalItemProperty().add(newItem);
Objects of the following type(s) are allowed in the list
ItemPropertyType
@Nullable public LotIdentificationType getLotIdentification()
<?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>Item Instance. Lot Identification</ccts:DictionaryEntryName><ccts:Definition>The lot identifier of this item instance (the identifier that allows recall of the item if necessary).</ccts:Definition><ccts:Cardinality>0..1</ccts:Cardinality><ccts:ObjectClass>Item Instance</ccts:ObjectClass><ccts:PropertyTerm>Lot Identification</ccts:PropertyTerm><ccts:AssociatedObjectClass>Lot Identification</ccts:AssociatedObjectClass><ccts:RepresentationTerm>Lot Identification</ccts:RepresentationTerm></ccts:Component>
LotIdentificationTypepublic void setLotIdentification(@Nullable LotIdentificationType value)
value - allowed object is
LotIdentificationTypepublic boolean equals(Object o)
public int hashCode()
public String toString()
public void setAdditionalItemProperty(@Nullable List<ItemPropertyType> aList)
aList - The new list member to set. May be null.public boolean hasAdditionalItemPropertyEntries()
true if at least one item is contained, false otherwise.public boolean hasNoAdditionalItemPropertyEntries()
true if no item is contained, false otherwise.@Nonnegative public int getAdditionalItemPropertyCount()
@Nullable public ItemPropertyType getAdditionalItemPropertyAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addAdditionalItemProperty(@Nonnull ItemPropertyType elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull ItemInstanceType 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 ItemInstanceType clone()
@Nonnull public ManufactureDateType setManufactureDate(@Nullable LocalDate valueParam)
valueParam - The value to be set. May be null.null@Nonnull public BestBeforeDateType setBestBeforeDate(@Nullable LocalDate valueParam)
valueParam - The value to be set. May be null.null@Nonnull public ManufactureTimeType setManufactureTime(@Nullable LocalTime valueParam)
valueParam - The value to be set. May be null.null@Nonnull public ProductTraceIDType setProductTraceID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public RegistrationIDType setRegistrationID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nonnull public SerialIDType setSerialID(@Nullable String valueParam)
valueParam - The value to be set. May be null.null@Nullable public String getProductTraceIDValue()
null@Nullable public LocalDate getManufactureDateValue()
null@Nullable public LocalTime getManufactureTimeValue()
null@Nullable public LocalDate getBestBeforeDateValue()
null@Nullable public String getRegistrationIDValue()
nullCopyright © 2014–2020 Philip Helger. All rights reserved.