Class FreeFormEffectivePeriodType
- java.lang.Object
-
- tr.gov.efatura.useraccount.FreeFormEffectivePeriodType
-
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Serializable,Cloneable
@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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FreeFormEffectivePeriodType()Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValidFrom(String elem)Created by ph-jaxb22-plugin -Xph-list-extensionvoidaddValidTo(String elem)Created by ph-jaxb22-plugin -Xph-list-extensionFreeFormEffectivePeriodTypeclone()Created by ph-jaxb22-plugin -Xph-cloneable2voidcloneTo(FreeFormEffectivePeriodType ret)This method clones all values fromthisto the passed object.booleanequals(Object o)Created by ph-jaxb22-plugin -Xph-equalshashcodeDurationgetDuration()Gets the value of the duration property.FreeFormDateTypegetEndDate()Gets the value of the endDate property.FreeFormDateTypegetStartDate()Gets the value of the startDate property.List<String>getValidFrom()Gets the value of the validFrom property.StringgetValidFromAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetValidFromCount()Created by ph-jaxb22-plugin -Xph-list-extensionList<String>getValidTo()Gets the value of the validTo property.StringgetValidToAtIndex(int index)Created by ph-jaxb22-plugin -Xph-list-extensionintgetValidToCount()Created by ph-jaxb22-plugin -Xph-list-extensioninthashCode()Created by ph-jaxb22-plugin -Xph-equalshashcodebooleanhasNoValidFromEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasNoValidToEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasValidFromEntries()Created by ph-jaxb22-plugin -Xph-list-extensionbooleanhasValidToEntries()Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetDuration(Duration value)Sets the value of the duration property.voidsetEndDate(FreeFormDateType value)Sets the value of the endDate property.voidsetStartDate(FreeFormDateType value)Sets the value of the startDate property.voidsetValidFrom(List<String> aList)Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetValidTo(List<String> aList)Created by ph-jaxb22-plugin -Xph-list-extensionStringtoString()Created by ph-jaxb22-plugin -Xph-tostring
-
-
-
Method Detail
-
getStartDate
@Nullable public FreeFormDateType getStartDate()
Gets the value of the startDate property.- Returns:
- possible object is
FreeFormDateType
-
setStartDate
public void setStartDate(@Nullable FreeFormDateType value)
Sets the value of the startDate property.- Parameters:
value- allowed object isFreeFormDateType
-
getEndDate
@Nullable public FreeFormDateType getEndDate()
Gets the value of the endDate property.- Returns:
- possible object is
FreeFormDateType
-
setEndDate
public void setEndDate(@Nullable FreeFormDateType value)
Sets the value of the endDate property.- Parameters:
value- allowed object isFreeFormDateType
-
getDuration
@Nullable public Duration getDuration()
Gets the value of the duration property.- Returns:
- possible object is
Duration
-
setDuration
public void setDuration(@Nullable Duration value)
Sets the value of the duration property.- Parameters:
value- allowed object isDuration
-
getValidFrom
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<String> getValidFrom()
Gets the value of the validFrom 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
setmethod 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
-
getValidTo
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<String> getValidTo()
Gets the value of the validTo 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
setmethod 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
-
equals
public boolean equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
-
hashCode
public int hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
-
toString
public String toString()
Created by ph-jaxb22-plugin -Xph-tostring
-
setValidFrom
public void setValidFrom(@Nullable List<String> aList)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
setValidTo
public void setValidTo(@Nullable List<String> aList)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May benull.
-
hasValidFromEntries
public boolean hasValidFromEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoValidFromEntries
public boolean hasNoValidFromEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getValidFromCount
@Nonnegative public int getValidFromCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getValidFromAtIndex
@Nullable public String getValidFromAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be
null - Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addValidFrom
public void addValidFrom(@Nonnull String elem)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
hasValidToEntries
public boolean hasValidToEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif at least one item is contained,falseotherwise.
-
hasNoValidToEntries
public boolean hasNoValidToEntries()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
trueif no item is contained,falseotherwise.
-
getValidToCount
@Nonnegative public int getValidToCount()
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getValidToAtIndex
@Nullable public String getValidToAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be
null - Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addValidTo
public void addValidTo(@Nonnull String elem)
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not benull.
-
cloneTo
public void cloneTo(@Nonnull FreeFormEffectivePeriodType ret)
This method clones all values fromthisto the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2- Parameters:
ret- The target object to clone to. May not benull.
-
clone
@Nonnull @ReturnsMutableCopy public FreeFormEffectivePeriodType clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
-
-