Class QrSwissPaymentContentType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.QrSwissPaymentContentType
-
- All Implemented Interfaces:
FileDataType<byte[]>
public class QrSwissPaymentContentType extends Object implements FileDataType<byte[]>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p489299_="https://jakarta.ee/xml/ns/jaxb" xmlns:p517109_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p866921_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to select the content encoded in the barcode.</p>
Java class for QrSwissPaymentContentType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="QrSwissPaymentContentType"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> <attGroup ref="{http://schema.webpdf.de/1.0/operation}FileDataGroup"/> <attribute name="format" type="{http://schema.webpdf.de/1.0/operation}QrSwissPaymentContentFormatType" default="json" /> </extension> </simpleContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected QrSwissPaymentContentFormatTypeformat<?protected FileDataSourceTypesource<?protected Stringuri<?protected byte[]value
-
Constructor Summary
Constructors Constructor Description QrSwissPaymentContentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QrSwissPaymentContentFormatTypegetFormat()<?FileDataSourceTypegetSource()<?StringgetUri()<?byte[]getValue()Gets the value of the value property.booleanisSetFormat()booleanisSetSource()Returnstrue, if a file data source has been set.booleanisSetUri()Returnstrue, if a file source URI has been set.booleanisSetValue()Returnstrue, if a direct byte value has been set.voidsetFormat(QrSwissPaymentContentFormatType value)Sets the value of the format property.voidsetSource(FileDataSourceType value)Sets the value of the source property.voidsetUri(String value)Sets the value of the uri property.voidsetValue(byte[] value)Sets the value of the value property.
-
-
-
Field Detail
-
value
protected byte[] value
-
format
protected QrSwissPaymentContentFormatType format
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p489299_="https://jakarta.ee/xml/ns/jaxb" xmlns:p517109_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p866921_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the format of the encoded data. <ul><li>plain = The barcode shall contain plain text data.</li><li>json = The barcode shall contain structured json data.</li></ul></p>
-
source
protected FileDataSourceType source
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the data source for the hereby expressed resource. Possible values are: <ul><li>value = The element's value shall contain the BASE64 encoded data.</li><li>uri = The data shall be located at the given uri.</li></ul></p>
-
uri
protected String uri
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The uri the data shall be located at. (This shall only have effect, if the "source" is "uri".)</p>
-
-
Method Detail
-
getValue
public byte[] getValue()
Gets the value of the value property.- Specified by:
getValuein interfaceFileDataType<byte[]>- Returns:
- possible object is byte[]
-
setValue
public void setValue(byte[] value)
Sets the value of the value property.- Specified by:
setValuein interfaceFileDataType<byte[]>- Parameters:
value- allowed object is byte[]
-
isSetValue
public boolean isSetValue()
Description copied from interface:FileDataTypeReturnstrue, if a direct byte value has been set.- Specified by:
isSetValuein interfaceFileDataType<byte[]>- Returns:
true, if a direct byte value has been set.
-
getFormat
public QrSwissPaymentContentFormatType getFormat()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p489299_="https://jakarta.ee/xml/ns/jaxb" xmlns:p517109_="urn:jaxb.jvnet.org:plugin:simplify" xmlns:p866921_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the format of the encoded data. <ul><li>plain = The barcode shall contain plain text data.</li><li>json = The barcode shall contain structured json data.</li></ul></p>- Returns:
- possible object is
QrSwissPaymentContentFormatType
-
setFormat
public void setFormat(QrSwissPaymentContentFormatType value)
Sets the value of the format property.- Parameters:
value- allowed object isQrSwissPaymentContentFormatType- See Also:
getFormat()
-
isSetFormat
public boolean isSetFormat()
-
getSource
public FileDataSourceType getSource()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Selects the data source for the hereby expressed resource. Possible values are: <ul><li>value = The element's value shall contain the BASE64 encoded data.</li><li>uri = The data shall be located at the given uri.</li></ul></p>- Specified by:
getSourcein interfaceFileDataType<byte[]>- Returns:
- possible object is
FileDataSourceType
-
setSource
public void setSource(FileDataSourceType value)
Sets the value of the source property.- Specified by:
setSourcein interfaceFileDataType<byte[]>- Parameters:
value- allowed object isFileDataSourceType- See Also:
getSource()
-
isSetSource
public boolean isSetSource()
Description copied from interface:FileDataTypeReturnstrue, if a file data source has been set.- Specified by:
isSetSourcein interfaceFileDataType<byte[]>- Returns:
true, if a file data source has been set.
-
getUri
public String getUri()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The uri the data shall be located at. (This shall only have effect, if the "source" is "uri".)</p>
- Specified by:
getUriin interfaceFileDataType<byte[]>- Returns:
- possible object is
String
-
setUri
public void setUri(String value)
Sets the value of the uri property.- Specified by:
setUriin interfaceFileDataType<byte[]>- Parameters:
value- allowed object isString- See Also:
getUri()
-
isSetUri
public boolean isSetUri()
Description copied from interface:FileDataTypeReturnstrue, if a file source URI has been set.- Specified by:
isSetUriin interfaceFileDataType<byte[]>- Returns:
true, if a file source URI has been set.
-
-