com.github.skjolber.bank.example.v1.GetAccountsResponse Maven / Gradle / Ivy
package com.github.skjolber.bank.example.v1;
import java.util.ArrayList;
import java.util.List;
import javax.activation.DataHandler;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlMimeType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="account" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"account",
"certificate"
})
@XmlRootElement(name = "getAccountsResponse")
public class GetAccountsResponse {
protected List account;
@XmlMimeType("application/octet-stream")
protected DataHandler certificate;
/**
* Gets the value of the account property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the account property.
*
*
* For example, to add a new item, do as follows:
*
* getAccount().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getAccount() {
if (account == null) {
account = new ArrayList();
}
return this.account;
}
/**
* Gets the value of the certificate property.
*
* @return
* possible object is
* {@link DataHandler }
*
*/
public DataHandler getCertificate() {
return certificate;
}
/**
* Sets the value of the certificate property.
*
* @param value
* allowed object is
* {@link DataHandler }
*
*/
public void setCertificate(DataHandler value) {
this.certificate = value;
}
}