Class FormattedNameType

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

    @CodingStyleguideUnaware
    public class FormattedNameType
    extends TextType
    This is a formatted presentation of a name (for example, a person name) that might alternatively presented as discretely fielded components or it could otherwise be a name that has alternative formatted representations. The formatCode is an optional attribute available to specify the applicable "mask" or type of format presentation to which the contents conforms. For example, in the case of the FormattedName of person formatCodes could be items such as: "Family Name, Given Name" "Given Name, Middle Initial, Family Name" "First Initial, Family Name" "Given Name, Last Initial" "Nick Name, Family Name"

    Java class for FormattedNameType complex type.

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

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

      • FormattedNameType

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

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

      • getFormatCode

        @Nullable
        public String getFormatCode()
        Gets the value of the formatCode property.
        Returns:
        possible object is String
      • setFormatCode

        public void setFormatCode​(@Nullable
                                  String value)
        Sets the value of the formatCode 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
                            FormattedNameType 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 FormattedNameType 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.