Class LocalizedStringType

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

    @CodingStyleguideUnaware
    public class LocalizedStringType
    extends Object
    implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
    This type allows the definition of a string value using the specified local language and character set. It is used within the InternationalStringType as the type of the LocalizedString sub-element.

    Java class for LocalizedStringType complex type.

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

    
     <complexType name="LocalizedStringType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en-US""/>
           <attribute name="value" use="required" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:4.0}FreeFormText" />
         </restriction>
       </complexContent>
     </complexType>
     

    This class was annotated by ph-jaxb-plugin -Xph-annotate

    This class contains methods created by ph-jaxb-plugin -Xph-equalshashcode

    This class contains methods created by ph-jaxb-plugin -Xph-tostring

    This class contains methods created by ph-jaxb-plugin -Xph-cloneable2

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

    See Also:
    Serialized Form
    • Constructor Detail

      • LocalizedStringType

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

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

      • getLang

        @Nullable
        public String getLang()
        Gets the value of the lang property.
        Returns:
        possible object is String
      • setLang

        public void setLang​(@Nullable
                            String value)
        Sets the value of the lang property.
        Parameters:
        value - allowed object is String
      • getValue

        @Nullable
        public String getValue()
        Gets the value of the value property.
        Returns:
        possible object is String
      • setValue

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

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

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

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

        public void cloneTo​(@Nonnull
                            LocalizedStringType ret)
        This method clones all values from this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb-plugin -Xph-cloneable2
        Parameters:
        ret - The target object to clone to. May not be null.
      • clone

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