Class IdentifierType

  • All Implemented Interfaces:
    com.helger.commons.lang.IExplicitlyCloneable, Serializable, Cloneable

    @CodingStyleguideUnaware
    public class IdentifierType
    extends IdentifierType

    Java class for IdentifierType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="IdentifierType">
       <simpleContent>
         <extension base="<http://www.openapplications.org/oagis/9>IdentifierType">
           <attGroup ref="{http://www.hr-xml.org/3}EffectiveDateAttributeGroup"/>
         </extension>
       </simpleContent>
     </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 Detail

      • IdentifierType

        public IdentifierType()
        Default constructor
        Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
      • IdentifierType

        public IdentifierType​(@Nullable
                              String valueParam)
        Constructor for value of type String calling super class constructor.
        Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
        Parameters:
        valueParam - The value to be set. May be null.
    • Method Detail

      • 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 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

      • 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 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

      • equals

        public boolean equals​(Object o)
        Created by ph-jaxb22-plugin -Xph-equalshashcode
        Overrides:
        equals in class IdentifierType
      • hashCode

        public int hashCode()
        Created by ph-jaxb22-plugin -Xph-equalshashcode
        Overrides:
        hashCode in class IdentifierType
      • 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 be null.
      • 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 be null.
      • hasValidFromEntries

        public boolean hasValidFromEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if at least one item is contained, false otherwise.
      • hasNoValidFromEntries

        public boolean hasNoValidFromEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if no item is contained, false otherwise.
      • getValidFromCount

        @Nonnegative
        public int getValidFromCount()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        The number of contained elements. Always ≥ 0.
      • addValidFrom

        public void addValidFrom​(@Nonnull
                                 String elem)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        elem - The element to be added. May not be null.
      • hasValidToEntries

        public boolean hasValidToEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if at least one item is contained, false otherwise.
      • hasNoValidToEntries

        public boolean hasNoValidToEntries()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        true if no item is contained, false otherwise.
      • getValidToCount

        @Nonnegative
        public int getValidToCount()
        Created by ph-jaxb22-plugin -Xph-list-extension
        Returns:
        The number of contained elements. Always ≥ 0.
      • addValidTo

        public void addValidTo​(@Nonnull
                               String elem)
        Created by ph-jaxb22-plugin -Xph-list-extension
        Parameters:
        elem - The element to be added. May not be null.
      • cloneTo

        public void cloneTo​(@Nonnull
                            IdentifierType ret)
        This method clones all values from this to 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 be null.
      • clone

        @Nonnull
        @ReturnsMutableCopy
        public IdentifierType clone()
        Created by ph-jaxb22-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Overrides:
        clone in class IdentifierType
        Returns:
        The cloned object. Never null.