Class BinaryContentType

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

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

Java class for BinaryContentType complex type

.

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


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

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

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

      public void setValue(@Nullable byte[] value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is byte[]
    • 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
    • getEncoding

      @Nullable public 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(@Nonnull 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

      @Nonnull @ReturnsMutableCopy public BinaryContentType 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.