Class TextContentType

java.lang.Object
com.helger.peppol.sbdh.spec12.TextContentType
All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable, Serializable, Cloneable

@CodingStyleguideUnaware public class TextContentType extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable

Java class for TextContentType complex type

.

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


 <complexType name="TextContentType">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>string">
       <attribute name="mimeType" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
     </extension>
   </simpleContent>
 </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

See Also:
  • Constructor Details

    • TextContentType

      public TextContentType()
  • Method Details

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

      @Nullable public String getMimeType()
      Gets the value of the mimeType property.
      Returns:
      possible object is String
    • setMimeType

      public void setMimeType(@Nullable String value)
      Sets the value of the mimeType 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 TextContentType 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 TextContentType 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.