Class BinaryContentType

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

@CodingStyleguideUnaware public class BinaryContentType extends Object implements Serializable, com.helger.base.lang.IExplicitlyCloneable
<p>Java class for BinaryContentType complex type</p>. <p>The following schema fragment specifies the expected content contained within this class.</p> <pre>{@code <complexType name="BinaryContentType"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> <attribute name="mimeType" use="required" type="{http://www.w3.org/2001/XMLSchema}token" /> <attribute name="encoding" type="{http://www.w3.org/2001/XMLSchema}token" /> </extension> </simpleContent> </complexType> }</pre>

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

    • BinaryContentType

      public BinaryContentType()
  • Method Details

    • getValue

      public @org.jspecify.annotations.Nullable byte[] getValue()
      Gets the value of the value property.
      Returns:
      possible object is byte[]
    • setValue

      public void setValue(@org.jspecify.annotations.Nullable byte[] value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is byte[]
    • getMimeType

      public @Nullable 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
    • getEncoding

      public @Nullable String getEncoding()
      Gets the value of the encoding property.
      Returns:
      possible object is String
    • setEncoding

      public void setEncoding(@Nullable String value)
      Sets the value of the encoding 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(BinaryContentType 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

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