Class MiddleNameType

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

    @CodingStyleguideUnaware
    public class MiddleNameType
    extends TextType
    This is a second "given name" or sometimes depending on cultural context, representative of family relationships. A middle name can have a prefix. For example, in Saudi names the word "Bin" means "son of" and would be a common prefix to a middle name usually representing the first name of the person's father. Some implementers may choose not to represent a prefix separately from a middle name. However, it may be desirable to do so for a number of reasons: 1. name sorting. For example, to support sorting on first letter of prefix and then by first letter of the middle name. 2. formatting. For example, depending on the cultural context in which the name is presented, the type of delimiter (e.g., a space or a hyphen) between the prefix and the family name (or whether a delimiter appears at) all may depend on the "alphabet" and/or cultural context in which the name is presented.

    Java class for MiddleNameType complex type.

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

     <complexType name="MiddleNameType">
       <simpleContent>
         <extension base="<http://www.openapplications.org/oagis/9>TextType">
           <attribute name="prefix" type="{http://www.openapplications.org/oagis/9}StringType" />
         </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-cloneable2

    This class contains methods created by ph-jaxb22-plugin -Xph-value-extender

    See Also:
    Serialized Form
    • Constructor Detail

      • MiddleNameType

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

        public MiddleNameType​(@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

      • getPrefix

        @Nullable
        public String getPrefix()
        Gets the value of the prefix property.
        Returns:
        possible object is String
      • setPrefix

        public void setPrefix​(@Nullable
                              String value)
        Sets the value of the prefix property.
        Parameters:
        value - allowed object is String
      • equals

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

        public int hashCode()
        Created by ph-jaxb22-plugin -Xph-equalshashcode
        Overrides:
        hashCode in class TextType
      • toString

        public String toString()
        Created by ph-jaxb22-plugin -Xph-tostring
        Overrides:
        toString in class TextType
      • cloneTo

        public void cloneTo​(@Nonnull
                            MiddleNameType 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 MiddleNameType clone()
        Created by ph-jaxb22-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Overrides:
        clone in class TextType
        Returns:
        The cloned object. Never null.