@CodingStyleguideUnaware public class FreeFormEffectivePeriodType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
<?xml version="1.0" encoding="UTF-8"?><ccts:CategoryCode xmlns:ccts="urn:un:unece:uncefact:documentation:1.1" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">ABIE</ccts:CategoryCode>
<?xml version="1.0" encoding="UTF-8"?><ccts:DictionaryEntryName xmlns:ccts="urn:un:unece:uncefact:documentation:1.1" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">Effective Date Period. Details</ccts:DictionaryEntryName>
<?xml version="1.0" encoding="UTF-8"?><ccts:DefinitionText xmlns:ccts="urn:un:unece:uncefact:documentation:1.1" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">Indicates
the date period in which the associated component is effective. Based on the
same TimePeriodType UN/CEFACT ABIE (except start date is optional). The
xsd:choice between an EndDate and Duration also was removed for processing
simplicity. Generally, an EndDate or Duration would appear, but not both. This
usage rule is not enforced by the schema.</ccts:DefinitionText>
<?xml version="1.0" encoding="UTF-8"?><ccts:UsageRule xmlns:ccts="urn:un:unece:uncefact:documentation:1.1" xmlns="http://www.hr-xml.org/3" xmlns:oa="http://www.openapplications.org/oagis/9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">FreeFormEffectivePeriod also has effective dating attributes. </ccts:UsageRule>
Java class for FreeFormEffectivePeriodType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FreeFormEffectivePeriodType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.hr-xml.org/3}StartDate" minOccurs="0"/>
<element ref="{http://www.hr-xml.org/3}EndDate" minOccurs="0"/>
<element ref="{http://www.openapplications.org/oagis/9}Duration" minOccurs="0"/>
</sequence>
<attGroup ref="{http://www.hr-xml.org/3}EffectiveDateAttributeGroup"/>
</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 |
|---|
FreeFormEffectivePeriodType()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addValidFrom(String elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addValidTo(String elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
FreeFormEffectivePeriodType |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(FreeFormEffectivePeriodType ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
Duration |
getDuration()
Gets the value of the duration property.
|
FreeFormDateType |
getEndDate()
Gets the value of the endDate property.
|
FreeFormDateType |
getStartDate()
Gets the value of the startDate property.
|
List<String> |
getValidFrom()
Gets the value of the validFrom property.
|
String |
getValidFromAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getValidFromCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<String> |
getValidTo()
Gets the value of the validTo property.
|
String |
getValidToAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getValidToCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoValidFromEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoValidToEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasValidFromEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasValidToEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setDuration(Duration value)
Sets the value of the duration property.
|
void |
setEndDate(FreeFormDateType value)
Sets the value of the endDate property.
|
void |
setStartDate(FreeFormDateType value)
Sets the value of the startDate property.
|
void |
setValidFrom(List<String> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setValidTo(List<String> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public FreeFormEffectivePeriodType()
@Nullable public FreeFormDateType getStartDate()
FreeFormDateTypepublic void setStartDate(@Nullable FreeFormDateType value)
value - allowed object is
FreeFormDateType@Nullable public FreeFormDateType getEndDate()
FreeFormDateTypepublic void setEndDate(@Nullable FreeFormDateType value)
value - allowed object is
FreeFormDateType@Nullable public Duration getDuration()
Durationpublic void setDuration(@Nullable Duration value)
value - allowed object is
Duration@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<String> getValidFrom()
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 validFrom property.
For example, to add a new item, do as follows:
getValidFrom().add(newItem);
Objects of the following type(s) are allowed in the list
String
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<String> getValidTo()
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 validTo property.
For example, to add a new item, do as follows:
getValidTo().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setValidFrom(@Nullable List<String> aList)
aList - The new list member to set. May be null.public void setValidTo(@Nullable List<String> aList)
aList - The new list member to set. May be null.public boolean hasValidFromEntries()
true if at least one item is contained, false otherwise.public boolean hasNoValidFromEntries()
true if no item is contained, false otherwise.@Nonnegative public int getValidFromCount()
@Nullable public String getValidFromAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addValidFrom(@Nonnull String elem)
elem - The element to be added. May not be null.public boolean hasValidToEntries()
true if at least one item is contained, false otherwise.public boolean hasNoValidToEntries()
true if no item is contained, false otherwise.@Nonnegative public int getValidToCount()
@Nullable public String getValidToAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addValidTo(@Nonnull String elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull FreeFormEffectivePeriodType 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 FreeFormEffectivePeriodType clone()
Copyright © 2016–2020 Philip Helger. All rights reserved.