index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/jwt/AppJWTSigner.java | package bluecrystal.service.jwt;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.NoSuchProviderException;
import java.security.PrivateKey;
import java.security.Signature;
import java.security.SignatureException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import org.apache.commons.codec.binary.Base64;
import com.auth0.jwt.JWTAlgorithmException;
import com.auth0.jwt.internal.org.apache.commons.lang3.StringUtils;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.JsonNodeFactory;
import com.fasterxml.jackson.databind.node.ObjectNode;
public class AppJWTSigner {
private byte[] secret;
private PrivateKey privateKey;
// Default algorithm HMAC SHA-256 ("HS256")
protected final static AppAlgorithm DEFAULT_ALGORITHM = AppAlgorithm.HS256;
public AppJWTSigner(final String secret) {
this.secret = secret.getBytes();
}
public AppJWTSigner(final byte[] secret) {
this.secret = secret;
}
public AppJWTSigner(PrivateKey privateKey) {
super();
this.privateKey = privateKey;
}
public String sign(final Map<String, Object> claims, final AppAlgorithm algorithm) throws Exception {
String preSign = preSign(claims, algorithm);
byte[] preEncoded = signByAlg(preSign, algorithm);
String signed = postSign(preEncoded, preSign);
return signed;
}
public String preSign(final Map<String, Object> claims, final AppAlgorithm alg) {
final AppAlgorithm algorithm = (alg != null) ? alg : DEFAULT_ALGORITHM;
final List<String> segments = new ArrayList<>();
try {
segments.add(encodedHeader(algorithm));
segments.add(encodedPayload(claims));
String joinPreSign = join(segments, ".");
return joinPreSign;
} catch (Exception e) {
throw new RuntimeException(e.getCause());
}
}
public String postSign(
byte[] preEncoded, // final AppAlgorithm alg,
String preSign) {
final List<String> segments = new ArrayList<>();
try {
String post = postEncodedSignature(preEncoded);
segments.add(preSign);
segments.add(post);
String joinPostSign = join(segments, ".");
return joinPostSign;
} catch (Exception e) {
throw new RuntimeException(e.getCause());
}
}
/**
* Generate the header part of a JSON web token.
*/
private String encodedHeader(final AppAlgorithm algorithm) throws UnsupportedEncodingException {
// Validate.notNull(algorithm);
// create the header
final ObjectNode header = JsonNodeFactory.instance.objectNode();
header.put("typ", "JWT");
header.put("alg", algorithm.name());
return base64UrlEncode(header.toString().getBytes("UTF-8"));
}
/**
* Generate the JSON web token payload string from the claims.
*
* @param options
*/
private String encodedPayload(final Map<String, Object> _claims) throws IOException {
final Map<String, Object> claims = new HashMap<>(_claims);
// enforceStringOrURI(claims, "iss");
// enforceStringOrURI(claims, "sub");
// enforceStringOrURICollection(claims, "aud");
// enforceIntDate(claims, "exp");
// enforceIntDate(claims, "nbf");
// enforceIntDate(claims, "iat");
// enforceString(claims, "jti");
// if (options != null) {
// processPayloadOptions(claims, options);
// }
final String payload = new ObjectMapper().writeValueAsString(claims);
return base64UrlEncode(payload.getBytes("UTF-8"));
}
private String base64UrlEncode(final byte[] str) {
// Validate.notNull(str);
return new String(Base64.encodeBase64URLSafe(str));
}
private String join(final List<String> input, final String separator) {
// Validate.notNull(input);
// Validate.notNull(separator);
return StringUtils.join(input.iterator(), separator);
}
public byte[] signByAlg(final String signingInput, final AppAlgorithm algorithm)
throws NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException,
JWTAlgorithmException {
// Validate.notNull(signingInput);
// Validate.notNull(algorithm);
switch (algorithm) {
case HS256:
case HS384:
case HS512:
return signHmac(algorithm, signingInput, secret);
case RS256:
case RS384:
case RS512:
return signRs(algorithm, signingInput, privateKey);
default:
throw new JWTAlgorithmException("Unsupported signing method");
}
}
private String postEncodedSignature(byte[] preEncoded)
throws NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException,
JWTAlgorithmException {
return base64UrlEncode(preEncoded);
}
// private String encodedSignature(final String signingInput, final AppAlgorithm algorithm) throws Exception {
// byte[] preEncoded = signByAlg(signingInput, algorithm);
// return postEncodedSignature(preEncoded);
// }
// private String encodedSignature(final String signingInput, final AppAlgorithm algorithm)
// throws NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException,
// JWTAlgorithmException {
// // Validate.notNull(signingInput);
// // Validate.notNull(algorithm);
// switch (algorithm) {
// case HS256:
// case HS384:
// case HS512:
// return base64UrlEncode(signHmac(algorithm, signingInput, secret));
// case RS256:
// case RS384:
// case RS512:
// return base64UrlEncode(signRs(algorithm, signingInput, privateKey));
// default:
// throw new JWTAlgorithmException("Unsupported signing method");
// }
// }
private static byte[] signHmac(final AppAlgorithm algorithm, final String msg, final byte[] secret)
throws NoSuchAlgorithmException, InvalidKeyException {
// Validate.notNull(algorithm);
// Validate.notNull(msg);
// Validate.notNull(secret);
final Mac mac = Mac.getInstance(algorithm.getValue());
mac.init(new SecretKeySpec(secret, algorithm.getValue()));
return mac.doFinal(msg.getBytes());
}
private static byte[] signRs(final AppAlgorithm algorithm, final String msg, final PrivateKey privateKey)
throws NoSuchProviderException, NoSuchAlgorithmException, InvalidKeyException, SignatureException {
// Validate.notNull(algorithm);
// Validate.notNull(msg);
// Validate.notNull(privateKey);
final byte[] messageBytes = msg.getBytes();
final Signature signature = Signature.getInstance(algorithm.getValue(), "BC");
signature.initSign(privateKey);
signature.update(messageBytes);
return signature.sign();
}
} |
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/jwt/Claim.java | package bluecrystal.service.jwt;
import java.util.HashMap;
//https://tools.ietf.org/html/rfc7519
//4.1. Registered Claim Names . . . . . . . . . . . . . . . . . 9
//4.1.1. "iss" (Issuer) Claim . . . . . . . . . . . . . . . . 9
//4.1.2. "sub" (Subject) Claim . . . . . . . . . . . . . . . . 9
//4.1.3. "aud" (Audience) Claim . . . . . . . . . . . . . . . 9
//4.1.4. "exp" (Expiration Time) Claim . . . . . . . . . . . . 9
//4.1.5. "nbf" (Not Before) Claim . . . . . . . . . . . . . . 10
//4.1.6. "iat" (Issued At) Claim . . . . . . . . . . . . . . . 10
//4.1.7. "jti" (JWT ID) Claim . . . . . . . . . . . . . . . . 10
public class Claim {
private String iss;
private String sub;
private String aud;
private Long exp;
private Long nbf;
private Long iat;
private String jti;
public Claim() {
super();
// TODO Auto-generated constructor stub
}
public Claim(String issuer, String subject, String audience, Long expirationTime, Long notBefore, Long issuedAt,
String jwtId) {
super();
this.iss = issuer;
this.sub = subject;
this.aud = audience;
this.exp = expirationTime;
this.nbf = notBefore;
this.iat = issuedAt;
this.jti = jwtId;
}
public String getIssuer() {
return iss;
}
public String getSubject() {
return sub;
}
public String getAudience() {
return aud;
}
public Long getExpirationTime() {
return exp;
}
public Long getNotBefore() {
return nbf;
}
public Long getIssuedAt() {
return iat;
}
public String getJwtId() {
return jti;
}
public HashMap<String, Object> toMap(){
final HashMap<String, Object> claims = new HashMap<String, Object>();
if(iss != null){
claims.put("iss", iss);
}
if(sub != null){
claims.put("sub", sub);
}
if(aud != null){
claims.put("aud", aud);
}
if(exp != null){
claims.put("exp", exp);
}
if(nbf != null){
claims.put("nbf", nbf);
}
if(iat != null){
claims.put("iat", iat);
}
if(jti != null){
claims.put("jti", jti);
}
return claims;
}
public boolean isEmpty() {
if(iss != null){
return false;
}
if(sub != null){
return false;
}
if(aud != null){
return false;
}
if(exp != null){
return false;
}
if(nbf != null){
return false;
}
if(iat != null){
return false;
}
if(jti != null){
return false;
}
return true;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/jwt/Credential.java | package bluecrystal.service.jwt;
public interface Credential {
public AppAlgorithm getAlgorithn();
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/jwt/CredentialJHmac.java | package bluecrystal.service.jwt;
public class CredentialJHmac implements Credential {
private byte[] secret;
public CredentialJHmac() {
super();
// TODO Auto-generated constructor stub
}
public CredentialJHmac(byte[] secret) {
super();
this.secret = secret;
}
public byte[] getSecret() {
return secret;
}
@Override
public AppAlgorithm getAlgorithn() {
return AppAlgorithm.HS256;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/jwt/CredentialPKey.java | package bluecrystal.service.jwt;
import java.security.PrivateKey;
import java.security.PublicKey;
import bluecrystal.bcdeps.helper.PkiOps;
public class CredentialPKey implements Credential {
private PrivateKey privateKey;
private PublicKey publicKey;
public CredentialPKey(PrivateKey privateKey, PublicKey publicKey) {
super();
this.privateKey = privateKey;
this.publicKey = publicKey;
}
public CredentialPKey(String publicKey) throws Exception {
super();
PkiOps ops = new PkiOps();
this.privateKey = null;
this.publicKey = ops.createPublicKey(publicKey);
// byte[] pkBytes = Base64.decode(publicKey);
// this.publicKey = KeyFactory.getInstance("RSA").generatePublic(new X509EncodedKeySpec(pkBytes));
}
public CredentialPKey() {
super();
// TODO Auto-generated constructor stub
}
@Override
public AppAlgorithm getAlgorithn() {
return AppAlgorithm.RS256;
}
public PrivateKey getPrivateKey() {
return privateKey;
}
public PublicKey getPublicKey() {
return publicKey;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/jwt/JwtService.java | package bluecrystal.service.jwt;
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.security.SignatureException;
import java.util.HashMap;
import java.util.Map;
import com.auth0.jwt.JWTVerifier;
import com.auth0.jwt.JWTVerifyException;
public class JwtService {
public String sign(Claim claim, Credential credential) throws Exception {
String preSign = preSign(claim, credential);
byte[] preEncoded = sign(claim, credential, preSign);
return postSign(credential, preSign, preEncoded);
}
public String preSign(Claim claim, Credential credential) throws Exception {
AppJWTSigner signer = null;
signer = createSigner(credential);
HashMap<String, Object> claimMap = claim.toMap();
AppAlgorithm alg = credential.getAlgorithn();
String preSign = signer.preSign(claimMap, alg);
return preSign;
}
public byte[] sign(Claim claim, Credential credential, String preSign) throws Exception {
AppJWTSigner signer = null;
signer = createSigner(credential);
AppAlgorithm alg = credential.getAlgorithn();
byte[] preEncoded = signer.signByAlg(preSign, alg);
return preEncoded;
}
private AppJWTSigner createSigner(Credential credential) {
AppJWTSigner signer;
if (credential instanceof CredentialJHmac) {
CredentialJHmac tmpCred = (CredentialJHmac) credential;
signer = new AppJWTSigner(tmpCred.getSecret());
} else {
CredentialPKey tmpCred = (CredentialPKey) credential;
signer = new AppJWTSigner(tmpCred.getPrivateKey());
}
return signer;
}
public String postSign(Credential credential, String preSign, byte[] preEncoded) throws Exception {
AppJWTSigner signer = null;
signer = createSigner(credential);
String signed = signer.postSign(preEncoded, preSign);
return signed;
}
public Claim verify(String token, Credential credential) throws Exception {
JWTVerifier verifier = null;
verifier = createVerifier(credential, verifier);
try {
return buildClaim(token, verifier);
} catch (JWTVerifyException e) {
e.printStackTrace();
}
return new Claim();
}
private JWTVerifier createVerifier(Credential credential, JWTVerifier verifier) {
if (credential instanceof CredentialJHmac) {
CredentialJHmac tmpCred = (CredentialJHmac) credential;
verifier = new JWTVerifier(tmpCred.getSecret());
} else {
CredentialPKey tmpCred = (CredentialPKey) credential;
verifier = new JWTVerifier(tmpCred.getPublicKey());
}
return verifier;
}
private Claim buildClaim(String token, JWTVerifier verifier)
throws NoSuchAlgorithmException, InvalidKeyException, IOException, SignatureException, JWTVerifyException {
final Map<String, Object> claimMap = verifier.verify(token);
Integer exp = (Integer) claimMap.get("exp");
Integer nbf = (Integer) claimMap.get("nbf");
Integer iat = (Integer) claimMap.get("iat");
Claim claims = new Claim((String) claimMap.get("iss"), (String) claimMap.get("sub"),
(String) claimMap.get("aud"),
(Long) (exp != null ? exp.longValue() : null),
(Long) (nbf != null ? nbf.longValue() : null),
(Long) (iat != null ? iat.longValue() : null),
(String) claimMap.get("jti"));
return claims;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/jwt/Signer.java | package bluecrystal.service.jwt;
import java.util.HashMap;
import com.auth0.jwt.JWTSigner;
public class Signer {
// private JWTSigner signer;
//
// public Signer(Credential credential) {
// super();
// if(credential instanceof CredentialJHmac){
// CredentialJHmac tmpCred = (CredentialJHmac) credential;
// this.signer = new JWTSigner(tmpCred.getSecret());
// } else {
// CredentialPKey tmpCred = (CredentialPKey) credential;
// this.signer = new JWTSigner(tmpCred.getPrivateKey());
//
// }
// }
//
// public String sign(Claim claim){
// HashMap<String, Object> map = claim.toMap();
// return signer.sign(map);
// }
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/jwt/Verifier.java | package bluecrystal.service.jwt;
import java.util.Map;
import com.auth0.jwt.JWTVerifier;
import com.auth0.jwt.JWTVerifyException;
public class Verifier {
private JWTVerifier verifier;
// public Verifier(Credential credential) {
// super();
// if(credential instanceof CredentialJHmac){
// CredentialJHmac tmpCred = (CredentialJHmac) credential;
// this.verifier = new JWTVerifier(tmpCred.getSecret());
// } else {
// CredentialPKey tmpCred = (CredentialPKey) credential;
// this.verifier = new JWTVerifier(tmpCred.getPublicKey());
// }
// }
//
// public boolean verify(String token) throws Exception {
// try {
// final Map<String,Object> claims= verifier.verify(token);
// return true;
// } catch (JWTVerifyException e) {
// }
// return false;
// }
// public Claim verify(String token) throws Exception {
// try {
// final Map<String,Object> claimMap= verifier.verify(token);
// Integer exp = (Integer) claimMap.get("exp");
// Integer nbf = (Integer) claimMap.get("nbf");
// Integer iat = (Integer) claimMap.get("iat");
// Claim claims = new Claim((String) claimMap.get("iss"),(String) claimMap.get("sub"),(String) claimMap.get("aud"),
// (Long) (exp != null?exp.longValue():null),
// (Long) (nbf != null?exp.longValue():null),
// (Long) (iat != null?exp.longValue():null),
// (String) claimMap.get("jti"));
// return claims;
// } catch (JWTVerifyException e) {
// }
// return new Claim();
// }
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/CacheManager.java | package bluecrystal.service.loader;
import java.security.cert.X509CRL;
import java.util.Date;
import org.bouncycastle.cert.ocsp.OCSPResp;
public interface CacheManager {
Object getInCache(String url, Date date);
// boolean checkInCache(String url, Date date);
void addToCache(String url, X509CRL crl);
void addToCache(String url, OCSPResp ocspResp);
} |
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/ExternalLoaderHttp.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.loader;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ExternalLoaderHttp implements HttpLoader {
static final Logger LOG = LoggerFactory.getLogger(ExternalLoaderHttp.class);
private static final int BUFFER_SIZE = 64 * 1024;
public ExternalLoaderHttp() {
super();
}
/* (non-Javadoc)
* @see bluecrystal.service.loader.ExternalLoaderHttp#getfromUrl(java.lang.String)
*/
public byte[] get(String url) throws MalformedURLException,
IOException {
URLConnection conn = createConn(url);
byte[] ret = null;
try {
ret = getBinResponse(conn);
} catch (Throwable e) {
LOG.error("Could not load through HTTP(S) "+ url, e);
throw new RuntimeException(e);
}
return ret;
}
private static byte[] getBinResponse(URLConnection conn) throws Exception {
List buffer = new ArrayList();
byte[] ret = null;
InputStream is = conn.getInputStream();
int size = 0, readLen = 0;
readLen = is.available() < BUFFER_SIZE ? is.available() : BUFFER_SIZE;
ret = new byte[readLen];
int gotFromIs = is.read(ret);
int cnt = 0;
while (gotFromIs != -1) {
if (gotFromIs > 0) {
buffer.add(ret);
if (readLen > 0 || gotFromIs > 0 ) {
LOG.debug("# [" + cnt +"]" + size + " => " + readLen + " : "+gotFromIs);
} else {
LOG.debug("*");
}
size += ret.length;
}
readLen = is.available() < BUFFER_SIZE ? is.available()
: BUFFER_SIZE;
for (int i = 0; i < 5; i++) {
if (readLen != 0) {
ret = new byte[readLen];
break;
}
Thread.sleep(500);
readLen = is.available() < BUFFER_SIZE ? is.available()
: BUFFER_SIZE;
}
gotFromIs = is.read(ret);
cnt += 1;
}
if (is.read() != -1) {
}
int index = 0;
Iterator it = buffer.iterator();
ret = new byte[size];
while (it.hasNext()) {
byte[] nextBuff = (byte[]) it.next();
LOG.debug("cp (" + ret.length + ") : " + index + " => "
+ nextBuff.length);
System.arraycopy(nextBuff, 0, ret, index, nextBuff.length);
index += nextBuff.length;
}
return ret;
}
private static URLConnection createConn(String serverUrl)
throws MalformedURLException, IOException {
URL url = new URL(serverUrl);
URLConnection conn = url.openConnection();
return conn;
}
@Override
public byte[] post(String url, String contentType, byte[] body) throws MalformedURLException, IOException {
URL u = new URL(url);
HttpURLConnection con = (HttpURLConnection) u.openConnection();
con.setAllowUserInteraction(false);
con.setDoInput(true);
con.setDoOutput(true);
con.setUseCaches(false);
con.setInstanceFollowRedirects(false);
con.setRequestMethod("POST");
con.setRequestProperty("Content-Length", Integer.toString(body.length));
con.setRequestProperty("Content-Type", contentType);
con.connect();
OutputStream os = con.getOutputStream();
os.write(body);
os.close();
if (con.getResponseCode() != HttpURLConnection.HTTP_OK) {
throw new IOException("Server did not respond with HTTP_OK(200) but with " + con.getResponseCode());
}
if ((con.getContentType() == null) || !con.getContentType().equals("application/ocsp-response")) {
throw new IOException("Response MIME type is not application/ocsp-response");
}
// Read response
InputStream reader = con.getInputStream();
int resplen = con.getContentLength();
byte[] ocspResponseEncoded = new byte[resplen];
int offset = 0;
int bread;
while ((resplen > 0) && (bread = reader.read(ocspResponseEncoded, offset, resplen)) != -1) {
offset += bread;
resplen -= bread;
}
reader.close();
con.disconnect();
return ocspResponseEncoded;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/ExternalLoaderHttpNio.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.loader;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.nio.ByteBuffer;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ExternalLoaderHttpNio implements HttpLoader {
static final Logger LOG = LoggerFactory.getLogger(ExternalLoaderHttpNio.class);
private static final int BUFFER_SIZE = 4 * 1024 * 1024;
public ExternalLoaderHttpNio() {
super();
}
public byte[] get(String urlName) throws MalformedURLException,
IOException {
int totalRead = 0;
URL url = new URL(urlName);
ReadableByteChannel rbc = Channels.newChannel(url.openStream());
ByteBuffer buf = ByteBuffer.allocateDirect(BUFFER_SIZE);
while (rbc.read(buf) != -1) {
}
buf.flip();
totalRead = buf.limit();
LOG.debug("baixado: " + totalRead + " bytes de [" + urlName + "]");
byte[] b = new byte[totalRead];
buf.get(b, 0, totalRead);
rbc.close();
return b;
}
@Override
public byte[] post(String url, String contentType, byte[] body) throws MalformedURLException, IOException {
URL u = new URL(url);
HttpURLConnection con = (HttpURLConnection) u.openConnection();
con.setAllowUserInteraction(false);
con.setDoInput(true);
con.setDoOutput(true);
con.setUseCaches(false);
con.setInstanceFollowRedirects(false);
con.setRequestMethod("POST");
con.setRequestProperty("Content-Length", Integer.toString(body.length));
con.setRequestProperty("Content-Type", contentType);
con.connect();
OutputStream os = con.getOutputStream();
os.write(body);
os.close();
if (con.getResponseCode() != HttpURLConnection.HTTP_OK) {
throw new IOException("Server did not respond with HTTP_OK(200) but with " + con.getResponseCode());
}
if ((con.getContentType() == null) || !con.getContentType().equals("application/ocsp-response")) {
throw new IOException("Response MIME type is not application/ocsp-response");
}
// Read response
InputStream reader = con.getInputStream();
int resplen = con.getContentLength();
byte[] ocspResponseEncoded = new byte[resplen];
int offset = 0;
int bread;
while ((resplen > 0) && (bread = reader.read(ocspResponseEncoded, offset, resplen)) != -1) {
offset += bread;
resplen -= bread;
}
reader.close();
con.disconnect();
return ocspResponseEncoded;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/FSRepoLoader.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.loader;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import bluecrystal.service.interfaces.RepoLoader;
import bluecrystal.service.util.PrefsFactory;
public class FSRepoLoader implements RepoLoader {
private String certFolder = PrefsFactory.getCertFolder(); //$NON-NLS-1$
@Override
public InputStream load(String key) throws Exception {
FileInputStream fis = null;
fis = new FileInputStream(getFullPath(key));
return fis;
}
@Override
public InputStream loadFromContent(String key) {
// TODO Auto-generated method stub
return null;
}
@Override
public String Put(InputStream input, String key) {
// TODO Auto-generated method stub
return null;
}
@Override
public String PutInSupport(InputStream input, String key) {
// TODO Auto-generated method stub
return null;
}
@Override
public String PutInContent(InputStream input, String key) {
// TODO Auto-generated method stub
return null;
}
@Override
public String checkContentByHash(String sha256) {
// TODO Auto-generated method stub
return null;
}
@Override
public String PutIn(InputStream input, String key, String bucket) {
// TODO Auto-generated method stub
return null;
}
@Override
public String PutDirect(InputStream input, String key, String bucket) {
// TODO Auto-generated method stub
return null;
}
@Override
public String createAuthUrl(String object) throws Exception {
// TODO Auto-generated method stub
return null;
}
@Override
public boolean isDir(String object) throws Exception {
File f = new File (getFullPath(object));
return f.isDirectory();
}
@Override
public String getFullPath(String object) {
return certFolder + File.separator+ object;
}
@Override
public boolean exists(String object) throws Exception {
File f = new File (getFullPath(object));
return f.exists();
}
@Override
public String[] list(String object) throws Exception {
File f = new File (getFullPath(object));
String[] fList = f.list();
String[] ret = new String[fList.length];
for(int i =0; i < fList.length; i++ ){
ret[i] = object + File.separator + fList[i];
}
return ret; }
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/FSZipRepoLoader.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.loader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import bluecrystal.service.interfaces.RepoLoader;
import bluecrystal.service.util.PrefsFactory;
public class FSZipRepoLoader implements RepoLoader {
private String certFolder = PrefsFactory.getCertFolder(); // $NON-NLS-1$
private byte[] content;
@Override
public InputStream load(String key) throws Exception {
if(content == null){
System.out.println("loading....");
String pathName = certFolder+".zip";
FileInputStream fis = null;
fis = new FileInputStream(pathName);
content = new byte[fis.available()];
fis.read(content);
fis.close();
}
InputStream myIs = new ByteArrayInputStream(content);
ZipInputStream zis = new ZipInputStream(myIs);
ZipEntry ze = zis.getNextEntry();
long totalLen = 0l;
ByteArrayOutputStream outBuffer = new ByteArrayOutputStream();
while (ze != null) {
if (!ze.isDirectory()
&& ze.getName().startsWith(key)
) {
totalLen += ze.getSize();
int len = 0;
byte[] buffer = new byte[1024];
while ((len = zis.read(buffer)) > 0) {
outBuffer.write(buffer, 0, len);
}
}
zis.closeEntry();
outBuffer.write("\n".getBytes(), 0, 1);
ze = zis.getNextEntry();
}
byte[] b = outBuffer.toByteArray();
System.out.println("Total Size ( " + totalLen + " ) ");
System.out.println("Total Size ( " + b.length + " ) ");
zis.close();
return new ByteArrayInputStream(b);
}
@Override
public boolean isDir(String object) throws Exception {
return false;
}
@Override
public String getFullPath(String object) {
return certFolder+".zip";
}
@Override
public boolean exists(String object) throws Exception {
File f = new File(getFullPath(object));
return f.exists();
}
@Override
public String[] list(String object) throws Exception {
return null;
}
@Override
public InputStream loadFromContent(String key) {
// TODO Auto-generated method stub
return null;
}
@Override
public String Put(InputStream input, String key) {
// TODO Auto-generated method stub
return null;
}
@Override
public String PutInSupport(InputStream input, String key) {
// TODO Auto-generated method stub
return null;
}
@Override
public String PutInContent(InputStream input, String key) {
// TODO Auto-generated method stub
return null;
}
@Override
public String checkContentByHash(String sha256) {
// TODO Auto-generated method stub
return null;
}
@Override
public String PutIn(InputStream input, String key, String bucket) {
// TODO Auto-generated method stub
return null;
}
@Override
public String PutDirect(InputStream input, String key, String bucket) {
// TODO Auto-generated method stub
return null;
}
@Override
public String createAuthUrl(String object) throws Exception {
// TODO Auto-generated method stub
return null;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/HttpLoader.java | package bluecrystal.service.loader;
import java.io.IOException;
import java.net.MalformedURLException;
public interface HttpLoader {
public byte[] get(String url) throws MalformedURLException, IOException;
public byte[] post(String url, String contentType, byte[] body) throws MalformedURLException, IOException;
} |
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/LCRLoader.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.loader;
import java.io.IOException;
import java.security.cert.CRLException;
import java.security.cert.CertificateException;
import java.security.cert.X509CRL;
import java.util.Date;
import java.util.List;
public interface LCRLoader {
public X509CRL get(byte[] dists, Date date) throws CertificateException, CRLException, IOException;
public X509CRL get(List<String> dists, Date date) throws CertificateException, CRLException, IOException;
} |
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/LCRLoaderImpl.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.loader;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.security.cert.CRLException;
import java.security.cert.CertificateException;
import java.security.cert.CertificateFactory;
import java.security.cert.X509CRL;
import java.util.Date;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import bluecrystal.service.util.PrefsFactory;
public class LCRLoaderImpl implements LCRLoader {
static final Logger LOG = LoggerFactory.getLogger(LCRLoaderImpl.class);
private static CacheManager localCache = null;
// private static String cacheType = Messages.getString("LCRLoader.cacheType");
static {
localCache = PrefsFactory.getCacheManager();
// try {
// localCache = (CacheManager) Class
// .forName(cacheType)
// .newInstance();
// } catch (Exception e) {
// localCache = new bluecrystal.service.loader.MapCacheManager();
// }
}
public LCRLoaderImpl() {
super();
}
public X509CRL get(byte[] dists, Date date) throws CertificateException, CRLException, IOException {
String url = new String(dists);
return get(url, date);
}
public X509CRL get(List<String> dists, Date date) throws CertificateException, CRLException, IOException{
for( String nextDist : dists){
try {
LOG.debug("Buscando: "+ nextDist);
return get(nextDist, date);
} catch (IOException e) {
LOG.error("Could not load CRL ", e);
}
}
return null;
}
private X509CRL get(String dists, Date date) throws CertificateException, CRLException, IOException {
String url = new String(dists);
X509CRL ret = getInCache(url, date);;
if( ret != null){
LOG.debug(":: LCR encontrada no cache: "+url);
}else{
LOG.debug(":: LCR tentando baixar : "+url);
X509CRL crl = getFresh(url);
LOG.debug(":: LCR carregada de: "+url);
if(crl != null){
addToCache(url, crl);
}
ret = crl;
}
return ret;
}
private X509CRL getFresh(String url) throws CertificateException, CRLException, IOException {
byte [] encoded = getFromServer(url);
return decode(encoded);
}
private X509CRL decode(byte[] encoded) throws CertificateException, IOException, CRLException {
InputStream inStream = new ByteArrayInputStream(encoded);
CertificateFactory cf = CertificateFactory.getInstance("X.509"); //$NON-NLS-1$
X509CRL crl = (X509CRL)cf.generateCRL(inStream);
inStream.close();
return crl;
}
private byte[] getFromServer(String url) throws MalformedURLException, IOException {
return PrefsFactory.getHttpLoader().get(url);
}
private X509CRL getInCache(String url, Date date) {
return (X509CRL) getLocalCache().getInCache(url, date);
}
// private boolean checkInCache(String url, Date date) {
// return localCache.checkInCache(url, date);
// }
private void addToCache(String key, X509CRL crl) {
getLocalCache().addToCache(key, crl);
}
public static CacheManager getLocalCache() {
if(localCache == null){
localCache = new bluecrystal.service.loader.MapCacheManager();
}
return localCache;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/MapCacheManager.java | package bluecrystal.service.loader;
import java.security.cert.X509CRL;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.bouncycastle.cert.ocsp.OCSPResp;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import bluecrystal.service.exception.OCSPQueryException;
import bluecrystal.service.validator.OcspValidatorImpl;
public class MapCacheManager implements CacheManager {
static final Logger LOG = LoggerFactory.getLogger(MapCacheManager.class);
public Map<String, Object> cache = new HashMap<>();
public MapCacheManager() {
// this.cache = cache;
}
/* (non-Javadoc)
* @see bluecrystal.service.loader.CacheManager#getInCache(java.lang.String)
*/
@Override
public Object getInCache(String url, Date date) {
Object hit = cache.get(url);
if (hit == null)
return null;
Date nextUpdate = null;
if (hit instanceof X509CRL) {
X509CRL crl = (X509CRL)hit;
nextUpdate = crl.getNextUpdate();
} else if (hit instanceof OCSPResp) {
try {
OCSPResp ocspResp = (OCSPResp)hit;
nextUpdate = OcspValidatorImpl.xtractNextUpdate(ocspResp);
} catch (OCSPQueryException e) {
LOG.error("can't get OCSP next update date", e);
}
}
LOG.info("map-cache: " + url + ", hit=" + (hit != null) + ", next-update=" + nextUpdate + ", date="
+ date + ", valid=" + nextUpdate.after(date));
if (nextUpdate != null && nextUpdate.after(date))
return hit;
return null;
}
/* (non-Javadoc)
* @see bluecrystal.service.loader.CacheManager#checkInCache(java.lang.String, java.util.Date)
*/
// @Override
// public boolean checkInCache(String url, Date date) {
// if( cache.containsKey(url)){
// X509CRL cachedCRL = cache.get(url);
// if(cachedCRL.getNextUpdate().after(date)){
// return true;
// }
// }
// return false;
// }
/* (non-Javadoc)
* @see bluecrystal.service.loader.CacheManager#addToCache(java.lang.String, java.security.cert.X509CRL)
*/
@Override
public void addToCache(String key, X509CRL crl) {
cache.put(key, crl);
}
@Override
public void addToCache(String key, OCSPResp ocspResp) {
cache.put(key, ocspResp);
}
} |
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/Messages.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.loader;
import java.util.MissingResourceException;
import java.util.ResourceBundle;
public class Messages {
// private static final String BUNDLE_NAME = "com.ittru.ccws.loader.messages"; //$NON-NLS-1$
private static final String BUNDLE_NAME = "bluc"; //$NON-NLS-1$
private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle
.getBundle(BUNDLE_NAME);
private Messages() {
}
public static String getString(String key) {
try {
return RESOURCE_BUNDLE.getString(key);
} catch (MissingResourceException e) {
return '!' + key + '!';
}
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/SignaturePolicyLoader.java | package bluecrystal.service.loader;
public interface SignaturePolicyLoader {
byte[] loadFromUrl(String url) throws Exception;
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/SignaturePolicyLoaderImpl.java | package bluecrystal.service.loader;
import java.util.HashMap;
import java.util.Map;
import bluecrystal.service.util.PrefsFactory;
public class SignaturePolicyLoaderImpl implements SignaturePolicyLoader {
Map<String, byte[]> policies;
public SignaturePolicyLoaderImpl() {
super();
policies = new HashMap<String, byte[]>();
}
@Override
public byte[] loadFromUrl(String url) throws Exception {
byte[] sp = null;
if(policies.containsKey(url)){
return policies.get(url);
} else {
sp = PrefsFactory.getHttpLoader().get(url);
policies.put(url, sp);
}
return sp;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/loader/package-info.java | /**
*
*/
/**
* @author sergio
*
*/
package bluecrystal.service.loader; |
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/service/ADRBService_10.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.service;
import java.security.cert.X509Certificate;
import java.util.Date;
import org.bouncycastle.asn1.ASN1Set;
import bluecrystal.bcdeps.helper.DerEncoder;
import bluecrystal.service.helper.UtilsLocal;
public class ADRBService_10 extends BaseService {
public ASN1Set siCreate(byte[] origHash, Date signingTime,
X509Certificate x509, DerEncoder derEnc, byte[] certHash, int idSha)
throws Exception {
return derEnc.siCreateDerEncSignedADRB(origHash, policyHash, certHash,
x509, signingTime, idSha, policyUri, policyId,
signingCertFallback);
}
public ADRBService_10() {
super();
minKeyLen = 1024;
addChain = false;
signingCertFallback = true;
signedAttr = true;
version = 3;
policyHash = UtilsLocal
.convHexToByte(SIG_POLICY_HASH);
policyId = SIG_POLICY_BES_ID;
policyUri = SIG_POLICY_URI;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/service/ADRBService_21.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.service;
import bluecrystal.service.helper.UtilsLocal;
public class ADRBService_21 extends BaseService {
public ADRBService_21() {
super();
minKeyLen = 2048;
signingCertFallback = false;
addChain = false;
signedAttr = true;
// version = 3; // CEF
version = 1;
policyHash = UtilsLocal
.convHexToByte(SIG_POLICY_HASH_21);
policyId = SIG_POLICY_BES_ID_21;
policyUri = SIG_POLICY_URI_21;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/service/ADRBService_23.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.service;
import bluecrystal.service.helper.UtilsLocal;
public class ADRBService_23 extends BaseService {
public ADRBService_23() {
super();
minKeyLen = 2048;
signingCertFallback = false;
addChain = false;
signedAttr = true;
// version = 3; // CEF
version = 1;
policyHash = UtilsLocal
.convHexToByte(SIG_POLICY_HASH_23);
policyId = SIG_POLICY_BES_ID_23;
policyUri = SIG_POLICY_URI_23;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/service/BaseService.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.service;
import java.io.IOException;
import java.security.NoSuchAlgorithmException;
import java.security.cert.CertificateEncodingException;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.bouncycastle.asn1.ASN1Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import bluecrystal.bcdeps.helper.DerEncoder;
import bluecrystal.bcdeps.helper.PkiOps;
import bluecrystal.domain.AppSignedInfo;
import bluecrystal.domain.AppSignedInfoEx;
import bluecrystal.domain.SignPolicy;
import bluecrystal.service.helper.UtilsLocal;
import bluecrystal.service.helper.UtilsRepo;
public abstract class BaseService implements EnvelopeService {
static final Logger LOG = LoggerFactory.getLogger(BaseService.class);
public BaseService() {
super();
procHash = true;
LOG.debug("Constructed");
}
public boolean isProcHash() {
return procHash;
}
protected static final String SIG_POLICY_URI = "http://politicas.icpbrasil.gov.br/PA_AD_RB.der";
protected static final String SIG_POLICY_BES_ID = "2.16.76.1.7.1.1.1";
protected static final String SIG_POLICY_HASH = "20d6789325513bbc8c29624e1f40b61813ec5ce7";
protected static final String SIG_POLICY_URI_20 = "http://politicas.icpbrasil.gov.br/PA_AD_RB_v2_0.der";
protected static final String SIG_POLICY_BES_ID_20 = "2.16.76.1.7.1.1.2";
protected static final String SIG_POLICY_HASH_20 = "5311e6ce55665c877608"
+ "5ef11c82fa3fb1341cad" + "e7981ed9f51d3e56de5f" + "6aad";
protected static final String SIG_POLICY_URI_21 = "http://politicas.icpbrasil.gov.br/PA_AD_RB_v2_1.der";
protected static final String SIG_POLICY_BES_ID_21 = "2.16.76.1.7.1.1.2.1";
protected static final String SIG_POLICY_HASH_21 = "dd57c98a4313bc1398ce"
+ "6543d3802458957cf716" + "ae3294ec4d8c26251291" + "e6c1";
protected static final String SIG_POLICY_URI_23 = "http://politicas.icpbrasil.gov.br/PA_AD_RB_v2_3.der";
protected static final String SIG_POLICY_BES_ID_23 = "2.16.76.1.7.1.1.2.3";
protected static final String SIG_POLICY_HASH_23 = "e98bc76b0149e632cd639de76682ee72d97f927c255c28b04a3dbcfec632285f";
protected static final int NDX_SHA1 = 0;
protected static final int NDX_SHA224 = 1;
protected static final int NDX_SHA256 = 2;
protected static final int NDX_SHA384 = 3;
protected static final int NDX_SHA512 = 4;
protected int version;
protected int minKeyLen;
protected boolean signedAttr;
protected boolean signingCertFallback;
protected boolean addChain;
protected boolean procHash;
protected byte[] policyHash;
protected String policyUri;
protected String policyId;
protected static PkiOps pkiOps;
protected static CertificateService certServ;
static {
pkiOps = new PkiOps();
certServ = new CertificateService();
};
protected boolean isSigningCertFallback() {
return signingCertFallback;
}
protected boolean isSignedAttr() {
return signedAttr;
}
public byte[] rebuildEnvelope(byte[] envelopeb64) throws Exception{
throw new UnsupportedOperationException();
}
public byte[] calcSha1(byte[] content) throws NoSuchAlgorithmException {
return pkiOps.calcSha1(content);
}
public byte[] calcSha224(byte[] content) throws NoSuchAlgorithmException {
return pkiOps.calcSha224(content);
}
public byte[] calcSha256(byte[] content) throws NoSuchAlgorithmException {
return pkiOps.calcSha256(content);
}
public byte[] calcSha384(byte[] content) throws NoSuchAlgorithmException {
return pkiOps.calcSha384(content);
}
public byte[] calcSha512(byte[] content) throws NoSuchAlgorithmException {
return pkiOps.calcSha512(content);
}
// public byte[] hashSignedAttribSha1(String certId, byte[] origHash,
// Date signingTime) throws Exception {
// X509Certificate x509 = Utils.loadCertFromS3(certId);
// return hashSignedAttribSha1(origHash, signingTime, x509);
//
// }
public byte[] hashSignedAttribSha1(byte[] origHash, Date signingTime,
X509Certificate x509) throws NoSuchAlgorithmException,
CertificateEncodingException, Exception, IOException {
if (signedAttr) {
DerEncoder derEnc = new DerEncoder();
byte[] certHash = pkiOps.calcSha1(x509.getEncoded());
int idSha = NDX_SHA1;
ASN1Set newSi = siCreate(origHash, signingTime, x509, derEnc,
certHash, idSha);
byte[] saAsBytes = convSiToByte(newSi);
byte[] saAsBytes2 = hackSi(saAsBytes);
return saAsBytes2;
}
return origHash;
}
@Override
public byte[] buildFromS3Sha1(List<AppSignedInfo> listAsi, int attachSize) throws Exception {
int idSha = NDX_SHA1;
List<AppSignedInfoEx> listAsiEx = new ArrayList<AppSignedInfoEx>();
List<X509Certificate> chain = new ArrayList<X509Certificate>();
for (AppSignedInfo appSignedInfo : listAsi) {
// AppSignedInfo appSignedInfo = listAsi.get(0);
X509Certificate x509 = loadCert(appSignedInfo);
chain.addAll(certServ.buildPath(x509));
byte[] certHash = pkiOps.calcSha1(x509.getEncoded());
AppSignedInfoEx asiEx = new AppSignedInfoEx(appSignedInfo, x509,
certHash, idSha);
listAsiEx.add(asiEx);
}
dedup(chain);
byte[] cmsOut = buildBody(chain, listAsiEx, attachSize);
return cmsOut;
}
public byte[] buildCms(List<AppSignedInfoEx> listAsiEx, int attachSize) throws Exception {
LOG.debug("buildCms");
List<X509Certificate> chain = new ArrayList<X509Certificate>();
for (AppSignedInfoEx appSignedInfo : listAsiEx) {
// AppSignedInfo appSignedInfo = listAsi.get(0);
X509Certificate x509 = appSignedInfo.getX509();
// chain.addAll(certServ.buildPath(x509));
chain.addAll(certServ.buildPath(x509));
}
dedup(chain);
for(X509Certificate next : chain){
LOG.debug(next.getSubjectDN().toString());
}
byte[] cmsOut = buildBody(chain, listAsiEx, attachSize);
return cmsOut;
}
public byte[] buildSha256(List<AppSignedInfoEx> listAsiEx, int attachSize) throws Exception {
List<X509Certificate> chain = new ArrayList<X509Certificate>();
for (AppSignedInfoEx appSignedInfo : listAsiEx) {
// AppSignedInfo appSignedInfo = listAsi.get(0);
X509Certificate x509 = appSignedInfo.getX509();
chain.addAll(certServ.buildPath(x509));
byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
.getEncoded()) : pkiOps.calcSha256(x509.getEncoded());
}
dedup(chain);
byte[] cmsOut = buildBody(chain, listAsiEx, attachSize);
return cmsOut;
}
private void dedup(List<X509Certificate> list) {
Map<String, X509Certificate> map = new HashMap<String, X509Certificate>();
Iterator<X509Certificate> it = list.iterator();
while (it.hasNext()) {
X509Certificate nextCert = it.next();
map.put(nextCert.getSubjectDN().getName(), nextCert);
}
list.clear();
for(X509Certificate next : map.values()){
list.add(next);
}
}
// public byte[] hashSignedAttribSha224(String certId, byte[] origHash,
// Date signingTime) throws Exception {
// X509Certificate x509 = Utils.loadCertFromRepo(certId);
// return hashSignedAttribSha224(origHash, signingTime, x509);
//
// }
public byte[] hashSignedAttribSha224(byte[] origHash, Date signingTime,
X509Certificate x509) throws NoSuchAlgorithmException,
CertificateEncodingException, Exception, IOException {
if (signedAttr) {
DerEncoder derEnc = new DerEncoder();
byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
.getEncoded()) : pkiOps.calcSha224(x509.getEncoded());
int idSha = NDX_SHA224;
ASN1Set newSi = siCreate(origHash, signingTime, x509, derEnc,
certHash, idSha);
byte[] saAsBytes = convSiToByte(newSi);
byte[] saAsBytes2 = hackSi(saAsBytes);
return saAsBytes2;
}
return origHash;
}
// public byte[] buildFromS3Sha224(List<AppSignedInfo> listAsi)
// throws Exception {
// AppSignedInfo appSignedInfo = listAsi.get(0);
// X509Certificate x509 = Utils.loadCertFromRepo(appSignedInfo.getCertId());
// byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
// .getEncoded()) : pkiOps.calcSha224(x509.getEncoded());
//
// int idSha = NDX_SHA224;
//
// List<X509Certificate> chain = certServ.buildPath(x509);
//
// AppSignedInfoEx asiEx = new AppSignedInfoEx(appSignedInfo, x509,
// certHash, idSha);
// List<AppSignedInfoEx> listAsiEx = new ArrayList<AppSignedInfoEx>();
// listAsiEx.add(asiEx);
//
// byte[] cmsOut = buildBody(chain, listAsiEx);
// return cmsOut;
// }
public byte[] buildFromS3Sha224(List<AppSignedInfo> listAsi, int attachSize) throws Exception {
int idSha = NDX_SHA224;
List<AppSignedInfoEx> listAsiEx = new ArrayList<AppSignedInfoEx>();
List<X509Certificate> chain = new ArrayList<X509Certificate>();
for (AppSignedInfo appSignedInfo : listAsi) {
// AppSignedInfo appSignedInfo = listAsi.get(0);
X509Certificate x509 = loadCert(appSignedInfo);
chain.addAll(certServ.buildPath(x509));
byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
.getEncoded()) : pkiOps.calcSha224(x509.getEncoded());
AppSignedInfoEx asiEx = new AppSignedInfoEx(appSignedInfo, x509,
certHash, idSha);
listAsiEx.add(asiEx);
}
dedup(chain);
byte[] cmsOut = buildBody(chain, listAsiEx, attachSize );
return cmsOut;
}
// public byte[] hashSignedAttribSha256(String certId, byte[] origHash,
// Date signingTime) throws Exception {
// X509Certificate x509 = Utils.loadCertFromS3(certId);
// return hashSignedAttribSha256(origHash, signingTime, x509);
// }
public byte[] hashSignedAttribSha256(byte[] origHash, Date signingTime,
X509Certificate x509) throws NoSuchAlgorithmException,
CertificateEncodingException, Exception, IOException {
if (signedAttr) {
DerEncoder derEnc = new DerEncoder();
byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
.getEncoded()) : pkiOps.calcSha256(x509.getEncoded());
int idSha = NDX_SHA256;
ASN1Set newSi = siCreate(origHash, signingTime, x509, derEnc,
certHash, idSha);
byte[] saAsBytes = convSiToByte(newSi);
byte[] saAsBytes2 = hackSi(saAsBytes);
return saAsBytes2;
}
return origHash;
}
// public byte[] buildFromS3Sha256(List<AppSignedInfo> listAsi)
// throws Exception {
// AppSignedInfo appSignedInfo = listAsi.get(0);
// X509Certificate x509 = Utils.loadCertFromS3(appSignedInfo.getCertId());
// byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
// .getEncoded()) : pkiOps.calcSha256(x509.getEncoded());
//
// int idSha = NDX_SHA256;
//
// List<X509Certificate> chain = certServ.buildPath(x509);
//
// AppSignedInfoEx asiEx = new AppSignedInfoEx(appSignedInfo, x509,
// certHash, idSha);
// List<AppSignedInfoEx> listAsiEx = new ArrayList<AppSignedInfoEx>();
// listAsiEx.add(asiEx);
//
// byte[] cmsOut = buildBody(chain, listAsiEx);
// return cmsOut;
// }
public byte[] buildFromS3Sha256(List<AppSignedInfo> listAsi, int attachSize) throws Exception {
int idSha = NDX_SHA256;
List<AppSignedInfoEx> listAsiEx = new ArrayList<AppSignedInfoEx>();
List<X509Certificate> chain = new ArrayList<X509Certificate>();
for (AppSignedInfo appSignedInfo : listAsi) {
X509Certificate x509 = loadCert(appSignedInfo);
chain.addAll(certServ.buildPath(x509));
byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
.getEncoded()) : pkiOps.calcSha256(x509.getEncoded());
AppSignedInfoEx asiEx = new AppSignedInfoEx(appSignedInfo, x509,
certHash, idSha);
listAsiEx.add(asiEx);
}
dedup(chain);
byte[] cmsOut = buildBody(chain, listAsiEx, attachSize);
return cmsOut;
}
private X509Certificate loadCert(AppSignedInfo appSignedInfo)
throws Exception {
X509Certificate x509;
try {
x509 = UtilsLocal.createCert(UtilsLocal.convHexToByte(appSignedInfo
.getCertId()));
} catch (Exception e) {
x509 = UtilsRepo.loadCertFromRepo(appSignedInfo
.getCertId());
}
return x509;
}
// public byte[] hashSignedAttribSha384(String certId, byte[] origHash,
// Date signingTime) throws Exception {
// X509Certificate x509 = Utils.loadCertFromS3(certId);
// return hashSignedAttribSha384(origHash, signingTime, x509);
//
// }
public byte[] hashSignedAttribSha384(byte[] origHash, Date signingTime,
X509Certificate x509) throws NoSuchAlgorithmException,
CertificateEncodingException, Exception, IOException {
if (signedAttr) {
DerEncoder derEnc = new DerEncoder();
byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
.getEncoded()) : pkiOps.calcSha384(x509.getEncoded());
int idSha = NDX_SHA384;
ASN1Set newSi = siCreate(origHash, signingTime, x509, derEnc,
certHash, idSha);
byte[] saAsBytes = convSiToByte(newSi);
byte[] saAsBytes2 = hackSi(saAsBytes);
return saAsBytes2;
}
return origHash;
}
// public byte[] buildFromS3Sha384(List<AppSignedInfo> listAsi)
// throws Exception {
// AppSignedInfo appSignedInfo = listAsi.get(0);
// X509Certificate x509 = Utils.loadCertFromS3(appSignedInfo.getCertId());
// byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
// .getEncoded()) : pkiOps.calcSha384(x509.getEncoded());
//
// int idSha = NDX_SHA384;
//
// List<X509Certificate> chain = certServ.buildPath(x509);
//
// AppSignedInfoEx asiEx = new AppSignedInfoEx(appSignedInfo, x509,
// certHash, idSha);
// List<AppSignedInfoEx> listAsiEx = new ArrayList<AppSignedInfoEx>();
// listAsiEx.add(asiEx);
//
// byte[] cmsOut = buildBody(chain, listAsiEx);
// return cmsOut;
// }
public byte[] buildFromS3Sha384(List<AppSignedInfo> listAsi, int attachSize) throws Exception {
int idSha = NDX_SHA384;
List<AppSignedInfoEx> listAsiEx = new ArrayList<AppSignedInfoEx>();
List<X509Certificate> chain = new ArrayList<X509Certificate>();
for (AppSignedInfo appSignedInfo : listAsi) {
// AppSignedInfo appSignedInfo = listAsi.get(0);
X509Certificate x509 = loadCert(appSignedInfo);
chain.addAll(certServ.buildPath(x509));
byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
.getEncoded()) : pkiOps.calcSha384(x509.getEncoded());
AppSignedInfoEx asiEx = new AppSignedInfoEx(appSignedInfo, x509,
certHash, idSha);
listAsiEx.add(asiEx);
}
dedup(chain);
byte[] cmsOut = buildBody(chain, listAsiEx, attachSize);
return cmsOut;
}
// public byte[] hashSignedAttribSha512(String certId, byte[] origHash,
// Date signingTime) throws Exception {
// X509Certificate x509 = Utils.loadCertFromS3(certId);
// return hashSignedAttribSha512(origHash, signingTime, x509);
//
// }
public byte[] hashSignedAttribSha512(byte[] origHash, Date signingTime,
X509Certificate x509) throws NoSuchAlgorithmException,
CertificateEncodingException, Exception, IOException {
if (signedAttr) {
DerEncoder derEnc = new DerEncoder();
byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
.getEncoded()) : pkiOps.calcSha512(x509.getEncoded());
int idSha = NDX_SHA512;
ASN1Set newSi = siCreate(origHash, signingTime, x509, derEnc,
certHash, idSha);
byte[] saAsBytes = convSiToByte(newSi);
byte[] saAsBytes2 = hackSi(saAsBytes);
return saAsBytes2;
}
return origHash;
}
// public byte[] buildFromS3Sha512(List<AppSignedInfo> listAsi)
// throws Exception {
// AppSignedInfo appSignedInfo = listAsi.get(0);
// X509Certificate x509 = Utils.loadCertFromS3(appSignedInfo.getCertId());
// byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
// .getEncoded()) : pkiOps.calcSha512(x509.getEncoded());
//
// int idSha = NDX_SHA512;
//
// List<X509Certificate> chain = certServ.buildPath(x509);
//
// AppSignedInfoEx asiEx = new AppSignedInfoEx(appSignedInfo, x509,
// certHash, idSha);
// List<AppSignedInfoEx> listAsiEx = new ArrayList<AppSignedInfoEx>();
// listAsiEx.add(asiEx);
//
// byte[] cmsOut = buildBody(chain, listAsiEx);
// return cmsOut;
// }
public byte[] buildFromS3Sha512(List<AppSignedInfo> listAsi, int attachSize) throws Exception {
int idSha = NDX_SHA512;
List<AppSignedInfoEx> listAsiEx = new ArrayList<AppSignedInfoEx>();
List<X509Certificate> chain = new ArrayList<X509Certificate>();
for (AppSignedInfo appSignedInfo : listAsi) {
// AppSignedInfo appSignedInfo = listAsi.get(0);
X509Certificate x509 = loadCert(appSignedInfo);
chain.addAll(certServ.buildPath(x509));
byte[] certHash = signingCertFallback ? pkiOps.calcSha1(x509
.getEncoded()) : pkiOps.calcSha512(x509.getEncoded());
AppSignedInfoEx asiEx = new AppSignedInfoEx(appSignedInfo, x509,
certHash, idSha);
listAsiEx.add(asiEx);
}
dedup(chain);
byte[] cmsOut = buildBody(chain, listAsiEx, attachSize);
return cmsOut;
}
// TODO
// MOVER DER ENCODER :)
private byte[] hackSi(byte[] saAsBytes) throws IOException {
// LOG.debug(Utils.conv(saAsBytes));
byte[] saAsBytes2 = new byte[saAsBytes.length - 4];
saAsBytes2[0] = saAsBytes[0];
saAsBytes2[1] = saAsBytes[1];
for (int i = 2; i < saAsBytes2.length; i++) {
saAsBytes2[i] = saAsBytes[i + 4];
}
// LOG.debug(Utils.conv(saAsBytes2));
return saAsBytes2;
}
public ASN1Set siCreate(byte[] origHash, Date signingTime,
X509Certificate x509, DerEncoder derEnc, byte[] certHash, int idSha)
throws Exception {
return derEnc.siCreateDerEncSignedADRB(origHash, policyHash, certHash,
x509, signingTime, idSha, policyUri, policyId,
signingCertFallback);
}
private byte[] buildBody(List<X509Certificate> chain,
List<AppSignedInfoEx> listAsiEx, int attachSize) throws Exception {
byte[] cmsOut = null;
DerEncoder de = new DerEncoder();
SignPolicy signPol = new SignPolicy(policyHash, policyUri, policyId);
if (signedAttr) {
cmsOut = de.buildADRBBody(listAsiEx, signPol, addChain ? chain
: null, version, signingCertFallback, attachSize);
} else {
AppSignedInfoEx asiEx = listAsiEx.get(0);
cmsOut = de.buildCmsBody(asiEx.getSignedHash(), asiEx.getX509(),
addChain ? chain : null, asiEx.getIdSha(), version, attachSize);
}
return cmsOut;
}
private static byte[] convSiToByte(ASN1Set newSi) throws IOException {
return DerEncoder.convSiToByte(newSi);
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/service/CmsWithChainService.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.service;
import java.io.ByteArrayOutputStream;
import java.security.cert.X509Certificate;
import java.util.List;
import sun.security.pkcs.ContentInfo;
import sun.security.pkcs.PKCS7;
import sun.security.pkcs.SignerInfo;
import sun.security.util.DerOutputStream;
import sun.security.x509.AlgorithmId;
public class CmsWithChainService extends BaseService {
private CryptoService cryptoServ = null;
private CertificateService certServ = null;
public CmsWithChainService() {
super();
minKeyLen = 1024;
signingCertFallback = false;
addChain = true;
signedAttr = false;
version = 1;
policyHash = null;
policyId = null;
policyUri = null;
cryptoServ = new CryptoServiceImpl();
certServ = new CertificateService();
}
// @Override
// public byte[] rebuildEnvelope(byte[] envelope) throws Exception {
// int idSha = NDX_SHA1;
// X509Certificate certEE = certServ.decodeEE(envelope);
// List<AppSignedInfoEx> listAsiEx = new ArrayList<AppSignedInfoEx>();
// List<X509Certificate> chain = new ArrayList<X509Certificate>();
//
// byte[] certHash = calcSha256(certEE.getEncoded());
//
// SignCompare2 signCompare = cryptoServ.extractSignCompare2(envelope);
// // AppSignedInfoEx asiEx = new AppSignedInfoEx(sign, origHash,
// // null, certEE, certHash, idSha);
// BASE64Decoder b64dec = new BASE64Decoder();
// String signedHashb64 = signCompare.getSignedHashb64();
// String origHashb64 = signCompare.getOrigHashb64();
// Date signingTime = signCompare.getSigningTime();
// AppSignedInfoEx asiEx = new
// AppSignedInfoEx(b64dec.decodeBuffer(signedHashb64),
// b64dec.decodeBuffer(origHashb64), signingTime, certEE, certHash, idSha);
// listAsiEx.add(asiEx);
// byte[] ret = this.buildCms(listAsiEx, -1);
// return ret;
// }
@Override
public byte[] rebuildEnvelope(byte[] envelope) throws Exception {
// CMSSignedData cms = new CMSSignedData(envelope);
// cms.
//
// SignerInformationStore signers = cms.getSignerInfos();
//
// Collection c = signers.getSigners();
// Iterator it = c.iterator();
//
// while (it.hasNext()) {
// SignerInformation signer = (SignerInformation) it.next();
// SignerId sid = signer.getSID();
//
// Store certs = cms.getCertificates();
// Collection certCollection = certs.getMatches(signer.getSID());
// for (Object next : certCollection) {
// System.out.println(next);
// }
// }
PKCS7 pkcs7 = new PKCS7(envelope);
X509Certificate[] certs = pkcs7.getCertificates();
if (certs.length == 1) {
List<X509Certificate> path = certServ.buildPath(certs[0]);
SignerInfo[] si = pkcs7.getSignerInfos();
// for(X509Certificate next : path){
// System.out.println(next.getSubjectDN().getName());
//
// }
ContentInfo cInfo = new ContentInfo(ContentInfo.DIGESTED_DATA_OID,
null);
AlgorithmId digestAlgorithmId = new AlgorithmId(AlgorithmId.SHA_oid);
X509Certificate[] pathArray = new X509Certificate[path.size()];
int i = 0;
for (X509Certificate next : path) {
pathArray[i] = next;
i++;
}
// Create PKCS7 Signed data
PKCS7 p7 = new PKCS7(new AlgorithmId[] { digestAlgorithmId },
cInfo, pathArray, si);
// Write PKCS7 to bYteArray
ByteArrayOutputStream bOut = new DerOutputStream();
p7.encodeSignedData(bOut);
byte[] encodedPKCS7 = bOut.toByteArray();
return encodedPKCS7;
}
return envelope;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/service/CryptoService.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.service;
import java.io.IOException;
import java.security.NoSuchAlgorithmException;
import java.security.cert.X509Certificate;
import java.text.ParseException;
import java.util.Date;
import java.util.Map;
import bluecrystal.domain.SignCompare;
import bluecrystal.domain.SignCompare2;
import bluecrystal.domain.SignPolicyRef;
public interface CryptoService {
public abstract byte[] hashSignedAttribSha1(byte[] origHash,
Date signingTime, X509Certificate x509) throws Exception;
public abstract byte[] hashSignedAttribSha256(byte[] origHash,
Date signingTime, X509Certificate x509) throws Exception;
public abstract byte[] extractSignature(byte[] sign) throws Exception;
public abstract byte[] composeBodySha1(byte[] sign, X509Certificate c,
byte[] origHash, Date signingTime) throws Exception;
public abstract byte[] composeBodySha256(byte[] sign, X509Certificate c,
byte[] origHash, Date signingTime) throws Exception;
public byte[] calcSha256(byte[] content) throws NoSuchAlgorithmException;
public byte[] calcSha1(byte[] content) throws NoSuchAlgorithmException;
public SignCompare extractSignCompare(byte[] sign) throws Exception;
public SignPolicyRef extractVerifyRefence(byte[] policy) throws IOException, ParseException;
public boolean validateSignatureByPolicy(SignPolicyRef spr, SignCompare sc);
public int validateSign(byte[] sign, byte[] content,
Date dtSign, boolean verifyCRL) throws Exception;
SignCompare2 extractSignCompare2(byte[] sign) throws Exception;
public boolean validateSignatureByPolicy(byte[] sign, byte[] ps) throws Exception;
int validateSignByContent(byte[] signCms, byte[] content, Date dtSign, boolean verifyCRL) throws Exception;
} |
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/service/EnvelopeService.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.service;
import java.io.IOException;
import java.security.NoSuchAlgorithmException;
import java.security.cert.CertificateEncodingException;
import java.security.cert.X509Certificate;
import java.util.Date;
import java.util.List;
import org.bouncycastle.asn1.ASN1Set;
import bluecrystal.bcdeps.helper.DerEncoder;
import bluecrystal.domain.AppSignedInfo;
import bluecrystal.domain.AppSignedInfoEx;
public interface EnvelopeService {
// *********************************************************
//
// SHA1
//
// *********************************************************
// public abstract byte[] hashSignedAttribSha1(String certId, byte[] origHash,
// Date signingTime) throws Exception;
public byte[] hashSignedAttribSha1(byte[] origHash, Date signingTime,
X509Certificate x509) throws NoSuchAlgorithmException,
CertificateEncodingException, Exception, IOException;
public abstract byte[] buildFromS3Sha1(List<AppSignedInfo> listAsi, int attachSize)
throws Exception;
public abstract byte[] buildCms(List<AppSignedInfoEx> listAsiEx, int attachSize)
throws Exception;
// *********************************************************
//
// SHA224
//
// *********************************************************
// public abstract byte[] hashSignedAttribSha224(String certId,
// byte[] origHash, Date signingTime) throws Exception;
public byte[] hashSignedAttribSha224(byte[] origHash, Date signingTime,
X509Certificate x509) throws NoSuchAlgorithmException,
CertificateEncodingException, Exception, IOException;
public abstract byte[] buildFromS3Sha224(List<AppSignedInfo> listAsi, int attachSize)
throws Exception;
// *********************************************************
//
// SHA256
//
// *********************************************************
// public abstract byte[] hashSignedAttribSha256(String certId,
// byte[] origHash, Date signingTime) throws Exception;
public byte[] hashSignedAttribSha256(byte[] origHash, Date signingTime,
X509Certificate x509) throws NoSuchAlgorithmException,
CertificateEncodingException, Exception, IOException;
public abstract byte[] buildFromS3Sha256(List<AppSignedInfo> listAsi, int attachSize)
throws Exception;
// *********************************************************
//
// SHA384
//
// *********************************************************
// public abstract byte[] hashSignedAttribSha384(String certId,
// byte[] origHash, Date signingTime) throws Exception;
public byte[] hashSignedAttribSha384(byte[] origHash, Date signingTime,
X509Certificate x509) throws NoSuchAlgorithmException,
CertificateEncodingException, Exception, IOException;
public abstract byte[] buildFromS3Sha384(List<AppSignedInfo> listAsi, int attachSize)
throws Exception;
// *********************************************************
//
// SHA512
//
// *********************************************************
// public abstract byte[] hashSignedAttribSha512(String certId,
// byte[] origHash, Date signingTime) throws Exception;
public byte[] hashSignedAttribSha512(byte[] origHash, Date signingTime,
X509Certificate x509) throws NoSuchAlgorithmException,
CertificateEncodingException, Exception, IOException;
public abstract byte[] buildFromS3Sha512(List<AppSignedInfo> listAsi, int attachSize)
throws Exception;
// *********************************************************
//
// SignerInfo
//
// *********************************************************
public abstract ASN1Set siCreate(byte[] origHash, Date signingTime, X509Certificate x509,
DerEncoder derEnc, byte[] certHash, int idSha)
throws Exception;
public byte[] calcSha1(byte[] content) throws NoSuchAlgorithmException;
public byte[] calcSha224(byte[] content) throws NoSuchAlgorithmException;
public byte[] calcSha256(byte[] content) throws NoSuchAlgorithmException;
public byte[] calcSha384(byte[] content) throws NoSuchAlgorithmException;
public byte[] calcSha512(byte[] content) throws NoSuchAlgorithmException;
public abstract boolean isProcHash();
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/service/ServiceFactory.java | package bluecrystal.service.service;
public class ServiceFactory {
private static ServiceFacade serviceFacade;
public static ServiceFacade getServiceFacade() {
if(serviceFacade == null){
serviceFacade = new ServiceFacade();
}
return serviceFacade;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/service/Validator.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.service;
import java.security.cert.X509Certificate;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import bluecrystal.domain.NameValue;
import bluecrystal.service.helper.UtilsLocal;
public class Validator extends BaseService implements ValidatorSrv {
@Override
public NameValue[] parseCertificate(String certificate)
throws Exception {
Map<String, String> ret = null;
ret = parseCertificateAsMap(certificate);
int size = ret.keySet().size();
NameValue[] retNV = new NameValue[size];
int i = 0;
for(String next : ret.keySet()){
NameValue nv = new NameValue(next, ret.get(next));
retNV[i] = nv;
i++;
}
return retNV;
}
@Override
public Map<String, String> parseCertificateAsMap(String certificate)
throws Exception {
Map<String, String> ret;
X509Certificate cert = UtilsLocal.createCert(certificate);
CertificateService certServ = new CertificateService();
List<X509Certificate> chain = new ArrayList<X509Certificate>();
chain.add(cert);
ret = certServ.parseChainAsMap(chain );
return ret;
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/service/ValidatorSrv.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.service;
import java.util.Map;
import bluecrystal.domain.NameValue;
public interface ValidatorSrv {
public NameValue[] parseCertificate(String certificate) throws Exception;
Map<String, String> parseCertificateAsMap(String certificate)
throws Exception;
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/service/package-info.java | /**
*
*/
/**
* @author sergio
*
*/
package bluecrystal.service.service; |
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/util/LogManager.java | package bluecrystal.service.util;
import java.io.PrintWriter;
import java.io.StringWriter;
public class LogManager {
public static String exceptionToString(Throwable e){
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
e.printStackTrace(pw);
return sw.toString(); // stack trace as a string
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/util/PrefsFactory.java | package bluecrystal.service.util;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import bluecrystal.service.helper.UtilsRepo;
import bluecrystal.service.interfaces.RepoLoader;
import bluecrystal.service.loader.CacheManager;
import bluecrystal.service.loader.FSRepoLoader;
import bluecrystal.service.loader.HttpLoader;
import bluecrystal.service.loader.LCRLoader;
import bluecrystal.service.loader.Messages;
public class PrefsFactory {
static final Logger LOG = LoggerFactory.getLogger(UtilsRepo.class);
static CacheManager localCache = null;
static HttpLoader httpLoader = null;
static RepoLoader repoLoader = null;
static LCRLoader lcrLoader = null;
public static boolean getUseOCSP() {
return !"false".equals(Messages.getString("Validator.useOCSP"));
}
public static String getCertFolder() {
return Messages.getString("FSRepoLoader.certFolder");
}
public static RepoLoader getRepoLoader() {
if (repoLoader != null)
return repoLoader;
synchronized (PrefsFactory.class) {
String loaderType = Messages.getString("RepoLoader.loaderType");
try {
repoLoader = (RepoLoader) Class.forName(loaderType).newInstance();
if (repoLoader == null) {
LOG.error("Could not load Repoloader ");
repoLoader = loadDefaultFSRepoLoader();
}
} catch (Exception e) {
LOG.error("Could not load Repoloader ", e);
repoLoader = loadDefaultFSRepoLoader();
}
return repoLoader;
}
}
public static CacheManager getCacheManager() {
if (localCache != null)
return localCache;
synchronized (PrefsFactory.class) {
String cacheType = Messages.getString("LCRLoader.cacheType");
try {
localCache = (CacheManager) Class.forName(cacheType).newInstance();
if (localCache == null) {
localCache = loadDefaultCacheManager();
}
} catch (Exception e) {
localCache = loadDefaultCacheManager();
}
return localCache;
}
}
public static HttpLoader getHttpLoader() {
if (httpLoader != null)
return httpLoader;
synchronized (PrefsFactory.class) {
String cacheType = Messages.getString("httpLoader");
try {
httpLoader = (HttpLoader) Class.forName(cacheType).newInstance();
if (httpLoader == null) {
httpLoader = loadDefaultHttpLoader();
}
} catch (Exception e) {
httpLoader = loadDefaultHttpLoader();
}
return httpLoader;
}
}
public static LCRLoader getLCRLoader() {
if (lcrLoader != null)
return lcrLoader;
synchronized (PrefsFactory.class) {
String loaderType = Messages.getString("LCRLoader.loaderType");
try {
lcrLoader = (LCRLoader) Class.forName(loaderType).newInstance();
if (lcrLoader == null) {
lcrLoader = loadDefaultLCRLoader();
}
} catch (Exception e) {
lcrLoader = loadDefaultLCRLoader();
}
return lcrLoader;
}
}
private static FSRepoLoader loadDefaultFSRepoLoader() {
return new bluecrystal.service.loader.FSRepoLoader();
}
private static CacheManager loadDefaultCacheManager() {
return new bluecrystal.service.loader.MapCacheManager();
}
private static HttpLoader loadDefaultHttpLoader() {
return new bluecrystal.service.loader.ExternalLoaderHttpNio();
}
private static LCRLoader loadDefaultLCRLoader() {
return new bluecrystal.service.loader.LCRLoaderImpl();
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/validator/CrlValidator.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.validator;
import java.io.IOException;
import java.security.cert.CRLException;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.Date;
import java.util.List;
import bluecrystal.domain.OperationStatus;
import bluecrystal.service.exception.RevokedException;
import bluecrystal.service.exception.UndefStateException;
public interface CrlValidator {
public OperationStatus verifyLCR(X509Certificate nextCert, Date date, List<String> crlDist)
throws IOException, CertificateException, CRLException,
UndefStateException, RevokedException;
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/validator/OcspValidator.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.validator;
import java.io.IOException;
import java.security.cert.CRLException;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.Date;
import org.bouncycastle.operator.OperatorCreationException;
import bluecrystal.domain.OperationStatus;
import bluecrystal.service.exception.RevokedException;
import bluecrystal.service.exception.UndefStateException;
public interface OcspValidator {
public OperationStatus verifyOCSP(X509Certificate nextCert,
X509Certificate nextIssuer, Date date) throws IOException,
CertificateException, CRLException, UndefStateException,
RevokedException, OperatorCreationException;
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/validator/OcspValidatorImpl.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.validator;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.security.cert.CRLException;
import java.security.cert.CertificateEncodingException;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.Date;
import java.util.List;
import org.bouncycastle.cert.ocsp.BasicOCSPResp;
import org.bouncycastle.cert.ocsp.OCSPException;
import org.bouncycastle.cert.ocsp.OCSPReq;
import org.bouncycastle.cert.ocsp.OCSPResp;
import org.bouncycastle.cert.ocsp.RevokedStatus;
import org.bouncycastle.cert.ocsp.SingleResp;
import org.bouncycastle.operator.OperatorCreationException;
//import org.bouncycastle.ocsp.BasicOCSPResp;
//import org.bouncycastle.ocsp.OCSPException;
//import org.bouncycastle.ocsp.OCSPReq;
//import org.bouncycastle.ocsp.OCSPResp;
//import org.bouncycastle.cert.ocsp.OCSPRespStatus;
//import org.bouncycastle.ocsp.RevokedStatus;
//import org.bouncycastle.ocsp.SingleResp;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import bluecrystal.bcdeps.helper.DerEncoder;
//import bluecrystal.bcdeps.helper.DerEncoder;
import bluecrystal.domain.OperationStatus;
import bluecrystal.domain.StatusConst;
import bluecrystal.service.exception.OCSPQueryException;
import bluecrystal.service.exception.RevokedException;
//import bluecrystal.service.exception.OCSPQueryException;
//import bluecrystal.service.exception.RevokedException;
//import bluecrystal.service.exception.UndefStateException;
import bluecrystal.service.exception.UndefStateException;
import bluecrystal.service.loader.CacheManager;
import bluecrystal.service.util.PrefsFactory;
public class OcspValidatorImpl implements OcspValidator {
static final Logger LOG = LoggerFactory.getLogger(OcspValidatorImpl.class);
static final long ONE_MINUTE_IN_MILLIS=60000;//millisecs
static final long MIN_VALID=60*ONE_MINUTE_IN_MILLIS;//millisecs
public OcspValidatorImpl() {
super();
}
public OperationStatus verifyOCSP(X509Certificate nextCert,
X509Certificate nextIssuer, Date date) throws IOException,
CertificateException, CRLException, UndefStateException,
RevokedException, OperatorCreationException {
try {
OCSPReq req = GenOcspReq(nextCert, nextIssuer);
List<String> OCSPUrls = extractOCSPUrl(nextCert);
OCSPResp ocspResponse = null;
for (String ocspUrl : OCSPUrls) {
try {
String urlToCache = ocspUrl + "?reqHash=" + nextCert.hashCode();
CacheManager cache = PrefsFactory.getCacheManager();
ocspResponse = (OCSPResp) cache.getInCache(urlToCache, date);
if (ocspResponse == null) {
ocspResponse = xchangeOcsp(ocspUrl, req);
cache.addToCache(urlToCache, ocspResponse);
}
break;
} catch (Exception e) {
LOG.error("Error exchanging OCSP",e);
}
}
if (ocspResponse != null) {
Date valid = xtractNextUpdate(ocspResponse);
if (valid != null) {
return new OperationStatus(StatusConst.GOOD, valid);
} else {
Date goodUntil = new Date();
goodUntil = new Date(goodUntil.getTime() + MIN_VALID);
return new OperationStatus(StatusConst.GOOD, goodUntil);
}
}
} catch (OCSPException e) {
LOG.error("Error executing OCSP Operation",e);
} catch (OCSPQueryException e) {
LOG.error("Error executing OCSP Operation",e);
}
return new OperationStatus(StatusConst.UNKNOWN, null);
}
public static Date xtractNextUpdate(OCSPResp ocspResponse) throws OCSPQueryException {
int status = ocspResponse.getStatus();
switch (status) {
// case OCSPRespStatus.SUCCESSFUL:
// break;
// case OCSPResp.INTERNAL_ERROR:
// case OCSPRespStatus.MALFORMED_REQUEST:
// case OCSPRespStatus.SIGREQUIRED:
// case OCSPRespStatus.TRY_LATER:
// case OCSPRespStatus.UNAUTHORIZED:
case OCSPResp.SUCCESSFUL:
break;
case OCSPResp.INTERNAL_ERROR:
case OCSPResp.MALFORMED_REQUEST:
case OCSPResp.SIG_REQUIRED:
case OCSPResp.TRY_LATER:
case OCSPResp.UNAUTHORIZED:
throw new OCSPQueryException(
"OCSP Error: " //$NON-NLS-1$
+ Integer.toString(status));
default:
throw new OCSPQueryException("***"); //$NON-NLS-1$
}
try {
BasicOCSPResp bresp = (BasicOCSPResp) ocspResponse
.getResponseObject();
if (bresp == null) {
throw new OCSPQueryException("***"); //$NON-NLS-1$
}
// X509Certificate[] ocspcerts = bresp.getCerts(Messages
// .getString("ValidateSignAndCertBase.71")); //$NON-NLS-1$
// Verify all except trusted anchor
// for (i = 0; i < ocspcerts.length - 1; i++) {
// ocspcerts[i].verify(ocspcerts[i + 1].getPublicKey());
// }
// if (rootcert != null) {
// ocspcerts[i].verify(rootcert.getPublicKey());
// }
SingleResp[] certstat = bresp.getResponses();
for (SingleResp singleResp : certstat) {
// if (singleResp.getCertStatus() == null) {
// return true;
// }
if (singleResp.getCertStatus() instanceof RevokedStatus) {
throw new RevokedException();
}
LOG.debug("this-update=" + singleResp.getThisUpdate().getTime());
LOG.debug("next-update=" + singleResp.getNextUpdate().getTime());
return singleResp.getNextUpdate();
}
} catch (Exception e) {
throw new OCSPQueryException(e);
}
return null;
}
private OCSPResp xchangeOcsp(String ocspUrl, OCSPReq req)
throws MalformedURLException, IOException, OCSPQueryException {
byte[] ocspResponseEncoded = PrefsFactory.getHttpLoader().post(ocspUrl, "application/ocsp-request", req.getEncoded());
return new OCSPResp(ocspResponseEncoded);
}
private OCSPReq GenOcspReq(X509Certificate nextCert,
X509Certificate nextIssuer) throws OCSPException, CertificateEncodingException, OperatorCreationException, IOException {
return DerEncoder.GenOcspReq(nextCert, nextIssuer);
}
private List<String> extractOCSPUrl(X509Certificate nextCert)
throws CRLException {
return DerEncoder.extractOCSPUrl(nextCert);
}
}
|
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/validator/StatusValidator.java | /*
Blue Crystal: Document Digital Signature Tool
Copyright (C) 2007-2015 Sergio Leal
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package bluecrystal.service.validator;
import java.io.IOException;
import java.security.cert.CRLException;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import org.bouncycastle.operator.OperatorCreationException;
import bluecrystal.domain.OperationStatus;
import bluecrystal.service.exception.RevokedException;
import bluecrystal.service.exception.UndefStateException;
public interface StatusValidator {
public void setUseOcsp(boolean useOcsp);
public OperationStatus verifyStatus(Collection<X509Certificate> certsOnPath, Date date)
throws IOException, CertificateException, CRLException,
UndefStateException, RevokedException, OperatorCreationException;
public OperationStatus verifyStatusEE(Collection<X509Certificate> certsOnPath, Date date, List<String> crlDist) throws IOException, CertificateException, CRLException,
UndefStateException, RevokedException;
} |
0 | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service | java-sources/al/bluecryst/bluecrystal.deps.service/1.16.0/bluecrystal/service/validator/package-info.java | /**
*
*/
/**
* @author sergio
*
*/
package bluecrystal.service.validator; |
0 | java-sources/am/gaut/android/toolbarbutton/toolbarbutton/0.1.0/am/gaut/android | java-sources/am/gaut/android/toolbarbutton/toolbarbutton/0.1.0/am/gaut/android/toolbarbutton/ToolbarButton.java | package am.gaut.android.toolbarbutton;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.content.Context;
import android.graphics.Rect;
import android.os.Build;
import android.support.annotation.Nullable;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.CoordinatorLayout;
import android.support.v4.view.ViewCompat;
import android.support.v4.view.animation.FastOutLinearInInterpolator;
import android.support.v4.view.animation.LinearOutSlowInInterpolator;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Interpolator;
import android.widget.Button;
import am.gaut.android.toolbarbutton.helpers.CollapsingToolbarHelper;
/**
* Toolbar buttons are used for a special type of promoted action. They are used in combination
* with a FloatingActionButton anchored to a CollapsingToolbarLayout.
*
* Requires ICS+ (sdk 14+)
*/
@CoordinatorLayout.DefaultBehavior(ToolbarButton.Behavior.class)
public class ToolbarButton extends Button {
private static final String LOG_TAG = "ToolbarButton";
/**
* Callback to be invoked when the visibility of a ToolbarButton changes.
*/
public abstract static class OnVisibilityChangedListener {
/**
* Called when a ToolbarButton has been
* {@link #show(OnVisibilityChangedListener) shown}.
*
* @param toolbarBtn the ToolbarButton that was shown.
*/
public void onShown(ToolbarButton toolbarBtn) {}
/**
* Called when a ToolbarButton has been
* {@link #hide(OnVisibilityChangedListener) hidden}.
*
* @param toolbarBtn the ToolbarButton that was hidden.
*/
public void onHidden(ToolbarButton toolbarBtn) {}
}
private static final String XMLNS_ANDROID = "http://schemas.android.com/apk/res/android";
private static final int SHOW_HIDE_ANIM_DURATION = 200;
private static final Interpolator FAST_OUT_LINEAR_IN_INTERPOLATOR = new FastOutLinearInInterpolator();
private static final Interpolator LINEAR_OUT_SLOW_IN_INTERPOLATOR = new LinearOutSlowInInterpolator();
private boolean mIsHiding;
public ToolbarButton(Context context) {
this(context, null);
}
public ToolbarButton(Context context, AttributeSet attrs) {
this(context, attrs, 0);
}
public ToolbarButton(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
// Hide if there's no visibility attribute
if (attrs.getAttributeValue(XMLNS_ANDROID, "visibility") == null) {
setVisibility(GONE);
}
// Add elevation if it's not set
if (Build.VERSION.SDK_INT >= 21 && attrs.getAttributeValue(XMLNS_ANDROID, "elevation") == null) {
setElevation(R.dimen.toolbar_button_elevation);
}
}
/**
* Shows the button.
* <p>This method will animate the button show if the view has already been laid out.</p>
*/
public void show() {
show(null);
}
/**
* Shows the button.
* <p>This method will animate the button show if the view has already been laid out.</p>
*
* @param listener the listener to notify when this view is shown
*/
public void show(@Nullable final OnVisibilityChangedListener listener) {
if (mIsHiding || getVisibility() != View.VISIBLE) {
if (ViewCompat.isLaidOut(this) && !isInEditMode()) {
animate().cancel();
if (getVisibility() != View.VISIBLE) {
// If the view isn't visible currently, we'll animate it from a single pixel
setAlpha(0f);
setScaleY(0f);
setScaleX(0f);
}
animate()
.scaleX(1f)
.scaleY(1f)
.alpha(1f)
.setDuration(SHOW_HIDE_ANIM_DURATION)
.setInterpolator(LINEAR_OUT_SLOW_IN_INTERPOLATOR)
.setListener(new AnimatorListenerAdapter() {
@Override
public void onAnimationStart(Animator animation) {
setVisibility(View.VISIBLE);
}
@Override
public void onAnimationEnd(Animator animation) {
if (listener != null) {
listener.onShown(ToolbarButton.this);
}
}
});
} else {
setVisibility(View.VISIBLE);
setAlpha(1f);
setScaleY(1f);
setScaleX(1f);
if (listener != null) {
listener.onShown(this);
}
}
}
}
/**
* Hides the button.
* <p>This method will animate the button hide if the view has already been laid out.</p>
*/
public void hide() {
hide(null);
}
private void hide(@Nullable final OnVisibilityChangedListener listener) {
if (mIsHiding || getVisibility() != View.VISIBLE) {
// A hide animation is in progress, or we're already hidden. Skip the call
if (listener != null) {
listener.onHidden(this);
}
return;
}
if (!ViewCompat.isLaidOut(this) || isInEditMode()) {
// If the view isn't laid out, or we're in the editor, don't run the animation
setVisibility(View.GONE);
if (listener != null) {
listener.onHidden(this);
}
} else {
animate().cancel();
animate().scaleX(0.0F)
.scaleY(0.0F)
.alpha(0.0F)
.setDuration(SHOW_HIDE_ANIM_DURATION)
.setInterpolator(FAST_OUT_LINEAR_IN_INTERPOLATOR)
.setListener(new AnimatorListenerAdapter() {
private boolean mCancelled;
@Override
public void onAnimationStart(Animator animation) {
mIsHiding = true;
mCancelled = false;
setVisibility(View.VISIBLE);
}
@Override
public void onAnimationCancel(Animator animation) {
mIsHiding = false;
mCancelled = true;
}
@Override
public void onAnimationEnd(Animator animation) {
mIsHiding = false;
if (!mCancelled) {
setVisibility(View.GONE);
if (listener != null) {
listener.onHidden(ToolbarButton.this);
}
}
}
});
}
}
/**
* Behavior designed for use with {@link ToolbarButton} instances. It's main function
* is to show/hide {@link ToolbarButton} views based on the layout they are associated with.
*/
public static class Behavior extends CoordinatorLayout.Behavior<ToolbarButton> {
private Rect mTmpRect;
public Behavior() {
}
public Behavior(Context context, AttributeSet attrs) {
}
public boolean layoutDependsOn(CoordinatorLayout parent, ToolbarButton child, View dependency) {
return dependency instanceof AppBarLayout;
}
public boolean onDependentViewChanged(CoordinatorLayout parent, ToolbarButton child, View dependency) {
if (dependency instanceof AppBarLayout) {
this.updateButtonVisibility(parent, (AppBarLayout) dependency, child);
}
return false;
}
private boolean updateButtonVisibility(CoordinatorLayout parent, AppBarLayout appBarLayout, final ToolbarButton child) {
CoordinatorLayout.LayoutParams lp = (CoordinatorLayout.LayoutParams) child.getLayoutParams();
if (lp.getAnchorId() != appBarLayout.getId()) {
// The anchor ID doesn't match the dependency, so we won't automatically
// show/hide the button
return false;
}
if (mTmpRect == null) {
mTmpRect = new Rect();
}
final Rect rect = mTmpRect;
CollapsingToolbarHelper.getDescendantRect(parent, appBarLayout, rect);
// Hide show code logic borrowed from Android Support Library Floating Action Button
if (rect.bottom <= CollapsingToolbarHelper.getMinimumHeightForVisibleOverlappingContent(appBarLayout)) {
child.show();
// Height should equal toolbar height
// If android:fitsSystemWindows="true" is enabled, add appropriate top margin
final int inset = CollapsingToolbarHelper.getTopInset(appBarLayout);
ViewGroup.MarginLayoutParams params = (ViewGroup.MarginLayoutParams) child.getLayoutParams();
params.topMargin = inset;
params.height = rect.bottom - inset;
child.setLayoutParams(params);
} else {
child.hide();
}
return true;
}
}
} |
0 | java-sources/am/gaut/android/toolbarbutton/toolbarbutton/0.1.0/am/gaut/android/toolbarbutton | java-sources/am/gaut/android/toolbarbutton/toolbarbutton/0.1.0/am/gaut/android/toolbarbutton/helpers/CollapsingToolbarHelper.java | package am.gaut.android.toolbarbutton.helpers;
import android.graphics.Matrix;
import android.graphics.Rect;
import android.graphics.RectF;
import android.support.v4.view.ViewCompat;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
/**
* Need to duplicate code here because folks at Google decided to make their classes and methods
* private.
*/
public class CollapsingToolbarHelper {
private static final ThreadLocal<Matrix> sMatrix = new ThreadLocal<>();
private static final ThreadLocal<RectF> sRectF = new ThreadLocal<>();
private static final Matrix IDENTITY = new Matrix();
/**
* Borrowed from android.support.design.widget.AppBarLayout
*/
public static int getMinimumHeightForVisibleOverlappingContent(ViewGroup appBarLayout) {
final int topInset = getTopInset(appBarLayout);
final int minHeight = ViewCompat.getMinimumHeight(appBarLayout);
if (minHeight != 0) {
// If this layout has a min height, use it (doubled)
return (minHeight * 2) + topInset;
}
// Otherwise, we'll use twice the min height of our last child
final int childCount = appBarLayout.getChildCount();
return childCount >= 1
? (ViewCompat.getMinimumHeight(appBarLayout.getChildAt(childCount - 1)) * 2) + topInset
: 0;
}
/**
* Hack since we don't have access to the private
* android.support.design.widget.AppBarLayout.getTopInset() method
*/
public static int getTopInset(ViewGroup appBarLayout) {
int inset = 0;
int resourceId = appBarLayout.getResources().getIdentifier("status_bar_height", "dimen", "android");
if (ViewCompat.getFitsSystemWindows(appBarLayout) && resourceId > 0) {
inset = appBarLayout.getResources().getDimensionPixelSize(resourceId);
}
return inset;
}
/**
* Honeycomb IMPL borrowed from android.support.design.widget.ViewGroupUtils and
* android.support.design.widget.ViewGroupUtilsHoneycomb
*/
public static void getDescendantRect(ViewGroup parent, View descendant, Rect out) {
out.set(0, 0, descendant.getWidth(), descendant.getHeight());
offsetDescendantRect(parent, descendant, out);
}
static void offsetDescendantRect(ViewGroup group, View child, Rect rect) {
Matrix m = sMatrix.get();
if (m == null) {
m = new Matrix();
sMatrix.set(m);
} else {
m.set(IDENTITY);
}
offsetDescendantMatrix(group, child, m);
RectF rectF = sRectF.get();
if (rectF == null) {
rectF = new RectF();
}
rectF.set(rect);
m.mapRect(rectF);
rect.set((int) (rectF.left + 0.5f), (int) (rectF.top + 0.5f),
(int) (rectF.right + 0.5f), (int) (rectF.bottom + 0.5f));
}
static void offsetDescendantMatrix(ViewParent target, View view, Matrix m) {
final ViewParent parent = view.getParent();
if (parent instanceof View && parent != target) {
final View vp = (View) parent;
offsetDescendantMatrix(target, vp, m);
m.preTranslate(-vp.getScrollX(), -vp.getScrollY());
}
m.preTranslate(view.getLeft(), view.getTop());
if (!view.getMatrix().isIdentity()) {
m.preConcat(view.getMatrix());
}
}
}
|
0 | java-sources/am/ik/access-logger/access-logger/0.3.2/am/ik | java-sources/am/ik/access-logger/access-logger/0.3.2/am/ik/accesslogger/AccessLogger.java | package am.ik.accesslogger;
import java.net.URI;
import java.time.Duration;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Objects;
import java.util.function.BiConsumer;
import java.util.function.BiFunction;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import org.jilt.Builder;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.event.Level;
import org.slf4j.spi.LoggingEventBuilder;
import org.springframework.boot.actuate.web.exchanges.HttpExchange;
import org.springframework.boot.actuate.web.exchanges.HttpExchange.Principal;
import org.springframework.boot.actuate.web.exchanges.HttpExchange.Request;
import org.springframework.boot.actuate.web.exchanges.HttpExchange.Response;
import org.springframework.boot.actuate.web.exchanges.HttpExchangeRepository;
import org.springframework.lang.Nullable;
import org.springframework.util.CollectionUtils;
public class AccessLogger implements HttpExchangeRepository {
private final Predicate<HttpExchange> filter;
@Nullable
private final BiConsumer<StringBuilder, HttpExchange> logCustomizer;
private final Level level;
private final boolean addKeyValues;
private final boolean emptyLogMessage;
@Nullable
private final BiFunction<LoggingEventBuilder, HttpExchange, LoggingEventBuilder> loggingEventCustomizer;
private final Logger log;
@Builder
public AccessLogger(@Nullable Predicate<HttpExchange> filter,
@Nullable BiConsumer<StringBuilder, HttpExchange> logCustomizer, @Nullable String loggerName,
@Nullable Level level, boolean addKeyValues, boolean emptyLogMessage,
@Nullable BiFunction<LoggingEventBuilder, HttpExchange, LoggingEventBuilder> loggingEventCustomizer) {
if (emptyLogMessage && !addKeyValues) {
throw new IllegalArgumentException("'emptyLogMessage' can be true only when 'addKeyValues' is true.");
}
this.filter = Objects.requireNonNullElseGet(filter, () -> __ -> true);
this.logCustomizer = logCustomizer;
this.log = LoggerFactory.getLogger(Objects.requireNonNullElse(loggerName, "accesslog"));
this.level = Objects.requireNonNullElse(level, Level.INFO);
this.addKeyValues = addKeyValues;
this.emptyLogMessage = emptyLogMessage;
this.loggingEventCustomizer = loggingEventCustomizer;
}
public AccessLogger(@Nullable Predicate<HttpExchange> filter) {
this(filter, null, null, null, false, false, null);
}
public AccessLogger() {
this(null);
}
@Override
public List<HttpExchange> findAll() {
return List.of();
}
@Override
public void add(HttpExchange httpExchange) {
if (!log.isEnabledForLevel(this.level)) {
return;
}
final Request request = httpExchange.getRequest();
final URI uri = request.getUri();
if (!filter.test(httpExchange)) {
return;
}
final Response response = httpExchange.getResponse();
final Principal principal = httpExchange.getPrincipal();
final Duration timeTaken = httpExchange.getTimeTaken();
final Map<String, List<String>> headers = caseInsensitive(request.getHeaders());
final StringBuilder log = new StringBuilder();
final String remoteAddress = request.getRemoteAddress();
LoggingEventBuilder eventBuilder = this.log.atLevel(this.level);
if (remoteAddress != null) {
if (!this.emptyLogMessage) {
log.append("remote=").append(remoteAddress).append(" ");
}
if (this.addKeyValues) {
eventBuilder = eventBuilder.addKeyValue("remote", remoteAddress);
}
}
if (principal != null) {
String user = principal.getName();
if (!this.emptyLogMessage) {
log.append("user=\"").append(user).append("\" ");
}
if (this.addKeyValues) {
eventBuilder = eventBuilder.addKeyValue("user", user);
}
}
if (!this.emptyLogMessage) {
log.append("ts=\"").append(httpExchange.getTimestamp()).append("\" ");
log.append("method=").append(request.getMethod()).append(" ");
log.append("url=\"").append(uri).append("\" ");
log.append("response_code=").append(response.getStatus()).append(" ");
}
if (this.addKeyValues) {
eventBuilder = eventBuilder.addKeyValue("ts", httpExchange.getTimestamp())
.addKeyValue("method", request.getMethod())
.addKeyValue("url", uri)
.addKeyValue("response_code", response.getStatus());
}
final List<String> referer = headers.get("referer");
if (!CollectionUtils.isEmpty(referer)) {
String referer0 = referer.get(0);
if (!this.emptyLogMessage) {
log.append("referer=\"").append(referer0).append("\" ");
}
if (this.addKeyValues) {
eventBuilder = eventBuilder.addKeyValue("referer", referer0);
}
}
final List<String> userAgent = headers.get("user-agent");
if (!CollectionUtils.isEmpty(userAgent)) {
String userAgent0 = userAgent.get(0);
if (!this.emptyLogMessage) {
log.append("user_agent=\"").append(userAgent0).append("\" ");
}
if (this.addKeyValues) {
eventBuilder = eventBuilder.addKeyValue("user_agent", userAgent0);
}
}
if (timeTaken != null) {
long duration = timeTaken.toMillis();
if (!this.emptyLogMessage) {
log.append("duration=").append(duration).append(" ");
}
if (this.addKeyValues) {
eventBuilder = eventBuilder.addKeyValue("duration", duration);
}
}
if (this.logCustomizer != null) {
this.logCustomizer.accept(log, httpExchange);
}
if (this.loggingEventCustomizer != null) {
eventBuilder = this.loggingEventCustomizer.apply(eventBuilder, httpExchange);
}
eventBuilder.log(log.toString().trim());
}
public static <T> Map<String, T> caseInsensitive(Map<String, T> map) {
return map.entrySet().stream().map(entry -> new Map.Entry<String, T>() {
@Override
public String getKey() {
return entry.getKey().toLowerCase(Locale.US);
}
@Override
public T getValue() {
return entry.getValue();
}
@Override
public T setValue(T value) {
return entry.setValue(value);
}
}).collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
}
} |
0 | java-sources/am/ik/access-logger/access-logger/0.3.2/am/ik | java-sources/am/ik/access-logger/access-logger/0.3.2/am/ik/accesslogger/package-info.java | @NonNullApi
package am.ik.accesslogger;
import org.springframework.lang.NonNullApi; |
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/AwsApaRequester.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa;
import java.util.concurrent.ExecutionException;
import javax.xml.ws.Response;
import am.ik.aws.apa.jaxws.ItemLookupRequest;
import am.ik.aws.apa.jaxws.ItemLookupResponse;
import am.ik.aws.apa.jaxws.ItemSearchRequest;
import am.ik.aws.apa.jaxws.ItemSearchResponse;
public interface AwsApaRequester {
ItemSearchResponse itemSearch(ItemSearchRequest request);
Response<ItemSearchResponse> itemSearchAsync(ItemSearchRequest request)
throws ExecutionException, InterruptedException;
ItemLookupResponse itemLookup(ItemLookupRequest request);
Response<ItemLookupResponse> itemLookupAsync(ItemLookupRequest request)
throws ExecutionException, InterruptedException;
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/AwsApaRequesterImpl.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.xml.ws.BindingProvider;
import javax.xml.ws.Response;
import javax.xml.ws.WebServiceException;
import am.ik.aws.apa.handler.AwsHandlerResolver;
import am.ik.aws.apa.jaxws.AWSECommerceService;
import am.ik.aws.apa.jaxws.AWSECommerceServicePortType;
import am.ik.aws.apa.jaxws.ItemLookup;
import am.ik.aws.apa.jaxws.ItemLookupRequest;
import am.ik.aws.apa.jaxws.ItemLookupResponse;
import am.ik.aws.apa.jaxws.ItemSearch;
import am.ik.aws.apa.jaxws.ItemSearchRequest;
import am.ik.aws.apa.jaxws.ItemSearchResponse;
import am.ik.aws.config.AwsConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class AwsApaRequesterImpl implements AwsApaRequester {
private final String endpoint;
private final String accessKeyId;
private final String secretAccessKey;
private final String associateTag;
private final Lock lock = new ReentrantLock();
private volatile AWSECommerceServicePortType port;
private static final Logger logger = LoggerFactory
.getLogger(AwsApaRequesterImpl.class);
private int retryCount = 3;
private long retryInterval = 1000; // [msec]
private static final Pattern HTTP_STATUS_PATTERN = Pattern
.compile("status code ([0-9]{3})");
public AwsApaRequesterImpl() throws IllegalArgumentException {
this.endpoint = AwsConfig.getValue("aws.endpoint");
this.accessKeyId = AwsConfig.getValue("aws.accesskey.id");
this.secretAccessKey = AwsConfig.getValue("aws.secret.accesskey");
this.associateTag = AwsConfig.getValue("aws.associate.tag");
checkArgs(endpoint, accessKeyId, secretAccessKey, associateTag);
}
public AwsApaRequesterImpl(String endpoint, String accessKeyId,
String secretAccessKey, String associateTag)
throws IllegalArgumentException {
this.endpoint = endpoint;
this.accessKeyId = accessKeyId;
this.secretAccessKey = secretAccessKey;
this.associateTag = associateTag;
checkArgs(endpoint, accessKeyId, secretAccessKey, associateTag);
}
private static void checkArgs(String endpoint, String accessKeyId,
String secretAccessKey, String associateTag)
throws IllegalArgumentException {
checkIfNullOrEmpty(endpoint, "endpoint");
checkIfNullOrEmpty(accessKeyId, "accessKeyId");
checkIfNullOrEmpty(secretAccessKey, "secretAccessKey");
checkIfNullOrEmpty(associateTag, "associateTag");
}
private static void checkIfNullOrEmpty(String str, String name)
throws IllegalArgumentException {
if (str == null) {
throw new IllegalArgumentException(name + " is null.");
}
if ("".equals(str)) {
throw new IllegalArgumentException(name + " is empty.");
}
}
protected AWSECommerceServicePortType preparePort() {
if (port == null) {
try {
lock.lock();
if (port == null) {
logger.debug("preparing...");
AWSECommerceService service = new AWSECommerceService();
service.setHandlerResolver(new AwsHandlerResolver(
secretAccessKey));
AWSECommerceServicePortType port = service
.getAWSECommerceServicePort();
((BindingProvider) port)
.getRequestContext()
.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
endpoint
+ "/onca/soap?Service=AWSECommerceService");
this.port = port;
}
} finally {
lock.unlock();
}
}
return port;
}
protected ItemSearch prepareItemSearch(ItemSearchRequest request) {
ItemSearch itemSearch = new ItemSearch();
itemSearch.setAssociateTag(associateTag);
itemSearch.setAWSAccessKeyId(accessKeyId);
itemSearch.getRequest().add(request);
return itemSearch;
}
protected ItemLookup prepareItemLookup(ItemLookupRequest request) {
ItemLookup itemLookup = new ItemLookup();
itemLookup.setAssociateTag(associateTag);
itemLookup.setAWSAccessKeyId(accessKeyId);
itemLookup.getRequest().add(request);
return itemLookup;
}
@Override
public ItemSearchResponse itemSearch(ItemSearchRequest request) {
final AWSECommerceServicePortType port = preparePort();
final ItemSearch itemSearch = prepareItemSearch(request);
ItemSearchResponse response = invokeWithRetry(new WebServiceInvoker<ItemSearchResponse>() {
@Override
public ItemSearchResponse invoke() throws WebServiceException {
return port.itemSearch(itemSearch);
}
});
return response;
}
@Override
public Response<ItemSearchResponse> itemSearchAsync(
ItemSearchRequest request) throws ExecutionException,
InterruptedException {
AWSECommerceServicePortType port = preparePort();
ItemSearch itemSearch = prepareItemSearch(request);
Response<ItemSearchResponse> response = port
.itemSearchAsync(itemSearch);
return response;
}
public <T> T invokeWithRetry(WebServiceInvoker<T> invoker)
throws WebServiceException {
int retry = 0;
T result = null;
while (true) {
try {
result = invoker.invoke();
break;
} catch (WebServiceException e) {
Matcher m = HTTP_STATUS_PATTERN.matcher(e.getMessage());
if (m.find() && Integer.parseInt(m.group(1)) == 503) {
logger.warn("web service exception occurred", e);
if (retry < retryCount && retryInterval > 0) {
retry++;
try {
logger.debug("retry {}/{}", retry, retryCount);
TimeUnit.MILLISECONDS.sleep(retryInterval * retry);
} catch (InterruptedException ignored) {
}
continue;
} else {
throw e;
}
}
}
}
return result;
}
@Override
public ItemLookupResponse itemLookup(ItemLookupRequest request) {
final AWSECommerceServicePortType port = preparePort();
final ItemLookup itemLookup = prepareItemLookup(request);
ItemLookupResponse response = invokeWithRetry(new WebServiceInvoker<ItemLookupResponse>() {
@Override
public ItemLookupResponse invoke() throws WebServiceException {
return port.itemLookup(itemLookup);
}
});
return response;
}
@Override
public Response<ItemLookupResponse> itemLookupAsync(
ItemLookupRequest request) throws ExecutionException,
InterruptedException {
AWSECommerceServicePortType port = preparePort();
ItemLookup itemLookup = prepareItemLookup(request);
Response<ItemLookupResponse> response = port
.itemLookupAsync(itemLookup);
return response;
}
public <T> T getResponseWithRetry(final Response<T> res) {
return invokeWithRetry(new WebServiceInvoker<T>() {
@Override
public T invoke() throws WebServiceException {
try {
return res.get();
} catch (InterruptedException e) {
throw new WebServiceException(e);
} catch (ExecutionException e) {
throw new WebServiceException(e);
}
}
});
}
public int getRetryCount() {
return retryCount;
}
public void setRetryCount(int retryCount) {
this.retryCount = retryCount;
}
public long getRetryInterval() {
return retryInterval;
}
public void setRetryInterval(long retryInterval) {
this.retryInterval = retryInterval;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/WebServiceInvoker.java | package am.ik.aws.apa;
import javax.xml.ws.WebServiceException;
interface WebServiceInvoker<T> {
T invoke() throws WebServiceException;
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/handler/AwsHandlerResolver.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* @author tlcdev @ https://forums.aws.amazon.com/thread.jspa?threadID=34600&tstart=0#141158
*/
package am.ik.aws.apa.handler;
import java.io.UnsupportedEncodingException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import java.util.Set;
import java.util.TimeZone;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import javax.xml.namespace.QName;
import javax.xml.soap.SOAPBody;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPMessage;
import javax.xml.ws.handler.Handler;
import javax.xml.ws.handler.HandlerResolver;
import javax.xml.ws.handler.MessageContext;
import javax.xml.ws.handler.PortInfo;
import javax.xml.ws.handler.soap.SOAPHandler;
import javax.xml.ws.handler.soap.SOAPMessageContext;
import org.apache.commons.codec.binary.Base64;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
public class AwsHandlerResolver implements HandlerResolver {
private String awsSecretKey;
public AwsHandlerResolver(String awsSecretKey) {
this.awsSecretKey = awsSecretKey;
}
@SuppressWarnings("rawtypes")
public List<Handler> getHandlerChain(PortInfo portInfo) {
List<Handler> handlerChain = new ArrayList<Handler>();
QName serviceQName = portInfo.getServiceName();
if (serviceQName.getLocalPart().equals("AWSECommerceService")) {
handlerChain.add(new AwsHandler(awsSecretKey));
}
return handlerChain;
}
private static class AwsHandler implements SOAPHandler<SOAPMessageContext> {
private byte[] secretBytes;
public AwsHandler(String awsSecretKey) {
secretBytes = stringToUtf8(awsSecretKey);
}
public void close(MessageContext messagecontext) {
}
public Set<QName> getHeaders() {
return null;
}
public boolean handleFault(SOAPMessageContext messagecontext) {
return true;
}
public boolean handleMessage(SOAPMessageContext messagecontext) {
Boolean outbound = (Boolean) messagecontext
.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
if (outbound) {
try {
SOAPMessage soapMessage = messagecontext.getMessage();
SOAPBody soapBody = soapMessage.getSOAPBody();
Node firstChild = soapBody.getFirstChild();
String timeStamp = getTimestamp();
String signature = getSignature(firstChild.getLocalName(),
timeStamp, secretBytes);
appendTextElement(firstChild, "Signature", signature);
appendTextElement(firstChild, "Timestamp", timeStamp);
} catch (SOAPException se) {
throw new RuntimeException("SOAPException was thrown.", se);
}
}
return true;
}
private String getSignature(String operation, String timeStamp,
byte[] secretBytes) {
try {
String toSign = operation + timeStamp;
byte[] toSignBytes = stringToUtf8(toSign);
Mac signer = Mac.getInstance("HmacSHA256");
SecretKeySpec keySpec = new SecretKeySpec(secretBytes,
"HmacSHA256");
signer.init(keySpec);
signer.update(toSignBytes);
byte[] signBytes = signer.doFinal();
String signature = new String(Base64.encodeBase64(signBytes));
return signature;
} catch (NoSuchAlgorithmException nsae) {
throw new RuntimeException(
"NoSuchAlgorithmException was thrown.", nsae);
} catch (InvalidKeyException ike) {
throw new RuntimeException("InvalidKeyException was thrown.",
ike);
}
}
private String getTimestamp() {
Calendar calendar = Calendar.getInstance();
SimpleDateFormat dateFormat = new SimpleDateFormat(
"yyyy-MM-dd'T'HH:mm:ss'Z'");
dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
return dateFormat.format(calendar.getTime());
}
private byte[] stringToUtf8(String source) {
try {
return source.getBytes("UTF-8");
} catch (UnsupportedEncodingException e) {
// This will never happen. UTF-8 is always available.
throw new RuntimeException(
"getBytes threw an UnsupportedEncodingException", e);
}
}
private void appendTextElement(Node node, String elementName,
String elementText) {
Element element = node.getOwnerDocument()
.createElement(elementName);
element.setTextContent(elementText);
node.appendChild(element);
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/AWSECommerceService.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Logger;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
/**
* This class was generated by the JAX-WS RI. JAX-WS RI 2.1.6 in JDK 6 Generated
* source version: 2.1
*
*/
@WebServiceClient(name = "AWSECommerceService", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", wsdlLocation = "http://ecs.amazonaws.com/AWSECommerceService/AWSECommerceService.wsdl")
public class AWSECommerceService extends Service {
private final static URL AWSECOMMERCESERVICE_WSDL_LOCATION;
private final static Logger logger = Logger
.getLogger(am.ik.aws.apa.jaxws.AWSECommerceService.class.getName());
static {
URL url = null;
try {
URL baseUrl;
baseUrl = am.ik.aws.apa.jaxws.AWSECommerceService.class
.getResource(".");
url = new URL(baseUrl,
"http://ecs.amazonaws.com/AWSECommerceService/AWSECommerceService.wsdl");
} catch (MalformedURLException e) {
logger.warning("Failed to create URL for the wsdl Location: 'http://ecs.amazonaws.com/AWSECommerceService/AWSECommerceService.wsdl', retrying as a local file");
logger.warning(e.getMessage());
}
AWSECOMMERCESERVICE_WSDL_LOCATION = url;
}
public AWSECommerceService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public AWSECommerceService() {
super(AWSECOMMERCESERVICE_WSDL_LOCATION, new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceService"));
}
/**
*
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePort")
public AWSECommerceServicePortType getAWSECommerceServicePort() {
return super.getPort(new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePort"), AWSECommerceServicePortType.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure
* on the proxy. Supported features not in the
* <code>features</code> parameter will have their default
* values.
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePort")
public AWSECommerceServicePortType getAWSECommerceServicePort(
WebServiceFeature... features) {
return super.getPort(new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePort"), AWSECommerceServicePortType.class,
features);
}
/**
*
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePortCA")
public AWSECommerceServicePortType getAWSECommerceServicePortCA() {
return super
.getPort(
new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePortCA"),
AWSECommerceServicePortType.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure
* on the proxy. Supported features not in the
* <code>features</code> parameter will have their default
* values.
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePortCA")
public AWSECommerceServicePortType getAWSECommerceServicePortCA(
WebServiceFeature... features) {
return super.getPort(new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePortCA"),
AWSECommerceServicePortType.class, features);
}
/**
*
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePortDE")
public AWSECommerceServicePortType getAWSECommerceServicePortDE() {
return super
.getPort(
new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePortDE"),
AWSECommerceServicePortType.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure
* on the proxy. Supported features not in the
* <code>features</code> parameter will have their default
* values.
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePortDE")
public AWSECommerceServicePortType getAWSECommerceServicePortDE(
WebServiceFeature... features) {
return super.getPort(new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePortDE"),
AWSECommerceServicePortType.class, features);
}
/**
*
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePortFR")
public AWSECommerceServicePortType getAWSECommerceServicePortFR() {
return super
.getPort(
new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePortFR"),
AWSECommerceServicePortType.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure
* on the proxy. Supported features not in the
* <code>features</code> parameter will have their default
* values.
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePortFR")
public AWSECommerceServicePortType getAWSECommerceServicePortFR(
WebServiceFeature... features) {
return super.getPort(new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePortFR"),
AWSECommerceServicePortType.class, features);
}
/**
*
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePortJP")
public AWSECommerceServicePortType getAWSECommerceServicePortJP() {
return super
.getPort(
new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePortJP"),
AWSECommerceServicePortType.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure
* on the proxy. Supported features not in the
* <code>features</code> parameter will have their default
* values.
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePortJP")
public AWSECommerceServicePortType getAWSECommerceServicePortJP(
WebServiceFeature... features) {
return super.getPort(new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePortJP"),
AWSECommerceServicePortType.class, features);
}
/**
*
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePortUK")
public AWSECommerceServicePortType getAWSECommerceServicePortUK() {
return super
.getPort(
new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePortUK"),
AWSECommerceServicePortType.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure
* on the proxy. Supported features not in the
* <code>features</code> parameter will have their default
* values.
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePortUK")
public AWSECommerceServicePortType getAWSECommerceServicePortUK(
WebServiceFeature... features) {
return super.getPort(new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePortUK"),
AWSECommerceServicePortType.class, features);
}
/**
*
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePortUS")
public AWSECommerceServicePortType getAWSECommerceServicePortUS() {
return super
.getPort(
new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePortUS"),
AWSECommerceServicePortType.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure
* on the proxy. Supported features not in the
* <code>features</code> parameter will have their default
* values.
* @return returns AWSECommerceServicePortType
*/
@WebEndpoint(name = "AWSECommerceServicePortUS")
public AWSECommerceServicePortType getAWSECommerceServicePortUS(
WebServiceFeature... features) {
return super.getPort(new QName(
"http://webservices.amazon.com/AWSECommerceService/2011-08-01",
"AWSECommerceServicePortUS"),
AWSECommerceServicePortType.class, features);
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/AWSECommerceServicePortType.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.concurrent.Future;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.AsyncHandler;
import javax.xml.ws.Response;
/**
* This class was generated by the JAX-WS RI. JAX-WS RI 2.1.6 in JDK 6 Generated
* source version: 2.1
*
*/
@WebService(name = "AWSECommerceServicePortType", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@XmlSeeAlso({ ObjectFactory.class })
public interface AWSECommerceServicePortType {
/**
*
* @param body
* @return returns
* javax.xml.ws.Response<am.ik.aws.apa.jaxws.ItemSearchResponse>
*/
@WebMethod(operationName = "ItemSearch", action = "http://soap.amazon.com/ItemSearch")
public Response<ItemSearchResponse> itemSearchAsync(
@WebParam(name = "ItemSearch", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") ItemSearch body);
/**
*
* @param body
* @param asyncHandler
* @return returns java.util.concurrent.Future<? extends java.lang.Object>
*/
@WebMethod(operationName = "ItemSearch", action = "http://soap.amazon.com/ItemSearch")
public Future<?> itemSearchAsync(
@WebParam(name = "ItemSearch", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") ItemSearch body,
@WebParam(name = "ItemSearchResponse", targetNamespace = "", partName = "asyncHandler") AsyncHandler<ItemSearchResponse> asyncHandler);
/**
*
* @param body
* @return returns am.ik.aws.apa.jaxws.ItemSearchResponse
*/
@WebMethod(operationName = "ItemSearch", action = "http://soap.amazon.com/ItemSearch")
@WebResult(name = "ItemSearchResponse", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body")
public ItemSearchResponse itemSearch(
@WebParam(name = "ItemSearch", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") ItemSearch body);
/**
*
* @param body
* @return returns
* javax.xml.ws.Response<am.ik.aws.apa.jaxws.ItemLookupResponse>
*/
@WebMethod(operationName = "ItemLookup", action = "http://soap.amazon.com/ItemLookup")
public Response<ItemLookupResponse> itemLookupAsync(
@WebParam(name = "ItemLookup", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") ItemLookup body);
/**
*
* @param body
* @param asyncHandler
* @return returns java.util.concurrent.Future<? extends java.lang.Object>
*/
@WebMethod(operationName = "ItemLookup", action = "http://soap.amazon.com/ItemLookup")
public Future<?> itemLookupAsync(
@WebParam(name = "ItemLookup", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") ItemLookup body,
@WebParam(name = "ItemLookupResponse", targetNamespace = "", partName = "asyncHandler") AsyncHandler<ItemLookupResponse> asyncHandler);
/**
*
* @param body
* @return returns am.ik.aws.apa.jaxws.ItemLookupResponse
*/
@WebMethod(operationName = "ItemLookup", action = "http://soap.amazon.com/ItemLookup")
@WebResult(name = "ItemLookupResponse", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body")
public ItemLookupResponse itemLookup(
@WebParam(name = "ItemLookup", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") ItemLookup body);
/**
*
* @param body
* @return returns
* javax.xml.ws.Response<am.ik.aws.apa.jaxws.BrowseNodeLookupResponse
* >
*/
@WebMethod(operationName = "BrowseNodeLookup", action = "http://soap.amazon.com/BrowseNodeLookup")
public Response<BrowseNodeLookupResponse> browseNodeLookupAsync(
@WebParam(name = "BrowseNodeLookup", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") BrowseNodeLookup body);
/**
*
* @param body
* @param asyncHandler
* @return returns java.util.concurrent.Future<? extends java.lang.Object>
*/
@WebMethod(operationName = "BrowseNodeLookup", action = "http://soap.amazon.com/BrowseNodeLookup")
public Future<?> browseNodeLookupAsync(
@WebParam(name = "BrowseNodeLookup", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") BrowseNodeLookup body,
@WebParam(name = "BrowseNodeLookupResponse", targetNamespace = "", partName = "asyncHandler") AsyncHandler<BrowseNodeLookupResponse> asyncHandler);
/**
*
* @param body
* @return returns am.ik.aws.apa.jaxws.BrowseNodeLookupResponse
*/
@WebMethod(operationName = "BrowseNodeLookup", action = "http://soap.amazon.com/BrowseNodeLookup")
@WebResult(name = "BrowseNodeLookupResponse", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body")
public BrowseNodeLookupResponse browseNodeLookup(
@WebParam(name = "BrowseNodeLookup", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") BrowseNodeLookup body);
/**
*
* @param body
* @return returns
* javax.xml.ws.Response<am.ik.aws.apa.jaxws.SimilarityLookupResponse
* >
*/
@WebMethod(operationName = "SimilarityLookup", action = "http://soap.amazon.com/SimilarityLookup")
public Response<SimilarityLookupResponse> similarityLookupAsync(
@WebParam(name = "SimilarityLookup", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") SimilarityLookup body);
/**
*
* @param body
* @param asyncHandler
* @return returns java.util.concurrent.Future<? extends java.lang.Object>
*/
@WebMethod(operationName = "SimilarityLookup", action = "http://soap.amazon.com/SimilarityLookup")
public Future<?> similarityLookupAsync(
@WebParam(name = "SimilarityLookup", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") SimilarityLookup body,
@WebParam(name = "SimilarityLookupResponse", targetNamespace = "", partName = "asyncHandler") AsyncHandler<SimilarityLookupResponse> asyncHandler);
/**
*
* @param body
* @return returns am.ik.aws.apa.jaxws.SimilarityLookupResponse
*/
@WebMethod(operationName = "SimilarityLookup", action = "http://soap.amazon.com/SimilarityLookup")
@WebResult(name = "SimilarityLookupResponse", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body")
public SimilarityLookupResponse similarityLookup(
@WebParam(name = "SimilarityLookup", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") SimilarityLookup body);
/**
*
* @param body
* @return returns
* javax.xml.ws.Response<am.ik.aws.apa.jaxws.CartGetResponse>
*/
@WebMethod(operationName = "CartGet", action = "http://soap.amazon.com/CartGet")
public Response<CartGetResponse> cartGetAsync(
@WebParam(name = "CartGet", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartGet body);
/**
*
* @param body
* @param asyncHandler
* @return returns java.util.concurrent.Future<? extends java.lang.Object>
*/
@WebMethod(operationName = "CartGet", action = "http://soap.amazon.com/CartGet")
public Future<?> cartGetAsync(
@WebParam(name = "CartGet", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartGet body,
@WebParam(name = "CartGetResponse", targetNamespace = "", partName = "asyncHandler") AsyncHandler<CartGetResponse> asyncHandler);
/**
*
* @param body
* @return returns am.ik.aws.apa.jaxws.CartGetResponse
*/
@WebMethod(operationName = "CartGet", action = "http://soap.amazon.com/CartGet")
@WebResult(name = "CartGetResponse", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body")
public CartGetResponse cartGet(
@WebParam(name = "CartGet", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartGet body);
/**
*
* @param body
* @return returns
* javax.xml.ws.Response<am.ik.aws.apa.jaxws.CartCreateResponse>
*/
@WebMethod(operationName = "CartCreate", action = "http://soap.amazon.com/CartCreate")
public Response<CartCreateResponse> cartCreateAsync(
@WebParam(name = "CartCreate", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartCreate body);
/**
*
* @param body
* @param asyncHandler
* @return returns java.util.concurrent.Future<? extends java.lang.Object>
*/
@WebMethod(operationName = "CartCreate", action = "http://soap.amazon.com/CartCreate")
public Future<?> cartCreateAsync(
@WebParam(name = "CartCreate", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartCreate body,
@WebParam(name = "CartCreateResponse", targetNamespace = "", partName = "asyncHandler") AsyncHandler<CartCreateResponse> asyncHandler);
/**
*
* @param body
* @return returns am.ik.aws.apa.jaxws.CartCreateResponse
*/
@WebMethod(operationName = "CartCreate", action = "http://soap.amazon.com/CartCreate")
@WebResult(name = "CartCreateResponse", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body")
public CartCreateResponse cartCreate(
@WebParam(name = "CartCreate", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartCreate body);
/**
*
* @param body
* @return returns
* javax.xml.ws.Response<am.ik.aws.apa.jaxws.CartAddResponse>
*/
@WebMethod(operationName = "CartAdd", action = "http://soap.amazon.com/CartAdd")
public Response<CartAddResponse> cartAddAsync(
@WebParam(name = "CartAdd", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartAdd body);
/**
*
* @param body
* @param asyncHandler
* @return returns java.util.concurrent.Future<? extends java.lang.Object>
*/
@WebMethod(operationName = "CartAdd", action = "http://soap.amazon.com/CartAdd")
public Future<?> cartAddAsync(
@WebParam(name = "CartAdd", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartAdd body,
@WebParam(name = "CartAddResponse", targetNamespace = "", partName = "asyncHandler") AsyncHandler<CartAddResponse> asyncHandler);
/**
*
* @param body
* @return returns am.ik.aws.apa.jaxws.CartAddResponse
*/
@WebMethod(operationName = "CartAdd", action = "http://soap.amazon.com/CartAdd")
@WebResult(name = "CartAddResponse", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body")
public CartAddResponse cartAdd(
@WebParam(name = "CartAdd", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartAdd body);
/**
*
* @param body
* @return returns
* javax.xml.ws.Response<am.ik.aws.apa.jaxws.CartModifyResponse>
*/
@WebMethod(operationName = "CartModify", action = "http://soap.amazon.com/CartModify")
public Response<CartModifyResponse> cartModifyAsync(
@WebParam(name = "CartModify", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartModify body);
/**
*
* @param body
* @param asyncHandler
* @return returns java.util.concurrent.Future<? extends java.lang.Object>
*/
@WebMethod(operationName = "CartModify", action = "http://soap.amazon.com/CartModify")
public Future<?> cartModifyAsync(
@WebParam(name = "CartModify", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartModify body,
@WebParam(name = "CartModifyResponse", targetNamespace = "", partName = "asyncHandler") AsyncHandler<CartModifyResponse> asyncHandler);
/**
*
* @param body
* @return returns am.ik.aws.apa.jaxws.CartModifyResponse
*/
@WebMethod(operationName = "CartModify", action = "http://soap.amazon.com/CartModify")
@WebResult(name = "CartModifyResponse", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body")
public CartModifyResponse cartModify(
@WebParam(name = "CartModify", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartModify body);
/**
*
* @param body
* @return returns
* javax.xml.ws.Response<am.ik.aws.apa.jaxws.CartClearResponse>
*/
@WebMethod(operationName = "CartClear", action = "http://soap.amazon.com/CartClear")
public Response<CartClearResponse> cartClearAsync(
@WebParam(name = "CartClear", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartClear body);
/**
*
* @param body
* @param asyncHandler
* @return returns java.util.concurrent.Future<? extends java.lang.Object>
*/
@WebMethod(operationName = "CartClear", action = "http://soap.amazon.com/CartClear")
public Future<?> cartClearAsync(
@WebParam(name = "CartClear", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartClear body,
@WebParam(name = "CartClearResponse", targetNamespace = "", partName = "asyncHandler") AsyncHandler<CartClearResponse> asyncHandler);
/**
*
* @param body
* @return returns am.ik.aws.apa.jaxws.CartClearResponse
*/
@WebMethod(operationName = "CartClear", action = "http://soap.amazon.com/CartClear")
@WebResult(name = "CartClearResponse", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body")
public CartClearResponse cartClear(
@WebParam(name = "CartClear", targetNamespace = "http://webservices.amazon.com/AWSECommerceService/2011-08-01", partName = "body") CartClear body);
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/Accessories.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Accessory" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "accessory" })
@XmlRootElement(name = "Accessories")
public class Accessories {
@XmlElement(name = "Accessory", required = true)
protected List<Accessories.Accessory> accessory;
/**
* Gets the value of the accessory property.
*
* <p>
* 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
* <CODE>set</CODE> method for the accessory property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getAccessory().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Accessories.Accessory }
*
*
*/
public List<Accessories.Accessory> getAccessory() {
if (accessory == null) {
accessory = new ArrayList<Accessories.Accessory>();
}
return this.accessory;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "asin", "title" })
public static class Accessory {
@XmlElement(name = "ASIN")
protected String asin;
@XmlElement(name = "Title")
protected String title;
/**
* Gets the value of the asin property.
*
* @return possible object is {@link String }
*
*/
public String getASIN() {
return asin;
}
/**
* Sets the value of the asin property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setASIN(String value) {
this.asin = value;
}
/**
* Gets the value of the title property.
*
* @return possible object is {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/Arguments.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Argument" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="Value" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "argument" })
@XmlRootElement(name = "Arguments")
public class Arguments {
@XmlElement(name = "Argument", required = true)
protected List<Arguments.Argument> argument;
/**
* Gets the value of the argument property.
*
* <p>
* 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
* <CODE>set</CODE> method for the argument property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getArgument().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Arguments.Argument }
*
*
*/
public List<Arguments.Argument> getArgument() {
if (argument == null) {
argument = new ArrayList<Arguments.Argument>();
}
return this.argument;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="Value" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Argument {
@XmlAttribute(name = "Name", required = true)
protected String name;
@XmlAttribute(name = "Value")
protected String value;
/**
* Gets the value of the name property.
*
* @return possible object is {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the value property.
*
* @return possible object is {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/Bin.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="BinName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="BinItemCount" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
* <element name="BinParameter" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "binName", "binItemCount", "binParameter" })
@XmlRootElement(name = "Bin")
public class Bin {
@XmlElement(name = "BinName", required = true)
protected String binName;
@XmlElement(name = "BinItemCount", required = true)
@XmlSchemaType(name = "positiveInteger")
protected BigInteger binItemCount;
@XmlElement(name = "BinParameter")
protected List<Bin.BinParameter> binParameter;
/**
* Gets the value of the binName property.
*
* @return possible object is {@link String }
*
*/
public String getBinName() {
return binName;
}
/**
* Sets the value of the binName property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setBinName(String value) {
this.binName = value;
}
/**
* Gets the value of the binItemCount property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getBinItemCount() {
return binItemCount;
}
/**
* Sets the value of the binItemCount property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setBinItemCount(BigInteger value) {
this.binItemCount = value;
}
/**
* Gets the value of the binParameter property.
*
* <p>
* 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
* <CODE>set</CODE> method for the binParameter property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getBinParameter().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Bin.BinParameter }
*
*
*/
public List<Bin.BinParameter> getBinParameter() {
if (binParameter == null) {
binParameter = new ArrayList<Bin.BinParameter>();
}
return this.binParameter;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "name", "value" })
public static class BinParameter {
@XmlElement(name = "Name", required = true)
protected String name;
@XmlElement(name = "Value", required = true)
protected String value;
/**
* Gets the value of the name property.
*
* @return possible object is {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the value property.
*
* @return possible object is {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/BrowseNode.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="BrowseNodeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="IsCategoryRoot" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="Properties" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Property" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Children" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNode" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Ancestors" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNode" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}TopSellers" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}NewReleases" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}TopItemSet" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "browseNodeId", "name", "isCategoryRoot",
"properties", "children", "ancestors", "topSellers", "newReleases",
"topItemSet" })
@XmlRootElement(name = "BrowseNode")
public class BrowseNode {
@XmlElement(name = "BrowseNodeId")
protected String browseNodeId;
@XmlElement(name = "Name")
protected String name;
@XmlElement(name = "IsCategoryRoot")
protected Boolean isCategoryRoot;
@XmlElement(name = "Properties")
protected BrowseNode.Properties properties;
@XmlElement(name = "Children")
protected BrowseNode.Children children;
@XmlElement(name = "Ancestors")
protected BrowseNode.Ancestors ancestors;
@XmlElement(name = "TopSellers")
protected TopSellers topSellers;
@XmlElement(name = "NewReleases")
protected NewReleases newReleases;
@XmlElement(name = "TopItemSet")
protected List<TopItemSet> topItemSet;
/**
* Gets the value of the browseNodeId property.
*
* @return possible object is {@link String }
*
*/
public String getBrowseNodeId() {
return browseNodeId;
}
/**
* Sets the value of the browseNodeId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setBrowseNodeId(String value) {
this.browseNodeId = value;
}
/**
* Gets the value of the name property.
*
* @return possible object is {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the isCategoryRoot property.
*
* @return possible object is {@link Boolean }
*
*/
public Boolean isIsCategoryRoot() {
return isCategoryRoot;
}
/**
* Sets the value of the isCategoryRoot property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setIsCategoryRoot(Boolean value) {
this.isCategoryRoot = value;
}
/**
* Gets the value of the properties property.
*
* @return possible object is {@link BrowseNode.Properties }
*
*/
public BrowseNode.Properties getProperties() {
return properties;
}
/**
* Sets the value of the properties property.
*
* @param value
* allowed object is {@link BrowseNode.Properties }
*
*/
public void setProperties(BrowseNode.Properties value) {
this.properties = value;
}
/**
* Gets the value of the children property.
*
* @return possible object is {@link BrowseNode.Children }
*
*/
public BrowseNode.Children getChildren() {
return children;
}
/**
* Sets the value of the children property.
*
* @param value
* allowed object is {@link BrowseNode.Children }
*
*/
public void setChildren(BrowseNode.Children value) {
this.children = value;
}
/**
* Gets the value of the ancestors property.
*
* @return possible object is {@link BrowseNode.Ancestors }
*
*/
public BrowseNode.Ancestors getAncestors() {
return ancestors;
}
/**
* Sets the value of the ancestors property.
*
* @param value
* allowed object is {@link BrowseNode.Ancestors }
*
*/
public void setAncestors(BrowseNode.Ancestors value) {
this.ancestors = value;
}
/**
* Gets the value of the topSellers property.
*
* @return possible object is {@link TopSellers }
*
*/
public TopSellers getTopSellers() {
return topSellers;
}
/**
* Sets the value of the topSellers property.
*
* @param value
* allowed object is {@link TopSellers }
*
*/
public void setTopSellers(TopSellers value) {
this.topSellers = value;
}
/**
* Gets the value of the newReleases property.
*
* @return possible object is {@link NewReleases }
*
*/
public NewReleases getNewReleases() {
return newReleases;
}
/**
* Sets the value of the newReleases property.
*
* @param value
* allowed object is {@link NewReleases }
*
*/
public void setNewReleases(NewReleases value) {
this.newReleases = value;
}
/**
* Gets the value of the topItemSet property.
*
* <p>
* 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
* <CODE>set</CODE> method for the topItemSet property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getTopItemSet().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TopItemSet }
*
*
*/
public List<TopItemSet> getTopItemSet() {
if (topItemSet == null) {
topItemSet = new ArrayList<TopItemSet>();
}
return this.topItemSet;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNode" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "browseNode" })
public static class Ancestors {
@XmlElement(name = "BrowseNode", required = true)
protected List<BrowseNode> browseNode;
/**
* Gets the value of the browseNode property.
*
* <p>
* 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
* <CODE>set</CODE> method for the browseNode property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getBrowseNode().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link BrowseNode }
*
*
*/
public List<BrowseNode> getBrowseNode() {
if (browseNode == null) {
browseNode = new ArrayList<BrowseNode>();
}
return this.browseNode;
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNode" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "browseNode" })
public static class Children {
@XmlElement(name = "BrowseNode", required = true)
protected List<BrowseNode> browseNode;
/**
* Gets the value of the browseNode property.
*
* <p>
* 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
* <CODE>set</CODE> method for the browseNode property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getBrowseNode().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link BrowseNode }
*
*
*/
public List<BrowseNode> getBrowseNode() {
if (browseNode == null) {
browseNode = new ArrayList<BrowseNode>();
}
return this.browseNode;
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Property" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "property" })
public static class Properties {
@XmlElement(name = "Property", required = true)
protected List<Property> property;
/**
* Gets the value of the property property.
*
* <p>
* 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
* <CODE>set</CODE> method for the property property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getProperty().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Property }
*
*
*/
public List<Property> getProperty() {
if (property == null) {
property = new ArrayList<Property>();
}
return this.property;
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/BrowseNodeLookup.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="MarketplaceDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AWSAccessKeyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Validate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="XMLEscaping" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Shared" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNodeLookupRequest" minOccurs="0"/>
* <element name="Request" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNodeLookupRequest" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "marketplaceDomain", "awsAccessKeyId",
"associateTag", "validate", "xmlEscaping", "shared", "request" })
@XmlRootElement(name = "BrowseNodeLookup")
public class BrowseNodeLookup {
@XmlElement(name = "MarketplaceDomain")
protected String marketplaceDomain;
@XmlElement(name = "AWSAccessKeyId")
protected String awsAccessKeyId;
@XmlElement(name = "AssociateTag")
protected String associateTag;
@XmlElement(name = "Validate")
protected String validate;
@XmlElement(name = "XMLEscaping")
protected String xmlEscaping;
@XmlElement(name = "Shared")
protected BrowseNodeLookupRequest shared;
@XmlElement(name = "Request")
protected List<BrowseNodeLookupRequest> request;
/**
* Gets the value of the marketplaceDomain property.
*
* @return possible object is {@link String }
*
*/
public String getMarketplaceDomain() {
return marketplaceDomain;
}
/**
* Sets the value of the marketplaceDomain property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMarketplaceDomain(String value) {
this.marketplaceDomain = value;
}
/**
* Gets the value of the awsAccessKeyId property.
*
* @return possible object is {@link String }
*
*/
public String getAWSAccessKeyId() {
return awsAccessKeyId;
}
/**
* Sets the value of the awsAccessKeyId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAWSAccessKeyId(String value) {
this.awsAccessKeyId = value;
}
/**
* Gets the value of the associateTag property.
*
* @return possible object is {@link String }
*
*/
public String getAssociateTag() {
return associateTag;
}
/**
* Sets the value of the associateTag property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAssociateTag(String value) {
this.associateTag = value;
}
/**
* Gets the value of the validate property.
*
* @return possible object is {@link String }
*
*/
public String getValidate() {
return validate;
}
/**
* Sets the value of the validate property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValidate(String value) {
this.validate = value;
}
/**
* Gets the value of the xmlEscaping property.
*
* @return possible object is {@link String }
*
*/
public String getXMLEscaping() {
return xmlEscaping;
}
/**
* Sets the value of the xmlEscaping property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setXMLEscaping(String value) {
this.xmlEscaping = value;
}
/**
* Gets the value of the shared property.
*
* @return possible object is {@link BrowseNodeLookupRequest }
*
*/
public BrowseNodeLookupRequest getShared() {
return shared;
}
/**
* Sets the value of the shared property.
*
* @param value
* allowed object is {@link BrowseNodeLookupRequest }
*
*/
public void setShared(BrowseNodeLookupRequest value) {
this.shared = value;
}
/**
* Gets the value of the request property.
*
* <p>
* 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
* <CODE>set</CODE> method for the request property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getRequest().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link BrowseNodeLookupRequest }
*
*
*/
public List<BrowseNodeLookupRequest> getRequest() {
if (request == null) {
request = new ArrayList<BrowseNodeLookupRequest>();
}
return this.request;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/BrowseNodeLookupRequest.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for BrowseNodeLookupRequest complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="BrowseNodeLookupRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="BrowseNodeId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BrowseNodeLookupRequest", propOrder = { "browseNodeId",
"responseGroup" })
public class BrowseNodeLookupRequest {
@XmlElement(name = "BrowseNodeId")
protected List<String> browseNodeId;
@XmlElement(name = "ResponseGroup")
protected List<String> responseGroup;
/**
* Gets the value of the browseNodeId property.
*
* <p>
* 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
* <CODE>set</CODE> method for the browseNodeId property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getBrowseNodeId().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getBrowseNodeId() {
if (browseNodeId == null) {
browseNodeId = new ArrayList<String>();
}
return this.browseNodeId;
}
/**
* Gets the value of the responseGroup property.
*
* <p>
* 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
* <CODE>set</CODE> method for the responseGroup property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getResponseGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getResponseGroup() {
if (responseGroup == null) {
responseGroup = new ArrayList<String>();
}
return this.responseGroup;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/BrowseNodeLookupResponse.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}OperationRequest" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNodes" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "operationRequest", "browseNodes" })
@XmlRootElement(name = "BrowseNodeLookupResponse")
public class BrowseNodeLookupResponse {
@XmlElement(name = "OperationRequest")
protected OperationRequest operationRequest;
@XmlElement(name = "BrowseNodes")
protected List<BrowseNodes> browseNodes;
/**
* Gets the value of the operationRequest property.
*
* @return possible object is {@link OperationRequest }
*
*/
public OperationRequest getOperationRequest() {
return operationRequest;
}
/**
* Sets the value of the operationRequest property.
*
* @param value
* allowed object is {@link OperationRequest }
*
*/
public void setOperationRequest(OperationRequest value) {
this.operationRequest = value;
}
/**
* Gets the value of the browseNodes property.
*
* <p>
* 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
* <CODE>set</CODE> method for the browseNodes property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getBrowseNodes().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link BrowseNodes }
*
*
*/
public List<BrowseNodes> getBrowseNodes() {
if (browseNodes == null) {
browseNodes = new ArrayList<BrowseNodes>();
}
return this.browseNodes;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/BrowseNodes.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Request" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNode" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "request", "browseNode" })
@XmlRootElement(name = "BrowseNodes")
public class BrowseNodes {
@XmlElement(name = "Request")
protected Request request;
@XmlElement(name = "BrowseNode")
protected List<BrowseNode> browseNode;
/**
* Gets the value of the request property.
*
* @return possible object is {@link Request }
*
*/
public Request getRequest() {
return request;
}
/**
* Sets the value of the request property.
*
* @param value
* allowed object is {@link Request }
*
*/
public void setRequest(Request value) {
this.request = value;
}
/**
* Gets the value of the browseNode property.
*
* <p>
* 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
* <CODE>set</CODE> method for the browseNode property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getBrowseNode().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link BrowseNode }
*
*
*/
public List<BrowseNode> getBrowseNode() {
if (browseNode == null) {
browseNode = new ArrayList<BrowseNode>();
}
return this.browseNode;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/Cart.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Request" minOccurs="0"/>
* <element name="CartId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="HMAC" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="URLEncodedHMAC" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="PurchaseURL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="MobileCartURL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="SubTotal" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CartItems" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}SavedForLaterItems" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}SimilarProducts" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}TopSellers" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}NewReleases" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}SimilarViewedProducts" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}OtherCategoriesSimilarProducts" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "request", "cartId", "hmac",
"urlEncodedHMAC", "purchaseURL", "mobileCartURL", "subTotal",
"cartItems", "savedForLaterItems", "similarProducts", "topSellers",
"newReleases", "similarViewedProducts",
"otherCategoriesSimilarProducts" })
@XmlRootElement(name = "Cart")
public class Cart {
@XmlElement(name = "Request")
protected Request request;
@XmlElement(name = "CartId", required = true)
protected String cartId;
@XmlElement(name = "HMAC", required = true)
protected String hmac;
@XmlElement(name = "URLEncodedHMAC", required = true)
protected String urlEncodedHMAC;
@XmlElement(name = "PurchaseURL")
protected String purchaseURL;
@XmlElement(name = "MobileCartURL")
protected String mobileCartURL;
@XmlElement(name = "SubTotal")
protected Price subTotal;
@XmlElement(name = "CartItems")
protected CartItems cartItems;
@XmlElement(name = "SavedForLaterItems")
protected SavedForLaterItems savedForLaterItems;
@XmlElement(name = "SimilarProducts")
protected SimilarProducts similarProducts;
@XmlElement(name = "TopSellers")
protected TopSellers topSellers;
@XmlElement(name = "NewReleases")
protected NewReleases newReleases;
@XmlElement(name = "SimilarViewedProducts")
protected SimilarViewedProducts similarViewedProducts;
@XmlElement(name = "OtherCategoriesSimilarProducts")
protected OtherCategoriesSimilarProducts otherCategoriesSimilarProducts;
/**
* Gets the value of the request property.
*
* @return possible object is {@link Request }
*
*/
public Request getRequest() {
return request;
}
/**
* Sets the value of the request property.
*
* @param value
* allowed object is {@link Request }
*
*/
public void setRequest(Request value) {
this.request = value;
}
/**
* Gets the value of the cartId property.
*
* @return possible object is {@link String }
*
*/
public String getCartId() {
return cartId;
}
/**
* Sets the value of the cartId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCartId(String value) {
this.cartId = value;
}
/**
* Gets the value of the hmac property.
*
* @return possible object is {@link String }
*
*/
public String getHMAC() {
return hmac;
}
/**
* Sets the value of the hmac property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setHMAC(String value) {
this.hmac = value;
}
/**
* Gets the value of the urlEncodedHMAC property.
*
* @return possible object is {@link String }
*
*/
public String getURLEncodedHMAC() {
return urlEncodedHMAC;
}
/**
* Sets the value of the urlEncodedHMAC property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setURLEncodedHMAC(String value) {
this.urlEncodedHMAC = value;
}
/**
* Gets the value of the purchaseURL property.
*
* @return possible object is {@link String }
*
*/
public String getPurchaseURL() {
return purchaseURL;
}
/**
* Sets the value of the purchaseURL property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setPurchaseURL(String value) {
this.purchaseURL = value;
}
/**
* Gets the value of the mobileCartURL property.
*
* @return possible object is {@link String }
*
*/
public String getMobileCartURL() {
return mobileCartURL;
}
/**
* Sets the value of the mobileCartURL property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMobileCartURL(String value) {
this.mobileCartURL = value;
}
/**
* Gets the value of the subTotal property.
*
* @return possible object is {@link Price }
*
*/
public Price getSubTotal() {
return subTotal;
}
/**
* Sets the value of the subTotal property.
*
* @param value
* allowed object is {@link Price }
*
*/
public void setSubTotal(Price value) {
this.subTotal = value;
}
/**
* Gets the value of the cartItems property.
*
* @return possible object is {@link CartItems }
*
*/
public CartItems getCartItems() {
return cartItems;
}
/**
* Sets the value of the cartItems property.
*
* @param value
* allowed object is {@link CartItems }
*
*/
public void setCartItems(CartItems value) {
this.cartItems = value;
}
/**
* Gets the value of the savedForLaterItems property.
*
* @return possible object is {@link SavedForLaterItems }
*
*/
public SavedForLaterItems getSavedForLaterItems() {
return savedForLaterItems;
}
/**
* Sets the value of the savedForLaterItems property.
*
* @param value
* allowed object is {@link SavedForLaterItems }
*
*/
public void setSavedForLaterItems(SavedForLaterItems value) {
this.savedForLaterItems = value;
}
/**
* Gets the value of the similarProducts property.
*
* @return possible object is {@link SimilarProducts }
*
*/
public SimilarProducts getSimilarProducts() {
return similarProducts;
}
/**
* Sets the value of the similarProducts property.
*
* @param value
* allowed object is {@link SimilarProducts }
*
*/
public void setSimilarProducts(SimilarProducts value) {
this.similarProducts = value;
}
/**
* Gets the value of the topSellers property.
*
* @return possible object is {@link TopSellers }
*
*/
public TopSellers getTopSellers() {
return topSellers;
}
/**
* Sets the value of the topSellers property.
*
* @param value
* allowed object is {@link TopSellers }
*
*/
public void setTopSellers(TopSellers value) {
this.topSellers = value;
}
/**
* Gets the value of the newReleases property.
*
* @return possible object is {@link NewReleases }
*
*/
public NewReleases getNewReleases() {
return newReleases;
}
/**
* Sets the value of the newReleases property.
*
* @param value
* allowed object is {@link NewReleases }
*
*/
public void setNewReleases(NewReleases value) {
this.newReleases = value;
}
/**
* Gets the value of the similarViewedProducts property.
*
* @return possible object is {@link SimilarViewedProducts }
*
*/
public SimilarViewedProducts getSimilarViewedProducts() {
return similarViewedProducts;
}
/**
* Sets the value of the similarViewedProducts property.
*
* @param value
* allowed object is {@link SimilarViewedProducts }
*
*/
public void setSimilarViewedProducts(SimilarViewedProducts value) {
this.similarViewedProducts = value;
}
/**
* Gets the value of the otherCategoriesSimilarProducts property.
*
* @return possible object is {@link OtherCategoriesSimilarProducts }
*
*/
public OtherCategoriesSimilarProducts getOtherCategoriesSimilarProducts() {
return otherCategoriesSimilarProducts;
}
/**
* Sets the value of the otherCategoriesSimilarProducts property.
*
* @param value
* allowed object is {@link OtherCategoriesSimilarProducts }
*
*/
public void setOtherCategoriesSimilarProducts(
OtherCategoriesSimilarProducts value) {
this.otherCategoriesSimilarProducts = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartAdd.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="MarketplaceDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AWSAccessKeyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Validate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="XMLEscaping" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Shared" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CartAddRequest" minOccurs="0"/>
* <element name="Request" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CartAddRequest" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "marketplaceDomain", "awsAccessKeyId",
"associateTag", "validate", "xmlEscaping", "shared", "request" })
@XmlRootElement(name = "CartAdd")
public class CartAdd {
@XmlElement(name = "MarketplaceDomain")
protected String marketplaceDomain;
@XmlElement(name = "AWSAccessKeyId")
protected String awsAccessKeyId;
@XmlElement(name = "AssociateTag")
protected String associateTag;
@XmlElement(name = "Validate")
protected String validate;
@XmlElement(name = "XMLEscaping")
protected String xmlEscaping;
@XmlElement(name = "Shared")
protected CartAddRequest shared;
@XmlElement(name = "Request")
protected List<CartAddRequest> request;
/**
* Gets the value of the marketplaceDomain property.
*
* @return possible object is {@link String }
*
*/
public String getMarketplaceDomain() {
return marketplaceDomain;
}
/**
* Sets the value of the marketplaceDomain property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMarketplaceDomain(String value) {
this.marketplaceDomain = value;
}
/**
* Gets the value of the awsAccessKeyId property.
*
* @return possible object is {@link String }
*
*/
public String getAWSAccessKeyId() {
return awsAccessKeyId;
}
/**
* Sets the value of the awsAccessKeyId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAWSAccessKeyId(String value) {
this.awsAccessKeyId = value;
}
/**
* Gets the value of the associateTag property.
*
* @return possible object is {@link String }
*
*/
public String getAssociateTag() {
return associateTag;
}
/**
* Sets the value of the associateTag property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAssociateTag(String value) {
this.associateTag = value;
}
/**
* Gets the value of the validate property.
*
* @return possible object is {@link String }
*
*/
public String getValidate() {
return validate;
}
/**
* Sets the value of the validate property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValidate(String value) {
this.validate = value;
}
/**
* Gets the value of the xmlEscaping property.
*
* @return possible object is {@link String }
*
*/
public String getXMLEscaping() {
return xmlEscaping;
}
/**
* Sets the value of the xmlEscaping property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setXMLEscaping(String value) {
this.xmlEscaping = value;
}
/**
* Gets the value of the shared property.
*
* @return possible object is {@link CartAddRequest }
*
*/
public CartAddRequest getShared() {
return shared;
}
/**
* Sets the value of the shared property.
*
* @param value
* allowed object is {@link CartAddRequest }
*
*/
public void setShared(CartAddRequest value) {
this.shared = value;
}
/**
* Gets the value of the request property.
*
* <p>
* 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
* <CODE>set</CODE> method for the request property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getRequest().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CartAddRequest }
*
*
*/
public List<CartAddRequest> getRequest() {
if (request == null) {
request = new ArrayList<CartAddRequest>();
}
return this.request;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartAddRequest.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for CartAddRequest complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="CartAddRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CartId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="HMAC" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="MergeCart" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Items" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Item" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="OfferListingId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ListItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CartAddRequest", propOrder = { "cartId", "hmac", "mergeCart",
"items", "responseGroup" })
public class CartAddRequest {
@XmlElement(name = "CartId")
protected String cartId;
@XmlElement(name = "HMAC")
protected String hmac;
@XmlElement(name = "MergeCart")
protected String mergeCart;
@XmlElement(name = "Items")
protected CartAddRequest.Items items;
@XmlElement(name = "ResponseGroup")
protected List<String> responseGroup;
/**
* Gets the value of the cartId property.
*
* @return possible object is {@link String }
*
*/
public String getCartId() {
return cartId;
}
/**
* Sets the value of the cartId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCartId(String value) {
this.cartId = value;
}
/**
* Gets the value of the hmac property.
*
* @return possible object is {@link String }
*
*/
public String getHMAC() {
return hmac;
}
/**
* Sets the value of the hmac property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setHMAC(String value) {
this.hmac = value;
}
/**
* Gets the value of the mergeCart property.
*
* @return possible object is {@link String }
*
*/
public String getMergeCart() {
return mergeCart;
}
/**
* Sets the value of the mergeCart property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMergeCart(String value) {
this.mergeCart = value;
}
/**
* Gets the value of the items property.
*
* @return possible object is {@link CartAddRequest.Items }
*
*/
public CartAddRequest.Items getItems() {
return items;
}
/**
* Sets the value of the items property.
*
* @param value
* allowed object is {@link CartAddRequest.Items }
*
*/
public void setItems(CartAddRequest.Items value) {
this.items = value;
}
/**
* Gets the value of the responseGroup property.
*
* <p>
* 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
* <CODE>set</CODE> method for the responseGroup property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getResponseGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getResponseGroup() {
if (responseGroup == null) {
responseGroup = new ArrayList<String>();
}
return this.responseGroup;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Item" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="OfferListingId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ListItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "item" })
public static class Items {
@XmlElement(name = "Item")
protected List<CartAddRequest.Items.Item> item;
/**
* Gets the value of the item property.
*
* <p>
* 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
* <CODE>set</CODE> method for the item property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getItem().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CartAddRequest.Items.Item }
*
*
*/
public List<CartAddRequest.Items.Item> getItem() {
if (item == null) {
item = new ArrayList<CartAddRequest.Items.Item>();
}
return this.item;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="OfferListingId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ListItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "asin", "offerListingId", "quantity",
"associateTag", "listItemId" })
public static class Item {
@XmlElement(name = "ASIN")
protected String asin;
@XmlElement(name = "OfferListingId")
protected String offerListingId;
@XmlElement(name = "Quantity")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger quantity;
@XmlElement(name = "AssociateTag")
protected String associateTag;
@XmlElement(name = "ListItemId")
protected String listItemId;
/**
* Gets the value of the asin property.
*
* @return possible object is {@link String }
*
*/
public String getASIN() {
return asin;
}
/**
* Sets the value of the asin property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setASIN(String value) {
this.asin = value;
}
/**
* Gets the value of the offerListingId property.
*
* @return possible object is {@link String }
*
*/
public String getOfferListingId() {
return offerListingId;
}
/**
* Sets the value of the offerListingId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setOfferListingId(String value) {
this.offerListingId = value;
}
/**
* Gets the value of the quantity property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setQuantity(BigInteger value) {
this.quantity = value;
}
/**
* Gets the value of the associateTag property.
*
* @return possible object is {@link String }
*
*/
public String getAssociateTag() {
return associateTag;
}
/**
* Sets the value of the associateTag property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAssociateTag(String value) {
this.associateTag = value;
}
/**
* Gets the value of the listItemId property.
*
* @return possible object is {@link String }
*
*/
public String getListItemId() {
return listItemId;
}
/**
* Sets the value of the listItemId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setListItemId(String value) {
this.listItemId = value;
}
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartAddResponse.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}OperationRequest" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Cart" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "operationRequest", "cart" })
@XmlRootElement(name = "CartAddResponse")
public class CartAddResponse {
@XmlElement(name = "OperationRequest")
protected OperationRequest operationRequest;
@XmlElement(name = "Cart")
protected List<Cart> cart;
/**
* Gets the value of the operationRequest property.
*
* @return possible object is {@link OperationRequest }
*
*/
public OperationRequest getOperationRequest() {
return operationRequest;
}
/**
* Sets the value of the operationRequest property.
*
* @param value
* allowed object is {@link OperationRequest }
*
*/
public void setOperationRequest(OperationRequest value) {
this.operationRequest = value;
}
/**
* Gets the value of the cart property.
*
* <p>
* 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
* <CODE>set</CODE> method for the cart property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCart().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Cart }
*
*
*/
public List<Cart> getCart() {
if (cart == null) {
cart = new ArrayList<Cart>();
}
return this.cart;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartClear.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="MarketplaceDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AWSAccessKeyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Validate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="XMLEscaping" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Shared" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CartClearRequest" minOccurs="0"/>
* <element name="Request" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CartClearRequest" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "marketplaceDomain", "awsAccessKeyId",
"associateTag", "validate", "xmlEscaping", "shared", "request" })
@XmlRootElement(name = "CartClear")
public class CartClear {
@XmlElement(name = "MarketplaceDomain")
protected String marketplaceDomain;
@XmlElement(name = "AWSAccessKeyId")
protected String awsAccessKeyId;
@XmlElement(name = "AssociateTag")
protected String associateTag;
@XmlElement(name = "Validate")
protected String validate;
@XmlElement(name = "XMLEscaping")
protected String xmlEscaping;
@XmlElement(name = "Shared")
protected CartClearRequest shared;
@XmlElement(name = "Request")
protected List<CartClearRequest> request;
/**
* Gets the value of the marketplaceDomain property.
*
* @return possible object is {@link String }
*
*/
public String getMarketplaceDomain() {
return marketplaceDomain;
}
/**
* Sets the value of the marketplaceDomain property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMarketplaceDomain(String value) {
this.marketplaceDomain = value;
}
/**
* Gets the value of the awsAccessKeyId property.
*
* @return possible object is {@link String }
*
*/
public String getAWSAccessKeyId() {
return awsAccessKeyId;
}
/**
* Sets the value of the awsAccessKeyId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAWSAccessKeyId(String value) {
this.awsAccessKeyId = value;
}
/**
* Gets the value of the associateTag property.
*
* @return possible object is {@link String }
*
*/
public String getAssociateTag() {
return associateTag;
}
/**
* Sets the value of the associateTag property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAssociateTag(String value) {
this.associateTag = value;
}
/**
* Gets the value of the validate property.
*
* @return possible object is {@link String }
*
*/
public String getValidate() {
return validate;
}
/**
* Sets the value of the validate property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValidate(String value) {
this.validate = value;
}
/**
* Gets the value of the xmlEscaping property.
*
* @return possible object is {@link String }
*
*/
public String getXMLEscaping() {
return xmlEscaping;
}
/**
* Sets the value of the xmlEscaping property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setXMLEscaping(String value) {
this.xmlEscaping = value;
}
/**
* Gets the value of the shared property.
*
* @return possible object is {@link CartClearRequest }
*
*/
public CartClearRequest getShared() {
return shared;
}
/**
* Sets the value of the shared property.
*
* @param value
* allowed object is {@link CartClearRequest }
*
*/
public void setShared(CartClearRequest value) {
this.shared = value;
}
/**
* Gets the value of the request property.
*
* <p>
* 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
* <CODE>set</CODE> method for the request property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getRequest().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CartClearRequest }
*
*
*/
public List<CartClearRequest> getRequest() {
if (request == null) {
request = new ArrayList<CartClearRequest>();
}
return this.request;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartClearRequest.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for CartClearRequest complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="CartClearRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CartId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="HMAC" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="MergeCart" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CartClearRequest", propOrder = { "cartId", "hmac",
"mergeCart", "responseGroup" })
public class CartClearRequest {
@XmlElement(name = "CartId")
protected String cartId;
@XmlElement(name = "HMAC")
protected String hmac;
@XmlElement(name = "MergeCart")
protected String mergeCart;
@XmlElement(name = "ResponseGroup")
protected List<String> responseGroup;
/**
* Gets the value of the cartId property.
*
* @return possible object is {@link String }
*
*/
public String getCartId() {
return cartId;
}
/**
* Sets the value of the cartId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCartId(String value) {
this.cartId = value;
}
/**
* Gets the value of the hmac property.
*
* @return possible object is {@link String }
*
*/
public String getHMAC() {
return hmac;
}
/**
* Sets the value of the hmac property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setHMAC(String value) {
this.hmac = value;
}
/**
* Gets the value of the mergeCart property.
*
* @return possible object is {@link String }
*
*/
public String getMergeCart() {
return mergeCart;
}
/**
* Sets the value of the mergeCart property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMergeCart(String value) {
this.mergeCart = value;
}
/**
* Gets the value of the responseGroup property.
*
* <p>
* 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
* <CODE>set</CODE> method for the responseGroup property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getResponseGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getResponseGroup() {
if (responseGroup == null) {
responseGroup = new ArrayList<String>();
}
return this.responseGroup;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartClearResponse.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}OperationRequest" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Cart" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "operationRequest", "cart" })
@XmlRootElement(name = "CartClearResponse")
public class CartClearResponse {
@XmlElement(name = "OperationRequest")
protected OperationRequest operationRequest;
@XmlElement(name = "Cart")
protected List<Cart> cart;
/**
* Gets the value of the operationRequest property.
*
* @return possible object is {@link OperationRequest }
*
*/
public OperationRequest getOperationRequest() {
return operationRequest;
}
/**
* Sets the value of the operationRequest property.
*
* @param value
* allowed object is {@link OperationRequest }
*
*/
public void setOperationRequest(OperationRequest value) {
this.operationRequest = value;
}
/**
* Gets the value of the cart property.
*
* <p>
* 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
* <CODE>set</CODE> method for the cart property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCart().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Cart }
*
*
*/
public List<Cart> getCart() {
if (cart == null) {
cart = new ArrayList<Cart>();
}
return this.cart;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartCreate.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="MarketplaceDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AWSAccessKeyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Validate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="XMLEscaping" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Shared" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CartCreateRequest" minOccurs="0"/>
* <element name="Request" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CartCreateRequest" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "marketplaceDomain", "awsAccessKeyId",
"associateTag", "validate", "xmlEscaping", "shared", "request" })
@XmlRootElement(name = "CartCreate")
public class CartCreate {
@XmlElement(name = "MarketplaceDomain")
protected String marketplaceDomain;
@XmlElement(name = "AWSAccessKeyId")
protected String awsAccessKeyId;
@XmlElement(name = "AssociateTag")
protected String associateTag;
@XmlElement(name = "Validate")
protected String validate;
@XmlElement(name = "XMLEscaping")
protected String xmlEscaping;
@XmlElement(name = "Shared")
protected CartCreateRequest shared;
@XmlElement(name = "Request")
protected List<CartCreateRequest> request;
/**
* Gets the value of the marketplaceDomain property.
*
* @return possible object is {@link String }
*
*/
public String getMarketplaceDomain() {
return marketplaceDomain;
}
/**
* Sets the value of the marketplaceDomain property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMarketplaceDomain(String value) {
this.marketplaceDomain = value;
}
/**
* Gets the value of the awsAccessKeyId property.
*
* @return possible object is {@link String }
*
*/
public String getAWSAccessKeyId() {
return awsAccessKeyId;
}
/**
* Sets the value of the awsAccessKeyId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAWSAccessKeyId(String value) {
this.awsAccessKeyId = value;
}
/**
* Gets the value of the associateTag property.
*
* @return possible object is {@link String }
*
*/
public String getAssociateTag() {
return associateTag;
}
/**
* Sets the value of the associateTag property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAssociateTag(String value) {
this.associateTag = value;
}
/**
* Gets the value of the validate property.
*
* @return possible object is {@link String }
*
*/
public String getValidate() {
return validate;
}
/**
* Sets the value of the validate property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValidate(String value) {
this.validate = value;
}
/**
* Gets the value of the xmlEscaping property.
*
* @return possible object is {@link String }
*
*/
public String getXMLEscaping() {
return xmlEscaping;
}
/**
* Sets the value of the xmlEscaping property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setXMLEscaping(String value) {
this.xmlEscaping = value;
}
/**
* Gets the value of the shared property.
*
* @return possible object is {@link CartCreateRequest }
*
*/
public CartCreateRequest getShared() {
return shared;
}
/**
* Sets the value of the shared property.
*
* @param value
* allowed object is {@link CartCreateRequest }
*
*/
public void setShared(CartCreateRequest value) {
this.shared = value;
}
/**
* Gets the value of the request property.
*
* <p>
* 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
* <CODE>set</CODE> method for the request property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getRequest().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CartCreateRequest }
*
*
*/
public List<CartCreateRequest> getRequest() {
if (request == null) {
request = new ArrayList<CartCreateRequest>();
}
return this.request;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartCreateRequest.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for CartCreateRequest complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="CartCreateRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="MergeCart" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Items" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Item" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="OfferListingId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ListItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="MetaData" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CartCreateRequest", propOrder = { "mergeCart", "items",
"responseGroup" })
public class CartCreateRequest {
@XmlElement(name = "MergeCart")
protected String mergeCart;
@XmlElement(name = "Items")
protected CartCreateRequest.Items items;
@XmlElement(name = "ResponseGroup")
protected List<String> responseGroup;
/**
* Gets the value of the mergeCart property.
*
* @return possible object is {@link String }
*
*/
public String getMergeCart() {
return mergeCart;
}
/**
* Sets the value of the mergeCart property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMergeCart(String value) {
this.mergeCart = value;
}
/**
* Gets the value of the items property.
*
* @return possible object is {@link CartCreateRequest.Items }
*
*/
public CartCreateRequest.Items getItems() {
return items;
}
/**
* Sets the value of the items property.
*
* @param value
* allowed object is {@link CartCreateRequest.Items }
*
*/
public void setItems(CartCreateRequest.Items value) {
this.items = value;
}
/**
* Gets the value of the responseGroup property.
*
* <p>
* 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
* <CODE>set</CODE> method for the responseGroup property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getResponseGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getResponseGroup() {
if (responseGroup == null) {
responseGroup = new ArrayList<String>();
}
return this.responseGroup;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Item" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="OfferListingId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ListItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="MetaData" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "item" })
public static class Items {
@XmlElement(name = "Item")
protected List<CartCreateRequest.Items.Item> item;
/**
* Gets the value of the item property.
*
* <p>
* 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
* <CODE>set</CODE> method for the item property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getItem().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CartCreateRequest.Items.Item }
*
*
*/
public List<CartCreateRequest.Items.Item> getItem() {
if (item == null) {
item = new ArrayList<CartCreateRequest.Items.Item>();
}
return this.item;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="OfferListingId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ListItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="MetaData" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "asin", "offerListingId", "quantity",
"associateTag", "listItemId", "metaData" })
public static class Item {
@XmlElement(name = "ASIN")
protected String asin;
@XmlElement(name = "OfferListingId")
protected String offerListingId;
@XmlElement(name = "Quantity")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger quantity;
@XmlElement(name = "AssociateTag")
protected String associateTag;
@XmlElement(name = "ListItemId")
protected String listItemId;
@XmlElement(name = "MetaData")
protected List<CartCreateRequest.Items.Item.MetaData> metaData;
/**
* Gets the value of the asin property.
*
* @return possible object is {@link String }
*
*/
public String getASIN() {
return asin;
}
/**
* Sets the value of the asin property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setASIN(String value) {
this.asin = value;
}
/**
* Gets the value of the offerListingId property.
*
* @return possible object is {@link String }
*
*/
public String getOfferListingId() {
return offerListingId;
}
/**
* Sets the value of the offerListingId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setOfferListingId(String value) {
this.offerListingId = value;
}
/**
* Gets the value of the quantity property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setQuantity(BigInteger value) {
this.quantity = value;
}
/**
* Gets the value of the associateTag property.
*
* @return possible object is {@link String }
*
*/
public String getAssociateTag() {
return associateTag;
}
/**
* Sets the value of the associateTag property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAssociateTag(String value) {
this.associateTag = value;
}
/**
* Gets the value of the listItemId property.
*
* @return possible object is {@link String }
*
*/
public String getListItemId() {
return listItemId;
}
/**
* Sets the value of the listItemId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setListItemId(String value) {
this.listItemId = value;
}
/**
* Gets the value of the metaData property.
*
* <p>
* 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 <CODE>set</CODE> method for the metaData property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getMetaData().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CartCreateRequest.Items.Item.MetaData }
*
*
*/
public List<CartCreateRequest.Items.Item.MetaData> getMetaData() {
if (metaData == null) {
metaData = new ArrayList<CartCreateRequest.Items.Item.MetaData>();
}
return this.metaData;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Key" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "key", "value" })
public static class MetaData {
@XmlElement(name = "Key")
protected String key;
@XmlElement(name = "Value")
protected String value;
/**
* Gets the value of the key property.
*
* @return possible object is {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* Gets the value of the value property.
*
* @return possible object is {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
}
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartCreateResponse.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}OperationRequest" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Cart" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "operationRequest", "cart" })
@XmlRootElement(name = "CartCreateResponse")
public class CartCreateResponse {
@XmlElement(name = "OperationRequest")
protected OperationRequest operationRequest;
@XmlElement(name = "Cart")
protected List<Cart> cart;
/**
* Gets the value of the operationRequest property.
*
* @return possible object is {@link OperationRequest }
*
*/
public OperationRequest getOperationRequest() {
return operationRequest;
}
/**
* Sets the value of the operationRequest property.
*
* @param value
* allowed object is {@link OperationRequest }
*
*/
public void setOperationRequest(OperationRequest value) {
this.operationRequest = value;
}
/**
* Gets the value of the cart property.
*
* <p>
* 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
* <CODE>set</CODE> method for the cart property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCart().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Cart }
*
*
*/
public List<Cart> getCart() {
if (cart == null) {
cart = new ArrayList<Cart>();
}
return this.cart;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartGet.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="MarketplaceDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AWSAccessKeyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Validate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="XMLEscaping" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Shared" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CartGetRequest" minOccurs="0"/>
* <element name="Request" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CartGetRequest" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "marketplaceDomain", "awsAccessKeyId",
"associateTag", "validate", "xmlEscaping", "shared", "request" })
@XmlRootElement(name = "CartGet")
public class CartGet {
@XmlElement(name = "MarketplaceDomain")
protected String marketplaceDomain;
@XmlElement(name = "AWSAccessKeyId")
protected String awsAccessKeyId;
@XmlElement(name = "AssociateTag")
protected String associateTag;
@XmlElement(name = "Validate")
protected String validate;
@XmlElement(name = "XMLEscaping")
protected String xmlEscaping;
@XmlElement(name = "Shared")
protected CartGetRequest shared;
@XmlElement(name = "Request")
protected List<CartGetRequest> request;
/**
* Gets the value of the marketplaceDomain property.
*
* @return possible object is {@link String }
*
*/
public String getMarketplaceDomain() {
return marketplaceDomain;
}
/**
* Sets the value of the marketplaceDomain property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMarketplaceDomain(String value) {
this.marketplaceDomain = value;
}
/**
* Gets the value of the awsAccessKeyId property.
*
* @return possible object is {@link String }
*
*/
public String getAWSAccessKeyId() {
return awsAccessKeyId;
}
/**
* Sets the value of the awsAccessKeyId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAWSAccessKeyId(String value) {
this.awsAccessKeyId = value;
}
/**
* Gets the value of the associateTag property.
*
* @return possible object is {@link String }
*
*/
public String getAssociateTag() {
return associateTag;
}
/**
* Sets the value of the associateTag property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAssociateTag(String value) {
this.associateTag = value;
}
/**
* Gets the value of the validate property.
*
* @return possible object is {@link String }
*
*/
public String getValidate() {
return validate;
}
/**
* Sets the value of the validate property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValidate(String value) {
this.validate = value;
}
/**
* Gets the value of the xmlEscaping property.
*
* @return possible object is {@link String }
*
*/
public String getXMLEscaping() {
return xmlEscaping;
}
/**
* Sets the value of the xmlEscaping property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setXMLEscaping(String value) {
this.xmlEscaping = value;
}
/**
* Gets the value of the shared property.
*
* @return possible object is {@link CartGetRequest }
*
*/
public CartGetRequest getShared() {
return shared;
}
/**
* Sets the value of the shared property.
*
* @param value
* allowed object is {@link CartGetRequest }
*
*/
public void setShared(CartGetRequest value) {
this.shared = value;
}
/**
* Gets the value of the request property.
*
* <p>
* 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
* <CODE>set</CODE> method for the request property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getRequest().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CartGetRequest }
*
*
*/
public List<CartGetRequest> getRequest() {
if (request == null) {
request = new ArrayList<CartGetRequest>();
}
return this.request;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartGetRequest.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for CartGetRequest complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="CartGetRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CartId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="HMAC" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="MergeCart" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CartGetRequest", propOrder = { "cartId", "hmac", "mergeCart",
"responseGroup" })
public class CartGetRequest {
@XmlElement(name = "CartId")
protected String cartId;
@XmlElement(name = "HMAC")
protected String hmac;
@XmlElement(name = "MergeCart")
protected String mergeCart;
@XmlElement(name = "ResponseGroup")
protected List<String> responseGroup;
/**
* Gets the value of the cartId property.
*
* @return possible object is {@link String }
*
*/
public String getCartId() {
return cartId;
}
/**
* Sets the value of the cartId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCartId(String value) {
this.cartId = value;
}
/**
* Gets the value of the hmac property.
*
* @return possible object is {@link String }
*
*/
public String getHMAC() {
return hmac;
}
/**
* Sets the value of the hmac property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setHMAC(String value) {
this.hmac = value;
}
/**
* Gets the value of the mergeCart property.
*
* @return possible object is {@link String }
*
*/
public String getMergeCart() {
return mergeCart;
}
/**
* Sets the value of the mergeCart property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMergeCart(String value) {
this.mergeCart = value;
}
/**
* Gets the value of the responseGroup property.
*
* <p>
* 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
* <CODE>set</CODE> method for the responseGroup property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getResponseGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getResponseGroup() {
if (responseGroup == null) {
responseGroup = new ArrayList<String>();
}
return this.responseGroup;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartGetResponse.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}OperationRequest" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Cart" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "operationRequest", "cart" })
@XmlRootElement(name = "CartGetResponse")
public class CartGetResponse {
@XmlElement(name = "OperationRequest")
protected OperationRequest operationRequest;
@XmlElement(name = "Cart")
protected List<Cart> cart;
/**
* Gets the value of the operationRequest property.
*
* @return possible object is {@link OperationRequest }
*
*/
public OperationRequest getOperationRequest() {
return operationRequest;
}
/**
* Sets the value of the operationRequest property.
*
* @param value
* allowed object is {@link OperationRequest }
*
*/
public void setOperationRequest(OperationRequest value) {
this.operationRequest = value;
}
/**
* Gets the value of the cart property.
*
* <p>
* 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
* <CODE>set</CODE> method for the cart property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCart().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Cart }
*
*
*/
public List<Cart> getCart() {
if (cart == null) {
cart = new ArrayList<Cart>();
}
return this.cart;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartItem.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for CartItem complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="CartItem">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CartItemId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="SellerNickname" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ProductGroup" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="MetaData" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="KeyValuePair" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Price" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="ItemTotal" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CartItem", propOrder = { "cartItemId", "asin",
"sellerNickname", "quantity", "title", "productGroup", "metaData",
"price", "itemTotal" })
public class CartItem {
@XmlElement(name = "CartItemId", required = true)
protected String cartItemId;
@XmlElement(name = "ASIN")
protected String asin;
@XmlElement(name = "SellerNickname")
protected String sellerNickname;
@XmlElement(name = "Quantity", required = true)
protected String quantity;
@XmlElement(name = "Title")
protected String title;
@XmlElement(name = "ProductGroup")
protected String productGroup;
@XmlElement(name = "MetaData")
protected CartItem.MetaData metaData;
@XmlElement(name = "Price")
protected Price price;
@XmlElement(name = "ItemTotal")
protected Price itemTotal;
/**
* Gets the value of the cartItemId property.
*
* @return possible object is {@link String }
*
*/
public String getCartItemId() {
return cartItemId;
}
/**
* Sets the value of the cartItemId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCartItemId(String value) {
this.cartItemId = value;
}
/**
* Gets the value of the asin property.
*
* @return possible object is {@link String }
*
*/
public String getASIN() {
return asin;
}
/**
* Sets the value of the asin property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setASIN(String value) {
this.asin = value;
}
/**
* Gets the value of the sellerNickname property.
*
* @return possible object is {@link String }
*
*/
public String getSellerNickname() {
return sellerNickname;
}
/**
* Sets the value of the sellerNickname property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSellerNickname(String value) {
this.sellerNickname = value;
}
/**
* Gets the value of the quantity property.
*
* @return possible object is {@link String }
*
*/
public String getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setQuantity(String value) {
this.quantity = value;
}
/**
* Gets the value of the title property.
*
* @return possible object is {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the productGroup property.
*
* @return possible object is {@link String }
*
*/
public String getProductGroup() {
return productGroup;
}
/**
* Sets the value of the productGroup property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setProductGroup(String value) {
this.productGroup = value;
}
/**
* Gets the value of the metaData property.
*
* @return possible object is {@link CartItem.MetaData }
*
*/
public CartItem.MetaData getMetaData() {
return metaData;
}
/**
* Sets the value of the metaData property.
*
* @param value
* allowed object is {@link CartItem.MetaData }
*
*/
public void setMetaData(CartItem.MetaData value) {
this.metaData = value;
}
/**
* Gets the value of the price property.
*
* @return possible object is {@link Price }
*
*/
public Price getPrice() {
return price;
}
/**
* Sets the value of the price property.
*
* @param value
* allowed object is {@link Price }
*
*/
public void setPrice(Price value) {
this.price = value;
}
/**
* Gets the value of the itemTotal property.
*
* @return possible object is {@link Price }
*
*/
public Price getItemTotal() {
return itemTotal;
}
/**
* Sets the value of the itemTotal property.
*
* @param value
* allowed object is {@link Price }
*
*/
public void setItemTotal(Price value) {
this.itemTotal = value;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="KeyValuePair" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "keyValuePair" })
public static class MetaData {
@XmlElement(name = "KeyValuePair")
protected List<CartItem.MetaData.KeyValuePair> keyValuePair;
/**
* Gets the value of the keyValuePair property.
*
* <p>
* 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
* <CODE>set</CODE> method for the keyValuePair property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getKeyValuePair().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CartItem.MetaData.KeyValuePair }
*
*
*/
public List<CartItem.MetaData.KeyValuePair> getKeyValuePair() {
if (keyValuePair == null) {
keyValuePair = new ArrayList<CartItem.MetaData.KeyValuePair>();
}
return this.keyValuePair;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Key" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "key", "value" })
public static class KeyValuePair {
@XmlElement(name = "Key", required = true)
protected String key;
@XmlElement(name = "Value", required = true)
protected String value;
/**
* Gets the value of the key property.
*
* @return possible object is {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
/**
* Gets the value of the value property.
*
* @return possible object is {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartItems.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SubTotal" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="CartItem" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CartItem" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "subTotal", "cartItem" })
@XmlRootElement(name = "CartItems")
public class CartItems {
@XmlElement(name = "SubTotal")
protected Price subTotal;
@XmlElement(name = "CartItem", required = true)
protected List<CartItem> cartItem;
/**
* Gets the value of the subTotal property.
*
* @return possible object is {@link Price }
*
*/
public Price getSubTotal() {
return subTotal;
}
/**
* Sets the value of the subTotal property.
*
* @param value
* allowed object is {@link Price }
*
*/
public void setSubTotal(Price value) {
this.subTotal = value;
}
/**
* Gets the value of the cartItem property.
*
* <p>
* 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
* <CODE>set</CODE> method for the cartItem property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCartItem().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link CartItem }
*
*
*/
public List<CartItem> getCartItem() {
if (cartItem == null) {
cartItem = new ArrayList<CartItem>();
}
return this.cartItem;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartModify.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="MarketplaceDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AWSAccessKeyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Validate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="XMLEscaping" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Shared" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CartModifyRequest" minOccurs="0"/>
* <element name="Request" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CartModifyRequest" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "marketplaceDomain", "awsAccessKeyId",
"associateTag", "validate", "xmlEscaping", "shared", "request" })
@XmlRootElement(name = "CartModify")
public class CartModify {
@XmlElement(name = "MarketplaceDomain")
protected String marketplaceDomain;
@XmlElement(name = "AWSAccessKeyId")
protected String awsAccessKeyId;
@XmlElement(name = "AssociateTag")
protected String associateTag;
@XmlElement(name = "Validate")
protected String validate;
@XmlElement(name = "XMLEscaping")
protected String xmlEscaping;
@XmlElement(name = "Shared")
protected CartModifyRequest shared;
@XmlElement(name = "Request")
protected List<CartModifyRequest> request;
/**
* Gets the value of the marketplaceDomain property.
*
* @return possible object is {@link String }
*
*/
public String getMarketplaceDomain() {
return marketplaceDomain;
}
/**
* Sets the value of the marketplaceDomain property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMarketplaceDomain(String value) {
this.marketplaceDomain = value;
}
/**
* Gets the value of the awsAccessKeyId property.
*
* @return possible object is {@link String }
*
*/
public String getAWSAccessKeyId() {
return awsAccessKeyId;
}
/**
* Sets the value of the awsAccessKeyId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAWSAccessKeyId(String value) {
this.awsAccessKeyId = value;
}
/**
* Gets the value of the associateTag property.
*
* @return possible object is {@link String }
*
*/
public String getAssociateTag() {
return associateTag;
}
/**
* Sets the value of the associateTag property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAssociateTag(String value) {
this.associateTag = value;
}
/**
* Gets the value of the validate property.
*
* @return possible object is {@link String }
*
*/
public String getValidate() {
return validate;
}
/**
* Sets the value of the validate property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValidate(String value) {
this.validate = value;
}
/**
* Gets the value of the xmlEscaping property.
*
* @return possible object is {@link String }
*
*/
public String getXMLEscaping() {
return xmlEscaping;
}
/**
* Sets the value of the xmlEscaping property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setXMLEscaping(String value) {
this.xmlEscaping = value;
}
/**
* Gets the value of the shared property.
*
* @return possible object is {@link CartModifyRequest }
*
*/
public CartModifyRequest getShared() {
return shared;
}
/**
* Sets the value of the shared property.
*
* @param value
* allowed object is {@link CartModifyRequest }
*
*/
public void setShared(CartModifyRequest value) {
this.shared = value;
}
/**
* Gets the value of the request property.
*
* <p>
* 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
* <CODE>set</CODE> method for the request property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getRequest().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CartModifyRequest }
*
*
*/
public List<CartModifyRequest> getRequest() {
if (request == null) {
request = new ArrayList<CartModifyRequest>();
}
return this.request;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartModifyRequest.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for CartModifyRequest complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="CartModifyRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CartId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="HMAC" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="MergeCart" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Items" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Item" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Action" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="MoveToCart"/>
* <enumeration value="SaveForLater"/>
* </restriction>
* </simpleType>
* </element>
* <element name="CartItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CartModifyRequest", propOrder = { "cartId", "hmac",
"mergeCart", "items", "responseGroup" })
public class CartModifyRequest {
@XmlElement(name = "CartId")
protected String cartId;
@XmlElement(name = "HMAC")
protected String hmac;
@XmlElement(name = "MergeCart")
protected String mergeCart;
@XmlElement(name = "Items")
protected CartModifyRequest.Items items;
@XmlElement(name = "ResponseGroup")
protected List<String> responseGroup;
/**
* Gets the value of the cartId property.
*
* @return possible object is {@link String }
*
*/
public String getCartId() {
return cartId;
}
/**
* Sets the value of the cartId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCartId(String value) {
this.cartId = value;
}
/**
* Gets the value of the hmac property.
*
* @return possible object is {@link String }
*
*/
public String getHMAC() {
return hmac;
}
/**
* Sets the value of the hmac property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setHMAC(String value) {
this.hmac = value;
}
/**
* Gets the value of the mergeCart property.
*
* @return possible object is {@link String }
*
*/
public String getMergeCart() {
return mergeCart;
}
/**
* Sets the value of the mergeCart property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMergeCart(String value) {
this.mergeCart = value;
}
/**
* Gets the value of the items property.
*
* @return possible object is {@link CartModifyRequest.Items }
*
*/
public CartModifyRequest.Items getItems() {
return items;
}
/**
* Sets the value of the items property.
*
* @param value
* allowed object is {@link CartModifyRequest.Items }
*
*/
public void setItems(CartModifyRequest.Items value) {
this.items = value;
}
/**
* Gets the value of the responseGroup property.
*
* <p>
* 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
* <CODE>set</CODE> method for the responseGroup property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getResponseGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getResponseGroup() {
if (responseGroup == null) {
responseGroup = new ArrayList<String>();
}
return this.responseGroup;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Item" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Action" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="MoveToCart"/>
* <enumeration value="SaveForLater"/>
* </restriction>
* </simpleType>
* </element>
* <element name="CartItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "item" })
public static class Items {
@XmlElement(name = "Item")
protected List<CartModifyRequest.Items.Item> item;
/**
* Gets the value of the item property.
*
* <p>
* 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
* <CODE>set</CODE> method for the item property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getItem().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CartModifyRequest.Items.Item }
*
*
*/
public List<CartModifyRequest.Items.Item> getItem() {
if (item == null) {
item = new ArrayList<CartModifyRequest.Items.Item>();
}
return this.item;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Action" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="MoveToCart"/>
* <enumeration value="SaveForLater"/>
* </restriction>
* </simpleType>
* </element>
* <element name="CartItemId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "action", "cartItemId", "quantity" })
public static class Item {
@XmlElement(name = "Action")
protected String action;
@XmlElement(name = "CartItemId")
protected String cartItemId;
@XmlElement(name = "Quantity")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger quantity;
/**
* Gets the value of the action property.
*
* @return possible object is {@link String }
*
*/
public String getAction() {
return action;
}
/**
* Sets the value of the action property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAction(String value) {
this.action = value;
}
/**
* Gets the value of the cartItemId property.
*
* @return possible object is {@link String }
*
*/
public String getCartItemId() {
return cartItemId;
}
/**
* Sets the value of the cartItemId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCartItemId(String value) {
this.cartItemId = value;
}
/**
* Gets the value of the quantity property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setQuantity(BigInteger value) {
this.quantity = value;
}
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CartModifyResponse.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}OperationRequest" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Cart" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "operationRequest", "cart" })
@XmlRootElement(name = "CartModifyResponse")
public class CartModifyResponse {
@XmlElement(name = "OperationRequest")
protected OperationRequest operationRequest;
@XmlElement(name = "Cart")
protected List<Cart> cart;
/**
* Gets the value of the operationRequest property.
*
* @return possible object is {@link OperationRequest }
*
*/
public OperationRequest getOperationRequest() {
return operationRequest;
}
/**
* Sets the value of the operationRequest property.
*
* @param value
* allowed object is {@link OperationRequest }
*
*/
public void setOperationRequest(OperationRequest value) {
this.operationRequest = value;
}
/**
* Gets the value of the cart property.
*
* <p>
* 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
* <CODE>set</CODE> method for the cart property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCart().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Cart }
*
*
*/
public List<Cart> getCart() {
if (cart == null) {
cart = new ArrayList<Cart>();
}
return this.cart;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/Collections.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Collection" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CollectionSummary" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="LowestListPrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="HighestListPrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="LowestSalePrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="HighestSalePrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="CollectionParent" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="CollectionItem" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "collection" })
@XmlRootElement(name = "Collections")
public class Collections {
@XmlElement(name = "Collection")
protected List<Collections.Collection> collection;
/**
* Gets the value of the collection property.
*
* <p>
* 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
* <CODE>set</CODE> method for the collection property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCollection().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Collections.Collection }
*
*
*/
public List<Collections.Collection> getCollection() {
if (collection == null) {
collection = new ArrayList<Collections.Collection>();
}
return this.collection;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CollectionSummary" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="LowestListPrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="HighestListPrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="LowestSalePrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="HighestSalePrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="CollectionParent" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="CollectionItem" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "collectionSummary", "collectionParent",
"collectionItem" })
public static class Collection {
@XmlElement(name = "CollectionSummary")
protected Collections.Collection.CollectionSummary collectionSummary;
@XmlElement(name = "CollectionParent")
protected Collections.Collection.CollectionParent collectionParent;
@XmlElement(name = "CollectionItem")
protected List<Collections.Collection.CollectionItem> collectionItem;
/**
* Gets the value of the collectionSummary property.
*
* @return possible object is
* {@link Collections.Collection.CollectionSummary }
*
*/
public Collections.Collection.CollectionSummary getCollectionSummary() {
return collectionSummary;
}
/**
* Sets the value of the collectionSummary property.
*
* @param value
* allowed object is
* {@link Collections.Collection.CollectionSummary }
*
*/
public void setCollectionSummary(
Collections.Collection.CollectionSummary value) {
this.collectionSummary = value;
}
/**
* Gets the value of the collectionParent property.
*
* @return possible object is
* {@link Collections.Collection.CollectionParent }
*
*/
public Collections.Collection.CollectionParent getCollectionParent() {
return collectionParent;
}
/**
* Sets the value of the collectionParent property.
*
* @param value
* allowed object is
* {@link Collections.Collection.CollectionParent }
*
*/
public void setCollectionParent(
Collections.Collection.CollectionParent value) {
this.collectionParent = value;
}
/**
* Gets the value of the collectionItem property.
*
* <p>
* 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
* <CODE>set</CODE> method for the collectionItem property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCollectionItem().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Collections.Collection.CollectionItem }
*
*
*/
public List<Collections.Collection.CollectionItem> getCollectionItem() {
if (collectionItem == null) {
collectionItem = new ArrayList<Collections.Collection.CollectionItem>();
}
return this.collectionItem;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "asin", "title" })
public static class CollectionItem {
@XmlElement(name = "ASIN")
protected String asin;
@XmlElement(name = "Title")
protected String title;
/**
* Gets the value of the asin property.
*
* @return possible object is {@link String }
*
*/
public String getASIN() {
return asin;
}
/**
* Sets the value of the asin property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setASIN(String value) {
this.asin = value;
}
/**
* Gets the value of the title property.
*
* @return possible object is {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "asin", "title" })
public static class CollectionParent {
@XmlElement(name = "ASIN")
protected String asin;
@XmlElement(name = "Title")
protected String title;
/**
* Gets the value of the asin property.
*
* @return possible object is {@link String }
*
*/
public String getASIN() {
return asin;
}
/**
* Sets the value of the asin property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setASIN(String value) {
this.asin = value;
}
/**
* Gets the value of the title property.
*
* @return possible object is {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="LowestListPrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="HighestListPrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="LowestSalePrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="HighestSalePrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "lowestListPrice",
"highestListPrice", "lowestSalePrice", "highestSalePrice" })
public static class CollectionSummary {
@XmlElement(name = "LowestListPrice")
protected Price lowestListPrice;
@XmlElement(name = "HighestListPrice")
protected Price highestListPrice;
@XmlElement(name = "LowestSalePrice")
protected Price lowestSalePrice;
@XmlElement(name = "HighestSalePrice")
protected Price highestSalePrice;
/**
* Gets the value of the lowestListPrice property.
*
* @return possible object is {@link Price }
*
*/
public Price getLowestListPrice() {
return lowestListPrice;
}
/**
* Sets the value of the lowestListPrice property.
*
* @param value
* allowed object is {@link Price }
*
*/
public void setLowestListPrice(Price value) {
this.lowestListPrice = value;
}
/**
* Gets the value of the highestListPrice property.
*
* @return possible object is {@link Price }
*
*/
public Price getHighestListPrice() {
return highestListPrice;
}
/**
* Sets the value of the highestListPrice property.
*
* @param value
* allowed object is {@link Price }
*
*/
public void setHighestListPrice(Price value) {
this.highestListPrice = value;
}
/**
* Gets the value of the lowestSalePrice property.
*
* @return possible object is {@link Price }
*
*/
public Price getLowestSalePrice() {
return lowestSalePrice;
}
/**
* Sets the value of the lowestSalePrice property.
*
* @param value
* allowed object is {@link Price }
*
*/
public void setLowestSalePrice(Price value) {
this.lowestSalePrice = value;
}
/**
* Gets the value of the highestSalePrice property.
*
* @return possible object is {@link Price }
*
*/
public Price getHighestSalePrice() {
return highestSalePrice;
}
/**
* Sets the value of the highestSalePrice property.
*
* @param value
* allowed object is {@link Price }
*
*/
public void setHighestSalePrice(Price value) {
this.highestSalePrice = value;
}
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CorrectedQuery.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Keywords" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "keywords", "message" })
@XmlRootElement(name = "CorrectedQuery")
public class CorrectedQuery {
@XmlElement(name = "Keywords")
protected String keywords;
@XmlElement(name = "Message")
protected String message;
/**
* Gets the value of the keywords property.
*
* @return possible object is {@link String }
*
*/
public String getKeywords() {
return keywords;
}
/**
* Sets the value of the keywords property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setKeywords(String value) {
this.keywords = value;
}
/**
* Gets the value of the message property.
*
* @return possible object is {@link String }
*
*/
public String getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMessage(String value) {
this.message = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/CustomerReviews.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="IFrameURL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="HasReviews" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "iFrameURL", "hasReviews" })
@XmlRootElement(name = "CustomerReviews")
public class CustomerReviews {
@XmlElement(name = "IFrameURL")
protected String iFrameURL;
@XmlElement(name = "HasReviews")
protected Boolean hasReviews;
/**
* Gets the value of the iFrameURL property.
*
* @return possible object is {@link String }
*
*/
public String getIFrameURL() {
return iFrameURL;
}
/**
* Sets the value of the iFrameURL property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setIFrameURL(String value) {
this.iFrameURL = value;
}
/**
* Gets the value of the hasReviews property.
*
* @return possible object is {@link Boolean }
*
*/
public Boolean isHasReviews() {
return hasReviews;
}
/**
* Sets the value of the hasReviews property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setHasReviews(Boolean value) {
this.hasReviews = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/DecimalWithUnits.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* <p>
* Java class for DecimalWithUnits complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="DecimalWithUnits">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>decimal">
* <attribute name="Units" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DecimalWithUnits", propOrder = { "value" })
public class DecimalWithUnits {
@XmlValue
protected BigDecimal value;
@XmlAttribute(name = "Units", required = true)
protected String units;
/**
* Gets the value of the value property.
*
* @return possible object is {@link BigDecimal }
*
*/
public BigDecimal getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is {@link BigDecimal }
*
*/
public void setValue(BigDecimal value) {
this.value = value;
}
/**
* Gets the value of the units property.
*
* @return possible object is {@link String }
*
*/
public String getUnits() {
return units;
}
/**
* Sets the value of the units property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setUnits(String value) {
this.units = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/EditorialReview.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Source" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Content" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="IsLinkSuppressed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "source", "content", "isLinkSuppressed" })
@XmlRootElement(name = "EditorialReview")
public class EditorialReview {
@XmlElement(name = "Source")
protected String source;
@XmlElement(name = "Content")
protected String content;
@XmlElement(name = "IsLinkSuppressed")
protected Boolean isLinkSuppressed;
/**
* Gets the value of the source property.
*
* @return possible object is {@link String }
*
*/
public String getSource() {
return source;
}
/**
* Sets the value of the source property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSource(String value) {
this.source = value;
}
/**
* Gets the value of the content property.
*
* @return possible object is {@link String }
*
*/
public String getContent() {
return content;
}
/**
* Sets the value of the content property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setContent(String value) {
this.content = value;
}
/**
* Gets the value of the isLinkSuppressed property.
*
* @return possible object is {@link Boolean }
*
*/
public Boolean isIsLinkSuppressed() {
return isLinkSuppressed;
}
/**
* Sets the value of the isLinkSuppressed property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setIsLinkSuppressed(Boolean value) {
this.isLinkSuppressed = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/EditorialReviews.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}EditorialReview" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "editorialReview" })
@XmlRootElement(name = "EditorialReviews")
public class EditorialReviews {
@XmlElement(name = "EditorialReview")
protected List<EditorialReview> editorialReview;
/**
* Gets the value of the editorialReview property.
*
* <p>
* 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
* <CODE>set</CODE> method for the editorialReview property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getEditorialReview().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link EditorialReview }
*
*
*/
public List<EditorialReview> getEditorialReview() {
if (editorialReview == null) {
editorialReview = new ArrayList<EditorialReview>();
}
return this.editorialReview;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/Errors.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Error" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Code" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "error" })
@XmlRootElement(name = "Errors")
public class Errors {
@XmlElement(name = "Error", required = true)
protected List<Errors.Error> error;
/**
* Gets the value of the error property.
*
* <p>
* 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
* <CODE>set</CODE> method for the error property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getError().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Errors.Error }
*
*
*/
public List<Errors.Error> getError() {
if (error == null) {
error = new ArrayList<Errors.Error>();
}
return this.error;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Code" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "code", "message" })
public static class Error {
@XmlElement(name = "Code", required = true)
protected String code;
@XmlElement(name = "Message", required = true)
protected String message;
/**
* Gets the value of the code property.
*
* @return possible object is {@link String }
*
*/
public String getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCode(String value) {
this.code = value;
}
/**
* Gets the value of the message property.
*
* @return possible object is {@link String }
*
*/
public String getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMessage(String value) {
this.message = value;
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/HTTPHeaders.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Header" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "header" })
@XmlRootElement(name = "HTTPHeaders")
public class HTTPHeaders {
@XmlElement(name = "Header")
protected List<HTTPHeaders.Header> header;
/**
* Gets the value of the header property.
*
* <p>
* 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
* <CODE>set</CODE> method for the header property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getHeader().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link HTTPHeaders.Header }
*
*
*/
public List<HTTPHeaders.Header> getHeader() {
if (header == null) {
header = new ArrayList<HTTPHeaders.Header>();
}
return this.header;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class Header {
@XmlAttribute(name = "Name", required = true)
protected String name;
@XmlAttribute(name = "Value", required = true)
protected String value;
/**
* Gets the value of the name property.
*
* @return possible object is {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the value property.
*
* @return possible object is {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/Image.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for Image complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="Image">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="URL" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Height" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits"/>
* <element name="Width" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits"/>
* <element name="IsVerified" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Image", propOrder = { "url", "height", "width", "isVerified" })
public class Image {
@XmlElement(name = "URL", required = true)
protected String url;
@XmlElement(name = "Height", required = true)
protected DecimalWithUnits height;
@XmlElement(name = "Width", required = true)
protected DecimalWithUnits width;
@XmlElement(name = "IsVerified")
protected String isVerified;
/**
* Gets the value of the url property.
*
* @return possible object is {@link String }
*
*/
public String getURL() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setURL(String value) {
this.url = value;
}
/**
* Gets the value of the height property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getHeight() {
return height;
}
/**
* Sets the value of the height property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setHeight(DecimalWithUnits value) {
this.height = value;
}
/**
* Gets the value of the width property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getWidth() {
return width;
}
/**
* Sets the value of the width property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setWidth(DecimalWithUnits value) {
this.width = value;
}
/**
* Gets the value of the isVerified property.
*
* @return possible object is {@link String }
*
*/
public String getIsVerified() {
return isVerified;
}
/**
* Sets the value of the isVerified property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setIsVerified(String value) {
this.isVerified = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/ImageSet.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SwatchImage" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Image" minOccurs="0"/>
* <element name="SmallImage" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Image" minOccurs="0"/>
* <element name="ThumbnailImage" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Image" minOccurs="0"/>
* <element name="TinyImage" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Image" minOccurs="0"/>
* <element name="MediumImage" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Image" minOccurs="0"/>
* <element name="LargeImage" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Image" minOccurs="0"/>
* </sequence>
* <attribute name="Category" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "swatchImage", "smallImage",
"thumbnailImage", "tinyImage", "mediumImage", "largeImage" })
@XmlRootElement(name = "ImageSet")
public class ImageSet {
@XmlElement(name = "SwatchImage")
protected Image swatchImage;
@XmlElement(name = "SmallImage")
protected Image smallImage;
@XmlElement(name = "ThumbnailImage")
protected Image thumbnailImage;
@XmlElement(name = "TinyImage")
protected Image tinyImage;
@XmlElement(name = "MediumImage")
protected Image mediumImage;
@XmlElement(name = "LargeImage")
protected Image largeImage;
@XmlAttribute(name = "Category")
protected String category;
/**
* Gets the value of the swatchImage property.
*
* @return possible object is {@link Image }
*
*/
public Image getSwatchImage() {
return swatchImage;
}
/**
* Sets the value of the swatchImage property.
*
* @param value
* allowed object is {@link Image }
*
*/
public void setSwatchImage(Image value) {
this.swatchImage = value;
}
/**
* Gets the value of the smallImage property.
*
* @return possible object is {@link Image }
*
*/
public Image getSmallImage() {
return smallImage;
}
/**
* Sets the value of the smallImage property.
*
* @param value
* allowed object is {@link Image }
*
*/
public void setSmallImage(Image value) {
this.smallImage = value;
}
/**
* Gets the value of the thumbnailImage property.
*
* @return possible object is {@link Image }
*
*/
public Image getThumbnailImage() {
return thumbnailImage;
}
/**
* Sets the value of the thumbnailImage property.
*
* @param value
* allowed object is {@link Image }
*
*/
public void setThumbnailImage(Image value) {
this.thumbnailImage = value;
}
/**
* Gets the value of the tinyImage property.
*
* @return possible object is {@link Image }
*
*/
public Image getTinyImage() {
return tinyImage;
}
/**
* Sets the value of the tinyImage property.
*
* @param value
* allowed object is {@link Image }
*
*/
public void setTinyImage(Image value) {
this.tinyImage = value;
}
/**
* Gets the value of the mediumImage property.
*
* @return possible object is {@link Image }
*
*/
public Image getMediumImage() {
return mediumImage;
}
/**
* Sets the value of the mediumImage property.
*
* @param value
* allowed object is {@link Image }
*
*/
public void setMediumImage(Image value) {
this.mediumImage = value;
}
/**
* Gets the value of the largeImage property.
*
* @return possible object is {@link Image }
*
*/
public Image getLargeImage() {
return largeImage;
}
/**
* Sets the value of the largeImage property.
*
* @param value
* allowed object is {@link Image }
*
*/
public void setLargeImage(Image value) {
this.largeImage = value;
}
/**
* Gets the value of the category property.
*
* @return possible object is {@link String }
*
*/
public String getCategory() {
return category;
}
/**
* Sets the value of the category property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCategory(String value) {
this.category = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/Item.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="ParentASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Errors" minOccurs="0"/>
* <element name="DetailPageURL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}ItemLinks" minOccurs="0"/>
* <element name="SalesRank" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="SmallImage" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Image" minOccurs="0"/>
* <element name="MediumImage" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Image" minOccurs="0"/>
* <element name="LargeImage" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Image" minOccurs="0"/>
* <element name="ImageSets" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}ImageSet" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}ItemAttributes" minOccurs="0"/>
* <element name="VariationAttributes" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}VariationAttribute" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}RelatedItems" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Collections" minOccurs="0"/>
* <element name="Subjects" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Subject" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}OfferSummary" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Offers" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}VariationSummary" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Variations" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CustomerReviews" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}EditorialReviews" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}SimilarProducts" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Accessories" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Tracks" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNodes" minOccurs="0"/>
* <element name="AlternateVersions" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AlternateVersion" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Binding" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "asin", "parentASIN", "errors",
"detailPageURL", "itemLinks", "salesRank", "smallImage", "mediumImage",
"largeImage", "imageSets", "itemAttributes", "variationAttributes",
"relatedItems", "collections", "subjects", "offerSummary", "offers",
"variationSummary", "variations", "customerReviews",
"editorialReviews", "similarProducts", "accessories", "tracks",
"browseNodes", "alternateVersions" })
@XmlRootElement(name = "Item")
public class Item {
@XmlElement(name = "ASIN", required = true)
protected String asin;
@XmlElement(name = "ParentASIN")
protected String parentASIN;
@XmlElement(name = "Errors")
protected Errors errors;
@XmlElement(name = "DetailPageURL")
protected String detailPageURL;
@XmlElement(name = "ItemLinks")
protected ItemLinks itemLinks;
@XmlElement(name = "SalesRank")
protected String salesRank;
@XmlElement(name = "SmallImage")
protected Image smallImage;
@XmlElement(name = "MediumImage")
protected Image mediumImage;
@XmlElement(name = "LargeImage")
protected Image largeImage;
@XmlElement(name = "ImageSets")
protected List<Item.ImageSets> imageSets;
@XmlElement(name = "ItemAttributes")
protected ItemAttributes itemAttributes;
@XmlElement(name = "VariationAttributes")
protected Item.VariationAttributes variationAttributes;
@XmlElement(name = "RelatedItems")
protected List<RelatedItems> relatedItems;
@XmlElement(name = "Collections")
protected Collections collections;
@XmlElement(name = "Subjects")
protected Item.Subjects subjects;
@XmlElement(name = "OfferSummary")
protected OfferSummary offerSummary;
@XmlElement(name = "Offers")
protected Offers offers;
@XmlElement(name = "VariationSummary")
protected VariationSummary variationSummary;
@XmlElement(name = "Variations")
protected Variations variations;
@XmlElement(name = "CustomerReviews")
protected CustomerReviews customerReviews;
@XmlElement(name = "EditorialReviews")
protected EditorialReviews editorialReviews;
@XmlElement(name = "SimilarProducts")
protected SimilarProducts similarProducts;
@XmlElement(name = "Accessories")
protected Accessories accessories;
@XmlElement(name = "Tracks")
protected Tracks tracks;
@XmlElement(name = "BrowseNodes")
protected BrowseNodes browseNodes;
@XmlElement(name = "AlternateVersions")
protected Item.AlternateVersions alternateVersions;
/**
* Gets the value of the asin property.
*
* @return possible object is {@link String }
*
*/
public String getASIN() {
return asin;
}
/**
* Sets the value of the asin property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setASIN(String value) {
this.asin = value;
}
/**
* Gets the value of the parentASIN property.
*
* @return possible object is {@link String }
*
*/
public String getParentASIN() {
return parentASIN;
}
/**
* Sets the value of the parentASIN property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setParentASIN(String value) {
this.parentASIN = value;
}
/**
* Gets the value of the errors property.
*
* @return possible object is {@link Errors }
*
*/
public Errors getErrors() {
return errors;
}
/**
* Sets the value of the errors property.
*
* @param value
* allowed object is {@link Errors }
*
*/
public void setErrors(Errors value) {
this.errors = value;
}
/**
* Gets the value of the detailPageURL property.
*
* @return possible object is {@link String }
*
*/
public String getDetailPageURL() {
return detailPageURL;
}
/**
* Sets the value of the detailPageURL property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setDetailPageURL(String value) {
this.detailPageURL = value;
}
/**
* Gets the value of the itemLinks property.
*
* @return possible object is {@link ItemLinks }
*
*/
public ItemLinks getItemLinks() {
return itemLinks;
}
/**
* Sets the value of the itemLinks property.
*
* @param value
* allowed object is {@link ItemLinks }
*
*/
public void setItemLinks(ItemLinks value) {
this.itemLinks = value;
}
/**
* Gets the value of the salesRank property.
*
* @return possible object is {@link String }
*
*/
public String getSalesRank() {
return salesRank;
}
/**
* Sets the value of the salesRank property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSalesRank(String value) {
this.salesRank = value;
}
/**
* Gets the value of the smallImage property.
*
* @return possible object is {@link Image }
*
*/
public Image getSmallImage() {
return smallImage;
}
/**
* Sets the value of the smallImage property.
*
* @param value
* allowed object is {@link Image }
*
*/
public void setSmallImage(Image value) {
this.smallImage = value;
}
/**
* Gets the value of the mediumImage property.
*
* @return possible object is {@link Image }
*
*/
public Image getMediumImage() {
return mediumImage;
}
/**
* Sets the value of the mediumImage property.
*
* @param value
* allowed object is {@link Image }
*
*/
public void setMediumImage(Image value) {
this.mediumImage = value;
}
/**
* Gets the value of the largeImage property.
*
* @return possible object is {@link Image }
*
*/
public Image getLargeImage() {
return largeImage;
}
/**
* Sets the value of the largeImage property.
*
* @param value
* allowed object is {@link Image }
*
*/
public void setLargeImage(Image value) {
this.largeImage = value;
}
/**
* Gets the value of the imageSets property.
*
* <p>
* 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
* <CODE>set</CODE> method for the imageSets property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getImageSets().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Item.ImageSets }
*
*
*/
public List<Item.ImageSets> getImageSets() {
if (imageSets == null) {
imageSets = new ArrayList<Item.ImageSets>();
}
return this.imageSets;
}
/**
* Gets the value of the itemAttributes property.
*
* @return possible object is {@link ItemAttributes }
*
*/
public ItemAttributes getItemAttributes() {
return itemAttributes;
}
/**
* Sets the value of the itemAttributes property.
*
* @param value
* allowed object is {@link ItemAttributes }
*
*/
public void setItemAttributes(ItemAttributes value) {
this.itemAttributes = value;
}
/**
* Gets the value of the variationAttributes property.
*
* @return possible object is {@link Item.VariationAttributes }
*
*/
public Item.VariationAttributes getVariationAttributes() {
return variationAttributes;
}
/**
* Sets the value of the variationAttributes property.
*
* @param value
* allowed object is {@link Item.VariationAttributes }
*
*/
public void setVariationAttributes(Item.VariationAttributes value) {
this.variationAttributes = value;
}
/**
* Gets the value of the relatedItems property.
*
* <p>
* 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
* <CODE>set</CODE> method for the relatedItems property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getRelatedItems().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link RelatedItems }
*
*
*/
public List<RelatedItems> getRelatedItems() {
if (relatedItems == null) {
relatedItems = new ArrayList<RelatedItems>();
}
return this.relatedItems;
}
/**
* Gets the value of the collections property.
*
* @return possible object is {@link Collections }
*
*/
public Collections getCollections() {
return collections;
}
/**
* Sets the value of the collections property.
*
* @param value
* allowed object is {@link Collections }
*
*/
public void setCollections(Collections value) {
this.collections = value;
}
/**
* Gets the value of the subjects property.
*
* @return possible object is {@link Item.Subjects }
*
*/
public Item.Subjects getSubjects() {
return subjects;
}
/**
* Sets the value of the subjects property.
*
* @param value
* allowed object is {@link Item.Subjects }
*
*/
public void setSubjects(Item.Subjects value) {
this.subjects = value;
}
/**
* Gets the value of the offerSummary property.
*
* @return possible object is {@link OfferSummary }
*
*/
public OfferSummary getOfferSummary() {
return offerSummary;
}
/**
* Sets the value of the offerSummary property.
*
* @param value
* allowed object is {@link OfferSummary }
*
*/
public void setOfferSummary(OfferSummary value) {
this.offerSummary = value;
}
/**
* Gets the value of the offers property.
*
* @return possible object is {@link Offers }
*
*/
public Offers getOffers() {
return offers;
}
/**
* Sets the value of the offers property.
*
* @param value
* allowed object is {@link Offers }
*
*/
public void setOffers(Offers value) {
this.offers = value;
}
/**
* Gets the value of the variationSummary property.
*
* @return possible object is {@link VariationSummary }
*
*/
public VariationSummary getVariationSummary() {
return variationSummary;
}
/**
* Sets the value of the variationSummary property.
*
* @param value
* allowed object is {@link VariationSummary }
*
*/
public void setVariationSummary(VariationSummary value) {
this.variationSummary = value;
}
/**
* Gets the value of the variations property.
*
* @return possible object is {@link Variations }
*
*/
public Variations getVariations() {
return variations;
}
/**
* Sets the value of the variations property.
*
* @param value
* allowed object is {@link Variations }
*
*/
public void setVariations(Variations value) {
this.variations = value;
}
/**
* Gets the value of the customerReviews property.
*
* @return possible object is {@link CustomerReviews }
*
*/
public CustomerReviews getCustomerReviews() {
return customerReviews;
}
/**
* Sets the value of the customerReviews property.
*
* @param value
* allowed object is {@link CustomerReviews }
*
*/
public void setCustomerReviews(CustomerReviews value) {
this.customerReviews = value;
}
/**
* Gets the value of the editorialReviews property.
*
* @return possible object is {@link EditorialReviews }
*
*/
public EditorialReviews getEditorialReviews() {
return editorialReviews;
}
/**
* Sets the value of the editorialReviews property.
*
* @param value
* allowed object is {@link EditorialReviews }
*
*/
public void setEditorialReviews(EditorialReviews value) {
this.editorialReviews = value;
}
/**
* Gets the value of the similarProducts property.
*
* @return possible object is {@link SimilarProducts }
*
*/
public SimilarProducts getSimilarProducts() {
return similarProducts;
}
/**
* Sets the value of the similarProducts property.
*
* @param value
* allowed object is {@link SimilarProducts }
*
*/
public void setSimilarProducts(SimilarProducts value) {
this.similarProducts = value;
}
/**
* Gets the value of the accessories property.
*
* @return possible object is {@link Accessories }
*
*/
public Accessories getAccessories() {
return accessories;
}
/**
* Sets the value of the accessories property.
*
* @param value
* allowed object is {@link Accessories }
*
*/
public void setAccessories(Accessories value) {
this.accessories = value;
}
/**
* Gets the value of the tracks property.
*
* @return possible object is {@link Tracks }
*
*/
public Tracks getTracks() {
return tracks;
}
/**
* Sets the value of the tracks property.
*
* @param value
* allowed object is {@link Tracks }
*
*/
public void setTracks(Tracks value) {
this.tracks = value;
}
/**
* Gets the value of the browseNodes property.
*
* @return possible object is {@link BrowseNodes }
*
*/
public BrowseNodes getBrowseNodes() {
return browseNodes;
}
/**
* Sets the value of the browseNodes property.
*
* @param value
* allowed object is {@link BrowseNodes }
*
*/
public void setBrowseNodes(BrowseNodes value) {
this.browseNodes = value;
}
/**
* Gets the value of the alternateVersions property.
*
* @return possible object is {@link Item.AlternateVersions }
*
*/
public Item.AlternateVersions getAlternateVersions() {
return alternateVersions;
}
/**
* Sets the value of the alternateVersions property.
*
* @param value
* allowed object is {@link Item.AlternateVersions }
*
*/
public void setAlternateVersions(Item.AlternateVersions value) {
this.alternateVersions = value;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AlternateVersion" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Binding" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "alternateVersion" })
public static class AlternateVersions {
@XmlElement(name = "AlternateVersion")
protected List<Item.AlternateVersions.AlternateVersion> alternateVersion;
/**
* Gets the value of the alternateVersion property.
*
* <p>
* 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
* <CODE>set</CODE> method for the alternateVersion property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getAlternateVersion().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Item.AlternateVersions.AlternateVersion }
*
*
*/
public List<Item.AlternateVersions.AlternateVersion> getAlternateVersion() {
if (alternateVersion == null) {
alternateVersion = new ArrayList<Item.AlternateVersions.AlternateVersion>();
}
return this.alternateVersion;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Binding" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "asin", "title", "binding" })
public static class AlternateVersion {
@XmlElement(name = "ASIN", required = true)
protected String asin;
@XmlElement(name = "Title")
protected String title;
@XmlElement(name = "Binding")
protected String binding;
/**
* Gets the value of the asin property.
*
* @return possible object is {@link String }
*
*/
public String getASIN() {
return asin;
}
/**
* Sets the value of the asin property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setASIN(String value) {
this.asin = value;
}
/**
* Gets the value of the title property.
*
* @return possible object is {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the binding property.
*
* @return possible object is {@link String }
*
*/
public String getBinding() {
return binding;
}
/**
* Sets the value of the binding property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setBinding(String value) {
this.binding = value;
}
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}ImageSet" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "imageSet" })
public static class ImageSets {
@XmlElement(name = "ImageSet")
protected List<ImageSet> imageSet;
/**
* Gets the value of the imageSet property.
*
* <p>
* 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
* <CODE>set</CODE> method for the imageSet property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getImageSet().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ImageSet }
*
*
*/
public List<ImageSet> getImageSet() {
if (imageSet == null) {
imageSet = new ArrayList<ImageSet>();
}
return this.imageSet;
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Subject" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "subject" })
public static class Subjects {
@XmlElement(name = "Subject")
protected List<String> subject;
/**
* Gets the value of the subject property.
*
* <p>
* 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
* <CODE>set</CODE> method for the subject property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getSubject().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getSubject() {
if (subject == null) {
subject = new ArrayList<String>();
}
return this.subject;
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}VariationAttribute" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "variationAttribute" })
public static class VariationAttributes {
@XmlElement(name = "VariationAttribute")
protected List<VariationAttribute> variationAttribute;
/**
* Gets the value of the variationAttribute property.
*
* <p>
* 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
* <CODE>set</CODE> method for the variationAttribute property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getVariationAttribute().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link VariationAttribute }
*
*
*/
public List<VariationAttribute> getVariationAttribute() {
if (variationAttribute == null) {
variationAttribute = new ArrayList<VariationAttribute>();
}
return this.variationAttribute;
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/ItemAttributes.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Actor" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Artist" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="AspectRatio" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AudienceRating" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AudioFormat" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Author" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Binding" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Brand" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="CatalogNumberList" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CatalogNumberListElement" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Category" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="CEROAgeRating" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ClothingSize" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Color" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Creator" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="Role" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </element>
* <element name="Department" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Director" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="EAN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="EANList" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="EANListElement" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Edition" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="EISBN" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="EpisodeSequence" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ESRBAgeRating" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Feature" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Format" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Genre" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="HardwarePlatform" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="HazardousMaterialType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="IsAdultProduct" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="IsAutographed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="ISBN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="IsEligibleForTradeIn" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="IsMemorabilia" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="IssuesPerYear" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ItemDimensions" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Height" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="Length" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="Weight" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="Width" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ItemPartNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Label" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Languages" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Language" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AudioFormat" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="LegalDisclaimer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ListPrice" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="MagazineType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Manufacturer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ManufacturerMaximumAge" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="ManufacturerMinimumAge" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="ManufacturerPartsWarrantyDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="MediaType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Model" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ModelYear" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="MPN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="NumberOfDiscs" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="NumberOfIssues" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="NumberOfItems" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="NumberOfPages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="NumberOfTracks" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="OperatingSystem" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="PackageDimensions" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Height" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="Length" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="Weight" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="Width" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="PackageQuantity" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="PartNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="PictureFormat" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Platform" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ProductGroup" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ProductTypeName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ProductTypeSubcategory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="PublicationDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Publisher" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="RegionCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ReleaseDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="RunningTime" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="SeikodoProductCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Size" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="SKU" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Studio" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="SubscriptionLength" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}NonNegativeIntegerWithUnits" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="TrackSequence" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="TradeInValue" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* <element name="UPC" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="UPCList" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="UPCListElement" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Warranty" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="WEEETaxValue" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "actor", "artist", "aspectRatio",
"audienceRating", "audioFormat", "author", "binding", "brand",
"catalogNumberList", "category", "ceroAgeRating", "clothingSize",
"color", "creator", "department", "director", "ean", "eanList",
"edition", "eisbn", "episodeSequence", "esrbAgeRating", "feature",
"format", "genre", "hardwarePlatform", "hazardousMaterialType",
"isAdultProduct", "isAutographed", "isbn", "isEligibleForTradeIn",
"isMemorabilia", "issuesPerYear", "itemDimensions", "itemPartNumber",
"label", "languages", "legalDisclaimer", "listPrice", "magazineType",
"manufacturer", "manufacturerMaximumAge", "manufacturerMinimumAge",
"manufacturerPartsWarrantyDescription", "mediaType", "model",
"modelYear", "mpn", "numberOfDiscs", "numberOfIssues", "numberOfItems",
"numberOfPages", "numberOfTracks", "operatingSystem",
"packageDimensions", "packageQuantity", "partNumber", "pictureFormat",
"platform", "productGroup", "productTypeName",
"productTypeSubcategory", "publicationDate", "publisher", "regionCode",
"releaseDate", "runningTime", "seikodoProductCode", "size", "sku",
"studio", "subscriptionLength", "title", "trackSequence",
"tradeInValue", "upc", "upcList", "warranty", "weeeTaxValue" })
@XmlRootElement(name = "ItemAttributes")
public class ItemAttributes {
@XmlElement(name = "Actor")
protected List<String> actor;
@XmlElement(name = "Artist")
protected List<String> artist;
@XmlElement(name = "AspectRatio")
protected String aspectRatio;
@XmlElement(name = "AudienceRating")
protected String audienceRating;
@XmlElement(name = "AudioFormat")
protected List<String> audioFormat;
@XmlElement(name = "Author")
protected List<String> author;
@XmlElement(name = "Binding")
protected String binding;
@XmlElement(name = "Brand")
protected String brand;
@XmlElement(name = "CatalogNumberList")
protected ItemAttributes.CatalogNumberList catalogNumberList;
@XmlElement(name = "Category")
protected List<String> category;
@XmlElement(name = "CEROAgeRating")
protected String ceroAgeRating;
@XmlElement(name = "ClothingSize")
protected String clothingSize;
@XmlElement(name = "Color")
protected String color;
@XmlElement(name = "Creator")
protected List<ItemAttributes.Creator> creator;
@XmlElement(name = "Department")
protected String department;
@XmlElement(name = "Director")
protected List<String> director;
@XmlElement(name = "EAN")
protected String ean;
@XmlElement(name = "EANList")
protected ItemAttributes.EANList eanList;
@XmlElement(name = "Edition")
protected String edition;
@XmlElement(name = "EISBN")
protected List<String> eisbn;
@XmlElement(name = "EpisodeSequence")
protected String episodeSequence;
@XmlElement(name = "ESRBAgeRating")
protected String esrbAgeRating;
@XmlElement(name = "Feature")
protected List<String> feature;
@XmlElement(name = "Format")
protected List<String> format;
@XmlElement(name = "Genre")
protected String genre;
@XmlElement(name = "HardwarePlatform")
protected String hardwarePlatform;
@XmlElement(name = "HazardousMaterialType")
protected String hazardousMaterialType;
@XmlElement(name = "IsAdultProduct")
protected Boolean isAdultProduct;
@XmlElement(name = "IsAutographed")
protected Boolean isAutographed;
@XmlElement(name = "ISBN")
protected String isbn;
@XmlElement(name = "IsEligibleForTradeIn")
protected Boolean isEligibleForTradeIn;
@XmlElement(name = "IsMemorabilia")
protected Boolean isMemorabilia;
@XmlElement(name = "IssuesPerYear")
protected String issuesPerYear;
@XmlElement(name = "ItemDimensions")
protected ItemAttributes.ItemDimensions itemDimensions;
@XmlElement(name = "ItemPartNumber")
protected String itemPartNumber;
@XmlElement(name = "Label")
protected String label;
@XmlElement(name = "Languages")
protected ItemAttributes.Languages languages;
@XmlElement(name = "LegalDisclaimer")
protected String legalDisclaimer;
@XmlElement(name = "ListPrice")
protected Price listPrice;
@XmlElement(name = "MagazineType")
protected String magazineType;
@XmlElement(name = "Manufacturer")
protected String manufacturer;
@XmlElement(name = "ManufacturerMaximumAge")
protected DecimalWithUnits manufacturerMaximumAge;
@XmlElement(name = "ManufacturerMinimumAge")
protected DecimalWithUnits manufacturerMinimumAge;
@XmlElement(name = "ManufacturerPartsWarrantyDescription")
protected String manufacturerPartsWarrantyDescription;
@XmlElement(name = "MediaType")
protected String mediaType;
@XmlElement(name = "Model")
protected String model;
@XmlElement(name = "ModelYear")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger modelYear;
@XmlElement(name = "MPN")
protected String mpn;
@XmlElement(name = "NumberOfDiscs")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger numberOfDiscs;
@XmlElement(name = "NumberOfIssues")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger numberOfIssues;
@XmlElement(name = "NumberOfItems")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger numberOfItems;
@XmlElement(name = "NumberOfPages")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger numberOfPages;
@XmlElement(name = "NumberOfTracks")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger numberOfTracks;
@XmlElement(name = "OperatingSystem")
protected String operatingSystem;
@XmlElement(name = "PackageDimensions")
protected ItemAttributes.PackageDimensions packageDimensions;
@XmlElement(name = "PackageQuantity")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger packageQuantity;
@XmlElement(name = "PartNumber")
protected String partNumber;
@XmlElement(name = "PictureFormat")
protected List<String> pictureFormat;
@XmlElement(name = "Platform")
protected List<String> platform;
@XmlElement(name = "ProductGroup")
protected String productGroup;
@XmlElement(name = "ProductTypeName")
protected String productTypeName;
@XmlElement(name = "ProductTypeSubcategory")
protected String productTypeSubcategory;
@XmlElement(name = "PublicationDate")
protected String publicationDate;
@XmlElement(name = "Publisher")
protected String publisher;
@XmlElement(name = "RegionCode")
protected String regionCode;
@XmlElement(name = "ReleaseDate")
protected String releaseDate;
@XmlElement(name = "RunningTime")
protected DecimalWithUnits runningTime;
@XmlElement(name = "SeikodoProductCode")
protected String seikodoProductCode;
@XmlElement(name = "Size")
protected String size;
@XmlElement(name = "SKU")
protected String sku;
@XmlElement(name = "Studio")
protected String studio;
@XmlElement(name = "SubscriptionLength")
protected NonNegativeIntegerWithUnits subscriptionLength;
@XmlElement(name = "Title")
protected String title;
@XmlElement(name = "TrackSequence")
protected String trackSequence;
@XmlElement(name = "TradeInValue")
protected Price tradeInValue;
@XmlElement(name = "UPC")
protected String upc;
@XmlElement(name = "UPCList")
protected ItemAttributes.UPCList upcList;
@XmlElement(name = "Warranty")
protected String warranty;
@XmlElement(name = "WEEETaxValue")
protected Price weeeTaxValue;
/**
* Gets the value of the actor property.
*
* <p>
* 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
* <CODE>set</CODE> method for the actor property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getActor().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getActor() {
if (actor == null) {
actor = new ArrayList<String>();
}
return this.actor;
}
/**
* Gets the value of the artist property.
*
* <p>
* 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
* <CODE>set</CODE> method for the artist property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getArtist().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getArtist() {
if (artist == null) {
artist = new ArrayList<String>();
}
return this.artist;
}
/**
* Gets the value of the aspectRatio property.
*
* @return possible object is {@link String }
*
*/
public String getAspectRatio() {
return aspectRatio;
}
/**
* Sets the value of the aspectRatio property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAspectRatio(String value) {
this.aspectRatio = value;
}
/**
* Gets the value of the audienceRating property.
*
* @return possible object is {@link String }
*
*/
public String getAudienceRating() {
return audienceRating;
}
/**
* Sets the value of the audienceRating property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAudienceRating(String value) {
this.audienceRating = value;
}
/**
* Gets the value of the audioFormat property.
*
* <p>
* 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
* <CODE>set</CODE> method for the audioFormat property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getAudioFormat().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getAudioFormat() {
if (audioFormat == null) {
audioFormat = new ArrayList<String>();
}
return this.audioFormat;
}
/**
* Gets the value of the author property.
*
* <p>
* 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
* <CODE>set</CODE> method for the author property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getAuthor().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getAuthor() {
if (author == null) {
author = new ArrayList<String>();
}
return this.author;
}
/**
* Gets the value of the binding property.
*
* @return possible object is {@link String }
*
*/
public String getBinding() {
return binding;
}
/**
* Sets the value of the binding property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setBinding(String value) {
this.binding = value;
}
/**
* Gets the value of the brand property.
*
* @return possible object is {@link String }
*
*/
public String getBrand() {
return brand;
}
/**
* Sets the value of the brand property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setBrand(String value) {
this.brand = value;
}
/**
* Gets the value of the catalogNumberList property.
*
* @return possible object is {@link ItemAttributes.CatalogNumberList }
*
*/
public ItemAttributes.CatalogNumberList getCatalogNumberList() {
return catalogNumberList;
}
/**
* Sets the value of the catalogNumberList property.
*
* @param value
* allowed object is {@link ItemAttributes.CatalogNumberList }
*
*/
public void setCatalogNumberList(ItemAttributes.CatalogNumberList value) {
this.catalogNumberList = value;
}
/**
* Gets the value of the category property.
*
* <p>
* 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
* <CODE>set</CODE> method for the category property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCategory().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getCategory() {
if (category == null) {
category = new ArrayList<String>();
}
return this.category;
}
/**
* Gets the value of the ceroAgeRating property.
*
* @return possible object is {@link String }
*
*/
public String getCEROAgeRating() {
return ceroAgeRating;
}
/**
* Sets the value of the ceroAgeRating property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCEROAgeRating(String value) {
this.ceroAgeRating = value;
}
/**
* Gets the value of the clothingSize property.
*
* @return possible object is {@link String }
*
*/
public String getClothingSize() {
return clothingSize;
}
/**
* Sets the value of the clothingSize property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setClothingSize(String value) {
this.clothingSize = value;
}
/**
* Gets the value of the color property.
*
* @return possible object is {@link String }
*
*/
public String getColor() {
return color;
}
/**
* Sets the value of the color property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setColor(String value) {
this.color = value;
}
/**
* Gets the value of the creator property.
*
* <p>
* 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
* <CODE>set</CODE> method for the creator property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCreator().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ItemAttributes.Creator }
*
*
*/
public List<ItemAttributes.Creator> getCreator() {
if (creator == null) {
creator = new ArrayList<ItemAttributes.Creator>();
}
return this.creator;
}
/**
* Gets the value of the department property.
*
* @return possible object is {@link String }
*
*/
public String getDepartment() {
return department;
}
/**
* Sets the value of the department property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setDepartment(String value) {
this.department = value;
}
/**
* Gets the value of the director property.
*
* <p>
* 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
* <CODE>set</CODE> method for the director property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getDirector().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getDirector() {
if (director == null) {
director = new ArrayList<String>();
}
return this.director;
}
/**
* Gets the value of the ean property.
*
* @return possible object is {@link String }
*
*/
public String getEAN() {
return ean;
}
/**
* Sets the value of the ean property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setEAN(String value) {
this.ean = value;
}
/**
* Gets the value of the eanList property.
*
* @return possible object is {@link ItemAttributes.EANList }
*
*/
public ItemAttributes.EANList getEANList() {
return eanList;
}
/**
* Sets the value of the eanList property.
*
* @param value
* allowed object is {@link ItemAttributes.EANList }
*
*/
public void setEANList(ItemAttributes.EANList value) {
this.eanList = value;
}
/**
* Gets the value of the edition property.
*
* @return possible object is {@link String }
*
*/
public String getEdition() {
return edition;
}
/**
* Sets the value of the edition property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setEdition(String value) {
this.edition = value;
}
/**
* Gets the value of the eisbn property.
*
* <p>
* 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
* <CODE>set</CODE> method for the eisbn property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getEISBN().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getEISBN() {
if (eisbn == null) {
eisbn = new ArrayList<String>();
}
return this.eisbn;
}
/**
* Gets the value of the episodeSequence property.
*
* @return possible object is {@link String }
*
*/
public String getEpisodeSequence() {
return episodeSequence;
}
/**
* Sets the value of the episodeSequence property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setEpisodeSequence(String value) {
this.episodeSequence = value;
}
/**
* Gets the value of the esrbAgeRating property.
*
* @return possible object is {@link String }
*
*/
public String getESRBAgeRating() {
return esrbAgeRating;
}
/**
* Sets the value of the esrbAgeRating property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setESRBAgeRating(String value) {
this.esrbAgeRating = value;
}
/**
* Gets the value of the feature property.
*
* <p>
* 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
* <CODE>set</CODE> method for the feature property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getFeature().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getFeature() {
if (feature == null) {
feature = new ArrayList<String>();
}
return this.feature;
}
/**
* Gets the value of the format property.
*
* <p>
* 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
* <CODE>set</CODE> method for the format property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getFormat().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getFormat() {
if (format == null) {
format = new ArrayList<String>();
}
return this.format;
}
/**
* Gets the value of the genre property.
*
* @return possible object is {@link String }
*
*/
public String getGenre() {
return genre;
}
/**
* Sets the value of the genre property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setGenre(String value) {
this.genre = value;
}
/**
* Gets the value of the hardwarePlatform property.
*
* @return possible object is {@link String }
*
*/
public String getHardwarePlatform() {
return hardwarePlatform;
}
/**
* Sets the value of the hardwarePlatform property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setHardwarePlatform(String value) {
this.hardwarePlatform = value;
}
/**
* Gets the value of the hazardousMaterialType property.
*
* @return possible object is {@link String }
*
*/
public String getHazardousMaterialType() {
return hazardousMaterialType;
}
/**
* Sets the value of the hazardousMaterialType property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setHazardousMaterialType(String value) {
this.hazardousMaterialType = value;
}
/**
* Gets the value of the isAdultProduct property.
*
* @return possible object is {@link Boolean }
*
*/
public Boolean isIsAdultProduct() {
return isAdultProduct;
}
/**
* Sets the value of the isAdultProduct property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setIsAdultProduct(Boolean value) {
this.isAdultProduct = value;
}
/**
* Gets the value of the isAutographed property.
*
* @return possible object is {@link Boolean }
*
*/
public Boolean isIsAutographed() {
return isAutographed;
}
/**
* Sets the value of the isAutographed property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setIsAutographed(Boolean value) {
this.isAutographed = value;
}
/**
* Gets the value of the isbn property.
*
* @return possible object is {@link String }
*
*/
public String getISBN() {
return isbn;
}
/**
* Sets the value of the isbn property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setISBN(String value) {
this.isbn = value;
}
/**
* Gets the value of the isEligibleForTradeIn property.
*
* @return possible object is {@link Boolean }
*
*/
public Boolean isIsEligibleForTradeIn() {
return isEligibleForTradeIn;
}
/**
* Sets the value of the isEligibleForTradeIn property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setIsEligibleForTradeIn(Boolean value) {
this.isEligibleForTradeIn = value;
}
/**
* Gets the value of the isMemorabilia property.
*
* @return possible object is {@link Boolean }
*
*/
public Boolean isIsMemorabilia() {
return isMemorabilia;
}
/**
* Sets the value of the isMemorabilia property.
*
* @param value
* allowed object is {@link Boolean }
*
*/
public void setIsMemorabilia(Boolean value) {
this.isMemorabilia = value;
}
/**
* Gets the value of the issuesPerYear property.
*
* @return possible object is {@link String }
*
*/
public String getIssuesPerYear() {
return issuesPerYear;
}
/**
* Sets the value of the issuesPerYear property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setIssuesPerYear(String value) {
this.issuesPerYear = value;
}
/**
* Gets the value of the itemDimensions property.
*
* @return possible object is {@link ItemAttributes.ItemDimensions }
*
*/
public ItemAttributes.ItemDimensions getItemDimensions() {
return itemDimensions;
}
/**
* Sets the value of the itemDimensions property.
*
* @param value
* allowed object is {@link ItemAttributes.ItemDimensions }
*
*/
public void setItemDimensions(ItemAttributes.ItemDimensions value) {
this.itemDimensions = value;
}
/**
* Gets the value of the itemPartNumber property.
*
* @return possible object is {@link String }
*
*/
public String getItemPartNumber() {
return itemPartNumber;
}
/**
* Sets the value of the itemPartNumber property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setItemPartNumber(String value) {
this.itemPartNumber = value;
}
/**
* Gets the value of the label property.
*
* @return possible object is {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* Gets the value of the languages property.
*
* @return possible object is {@link ItemAttributes.Languages }
*
*/
public ItemAttributes.Languages getLanguages() {
return languages;
}
/**
* Sets the value of the languages property.
*
* @param value
* allowed object is {@link ItemAttributes.Languages }
*
*/
public void setLanguages(ItemAttributes.Languages value) {
this.languages = value;
}
/**
* Gets the value of the legalDisclaimer property.
*
* @return possible object is {@link String }
*
*/
public String getLegalDisclaimer() {
return legalDisclaimer;
}
/**
* Sets the value of the legalDisclaimer property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setLegalDisclaimer(String value) {
this.legalDisclaimer = value;
}
/**
* Gets the value of the listPrice property.
*
* @return possible object is {@link Price }
*
*/
public Price getListPrice() {
return listPrice;
}
/**
* Sets the value of the listPrice property.
*
* @param value
* allowed object is {@link Price }
*
*/
public void setListPrice(Price value) {
this.listPrice = value;
}
/**
* Gets the value of the magazineType property.
*
* @return possible object is {@link String }
*
*/
public String getMagazineType() {
return magazineType;
}
/**
* Sets the value of the magazineType property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMagazineType(String value) {
this.magazineType = value;
}
/**
* Gets the value of the manufacturer property.
*
* @return possible object is {@link String }
*
*/
public String getManufacturer() {
return manufacturer;
}
/**
* Sets the value of the manufacturer property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setManufacturer(String value) {
this.manufacturer = value;
}
/**
* Gets the value of the manufacturerMaximumAge property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getManufacturerMaximumAge() {
return manufacturerMaximumAge;
}
/**
* Sets the value of the manufacturerMaximumAge property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setManufacturerMaximumAge(DecimalWithUnits value) {
this.manufacturerMaximumAge = value;
}
/**
* Gets the value of the manufacturerMinimumAge property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getManufacturerMinimumAge() {
return manufacturerMinimumAge;
}
/**
* Sets the value of the manufacturerMinimumAge property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setManufacturerMinimumAge(DecimalWithUnits value) {
this.manufacturerMinimumAge = value;
}
/**
* Gets the value of the manufacturerPartsWarrantyDescription property.
*
* @return possible object is {@link String }
*
*/
public String getManufacturerPartsWarrantyDescription() {
return manufacturerPartsWarrantyDescription;
}
/**
* Sets the value of the manufacturerPartsWarrantyDescription property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setManufacturerPartsWarrantyDescription(String value) {
this.manufacturerPartsWarrantyDescription = value;
}
/**
* Gets the value of the mediaType property.
*
* @return possible object is {@link String }
*
*/
public String getMediaType() {
return mediaType;
}
/**
* Sets the value of the mediaType property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMediaType(String value) {
this.mediaType = value;
}
/**
* Gets the value of the model property.
*
* @return possible object is {@link String }
*
*/
public String getModel() {
return model;
}
/**
* Sets the value of the model property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setModel(String value) {
this.model = value;
}
/**
* Gets the value of the modelYear property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getModelYear() {
return modelYear;
}
/**
* Sets the value of the modelYear property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setModelYear(BigInteger value) {
this.modelYear = value;
}
/**
* Gets the value of the mpn property.
*
* @return possible object is {@link String }
*
*/
public String getMPN() {
return mpn;
}
/**
* Sets the value of the mpn property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMPN(String value) {
this.mpn = value;
}
/**
* Gets the value of the numberOfDiscs property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getNumberOfDiscs() {
return numberOfDiscs;
}
/**
* Sets the value of the numberOfDiscs property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setNumberOfDiscs(BigInteger value) {
this.numberOfDiscs = value;
}
/**
* Gets the value of the numberOfIssues property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getNumberOfIssues() {
return numberOfIssues;
}
/**
* Sets the value of the numberOfIssues property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setNumberOfIssues(BigInteger value) {
this.numberOfIssues = value;
}
/**
* Gets the value of the numberOfItems property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getNumberOfItems() {
return numberOfItems;
}
/**
* Sets the value of the numberOfItems property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setNumberOfItems(BigInteger value) {
this.numberOfItems = value;
}
/**
* Gets the value of the numberOfPages property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getNumberOfPages() {
return numberOfPages;
}
/**
* Sets the value of the numberOfPages property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setNumberOfPages(BigInteger value) {
this.numberOfPages = value;
}
/**
* Gets the value of the numberOfTracks property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getNumberOfTracks() {
return numberOfTracks;
}
/**
* Sets the value of the numberOfTracks property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setNumberOfTracks(BigInteger value) {
this.numberOfTracks = value;
}
/**
* Gets the value of the operatingSystem property.
*
* @return possible object is {@link String }
*
*/
public String getOperatingSystem() {
return operatingSystem;
}
/**
* Sets the value of the operatingSystem property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setOperatingSystem(String value) {
this.operatingSystem = value;
}
/**
* Gets the value of the packageDimensions property.
*
* @return possible object is {@link ItemAttributes.PackageDimensions }
*
*/
public ItemAttributes.PackageDimensions getPackageDimensions() {
return packageDimensions;
}
/**
* Sets the value of the packageDimensions property.
*
* @param value
* allowed object is {@link ItemAttributes.PackageDimensions }
*
*/
public void setPackageDimensions(ItemAttributes.PackageDimensions value) {
this.packageDimensions = value;
}
/**
* Gets the value of the packageQuantity property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getPackageQuantity() {
return packageQuantity;
}
/**
* Sets the value of the packageQuantity property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setPackageQuantity(BigInteger value) {
this.packageQuantity = value;
}
/**
* Gets the value of the partNumber property.
*
* @return possible object is {@link String }
*
*/
public String getPartNumber() {
return partNumber;
}
/**
* Sets the value of the partNumber property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setPartNumber(String value) {
this.partNumber = value;
}
/**
* Gets the value of the pictureFormat property.
*
* <p>
* 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
* <CODE>set</CODE> method for the pictureFormat property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getPictureFormat().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getPictureFormat() {
if (pictureFormat == null) {
pictureFormat = new ArrayList<String>();
}
return this.pictureFormat;
}
/**
* Gets the value of the platform property.
*
* <p>
* 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
* <CODE>set</CODE> method for the platform property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getPlatform().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getPlatform() {
if (platform == null) {
platform = new ArrayList<String>();
}
return this.platform;
}
/**
* Gets the value of the productGroup property.
*
* @return possible object is {@link String }
*
*/
public String getProductGroup() {
return productGroup;
}
/**
* Sets the value of the productGroup property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setProductGroup(String value) {
this.productGroup = value;
}
/**
* Gets the value of the productTypeName property.
*
* @return possible object is {@link String }
*
*/
public String getProductTypeName() {
return productTypeName;
}
/**
* Sets the value of the productTypeName property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setProductTypeName(String value) {
this.productTypeName = value;
}
/**
* Gets the value of the productTypeSubcategory property.
*
* @return possible object is {@link String }
*
*/
public String getProductTypeSubcategory() {
return productTypeSubcategory;
}
/**
* Sets the value of the productTypeSubcategory property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setProductTypeSubcategory(String value) {
this.productTypeSubcategory = value;
}
/**
* Gets the value of the publicationDate property.
*
* @return possible object is {@link String }
*
*/
public String getPublicationDate() {
return publicationDate;
}
/**
* Sets the value of the publicationDate property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setPublicationDate(String value) {
this.publicationDate = value;
}
/**
* Gets the value of the publisher property.
*
* @return possible object is {@link String }
*
*/
public String getPublisher() {
return publisher;
}
/**
* Sets the value of the publisher property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setPublisher(String value) {
this.publisher = value;
}
/**
* Gets the value of the regionCode property.
*
* @return possible object is {@link String }
*
*/
public String getRegionCode() {
return regionCode;
}
/**
* Sets the value of the regionCode property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setRegionCode(String value) {
this.regionCode = value;
}
/**
* Gets the value of the releaseDate property.
*
* @return possible object is {@link String }
*
*/
public String getReleaseDate() {
return releaseDate;
}
/**
* Sets the value of the releaseDate property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setReleaseDate(String value) {
this.releaseDate = value;
}
/**
* Gets the value of the runningTime property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getRunningTime() {
return runningTime;
}
/**
* Sets the value of the runningTime property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setRunningTime(DecimalWithUnits value) {
this.runningTime = value;
}
/**
* Gets the value of the seikodoProductCode property.
*
* @return possible object is {@link String }
*
*/
public String getSeikodoProductCode() {
return seikodoProductCode;
}
/**
* Sets the value of the seikodoProductCode property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSeikodoProductCode(String value) {
this.seikodoProductCode = value;
}
/**
* Gets the value of the size property.
*
* @return possible object is {@link String }
*
*/
public String getSize() {
return size;
}
/**
* Sets the value of the size property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSize(String value) {
this.size = value;
}
/**
* Gets the value of the sku property.
*
* @return possible object is {@link String }
*
*/
public String getSKU() {
return sku;
}
/**
* Sets the value of the sku property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSKU(String value) {
this.sku = value;
}
/**
* Gets the value of the studio property.
*
* @return possible object is {@link String }
*
*/
public String getStudio() {
return studio;
}
/**
* Sets the value of the studio property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setStudio(String value) {
this.studio = value;
}
/**
* Gets the value of the subscriptionLength property.
*
* @return possible object is {@link NonNegativeIntegerWithUnits }
*
*/
public NonNegativeIntegerWithUnits getSubscriptionLength() {
return subscriptionLength;
}
/**
* Sets the value of the subscriptionLength property.
*
* @param value
* allowed object is {@link NonNegativeIntegerWithUnits }
*
*/
public void setSubscriptionLength(NonNegativeIntegerWithUnits value) {
this.subscriptionLength = value;
}
/**
* Gets the value of the title property.
*
* @return possible object is {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the trackSequence property.
*
* @return possible object is {@link String }
*
*/
public String getTrackSequence() {
return trackSequence;
}
/**
* Sets the value of the trackSequence property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTrackSequence(String value) {
this.trackSequence = value;
}
/**
* Gets the value of the tradeInValue property.
*
* @return possible object is {@link Price }
*
*/
public Price getTradeInValue() {
return tradeInValue;
}
/**
* Sets the value of the tradeInValue property.
*
* @param value
* allowed object is {@link Price }
*
*/
public void setTradeInValue(Price value) {
this.tradeInValue = value;
}
/**
* Gets the value of the upc property.
*
* @return possible object is {@link String }
*
*/
public String getUPC() {
return upc;
}
/**
* Sets the value of the upc property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setUPC(String value) {
this.upc = value;
}
/**
* Gets the value of the upcList property.
*
* @return possible object is {@link ItemAttributes.UPCList }
*
*/
public ItemAttributes.UPCList getUPCList() {
return upcList;
}
/**
* Sets the value of the upcList property.
*
* @param value
* allowed object is {@link ItemAttributes.UPCList }
*
*/
public void setUPCList(ItemAttributes.UPCList value) {
this.upcList = value;
}
/**
* Gets the value of the warranty property.
*
* @return possible object is {@link String }
*
*/
public String getWarranty() {
return warranty;
}
/**
* Sets the value of the warranty property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setWarranty(String value) {
this.warranty = value;
}
/**
* Gets the value of the weeeTaxValue property.
*
* @return possible object is {@link Price }
*
*/
public Price getWEEETaxValue() {
return weeeTaxValue;
}
/**
* Sets the value of the weeeTaxValue property.
*
* @param value
* allowed object is {@link Price }
*
*/
public void setWEEETaxValue(Price value) {
this.weeeTaxValue = value;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="CatalogNumberListElement" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "catalogNumberListElement" })
public static class CatalogNumberList {
@XmlElement(name = "CatalogNumberListElement")
protected List<String> catalogNumberListElement;
/**
* Gets the value of the catalogNumberListElement property.
*
* <p>
* 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
* <CODE>set</CODE> method for the catalogNumberListElement property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getCatalogNumberListElement().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getCatalogNumberListElement() {
if (catalogNumberListElement == null) {
catalogNumberListElement = new ArrayList<String>();
}
return this.catalogNumberListElement;
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="Role" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "value" })
public static class Creator {
@XmlValue
protected String value;
@XmlAttribute(name = "Role", required = true)
protected String role;
/**
* Gets the value of the value property.
*
* @return possible object is {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the role property.
*
* @return possible object is {@link String }
*
*/
public String getRole() {
return role;
}
/**
* Sets the value of the role property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setRole(String value) {
this.role = value;
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="EANListElement" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "eanListElement" })
public static class EANList {
@XmlElement(name = "EANListElement")
protected List<String> eanListElement;
/**
* Gets the value of the eanListElement property.
*
* <p>
* 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
* <CODE>set</CODE> method for the eanListElement property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getEANListElement().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getEANListElement() {
if (eanListElement == null) {
eanListElement = new ArrayList<String>();
}
return this.eanListElement;
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Height" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="Length" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="Weight" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="Width" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "height", "length", "weight", "width" })
public static class ItemDimensions {
@XmlElement(name = "Height")
protected DecimalWithUnits height;
@XmlElement(name = "Length")
protected DecimalWithUnits length;
@XmlElement(name = "Weight")
protected DecimalWithUnits weight;
@XmlElement(name = "Width")
protected DecimalWithUnits width;
/**
* Gets the value of the height property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getHeight() {
return height;
}
/**
* Sets the value of the height property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setHeight(DecimalWithUnits value) {
this.height = value;
}
/**
* Gets the value of the length property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getLength() {
return length;
}
/**
* Sets the value of the length property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setLength(DecimalWithUnits value) {
this.length = value;
}
/**
* Gets the value of the weight property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getWeight() {
return weight;
}
/**
* Sets the value of the weight property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setWeight(DecimalWithUnits value) {
this.weight = value;
}
/**
* Gets the value of the width property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getWidth() {
return width;
}
/**
* Sets the value of the width property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setWidth(DecimalWithUnits value) {
this.width = value;
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Language" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AudioFormat" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "language" })
public static class Languages {
@XmlElement(name = "Language")
protected List<ItemAttributes.Languages.Language> language;
/**
* Gets the value of the language property.
*
* <p>
* 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
* <CODE>set</CODE> method for the language property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getLanguage().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ItemAttributes.Languages.Language }
*
*
*/
public List<ItemAttributes.Languages.Language> getLanguage() {
if (language == null) {
language = new ArrayList<ItemAttributes.Languages.Language>();
}
return this.language;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content
* contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AudioFormat" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "name", "type", "audioFormat" })
public static class Language {
@XmlElement(name = "Name", required = true)
protected String name;
@XmlElement(name = "Type")
protected String type;
@XmlElement(name = "AudioFormat")
protected String audioFormat;
/**
* Gets the value of the name property.
*
* @return possible object is {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the type property.
*
* @return possible object is {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
/**
* Gets the value of the audioFormat property.
*
* @return possible object is {@link String }
*
*/
public String getAudioFormat() {
return audioFormat;
}
/**
* Sets the value of the audioFormat property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAudioFormat(String value) {
this.audioFormat = value;
}
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Height" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="Length" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="Weight" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* <element name="Width" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}DecimalWithUnits" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "height", "length", "weight", "width" })
public static class PackageDimensions {
@XmlElement(name = "Height")
protected DecimalWithUnits height;
@XmlElement(name = "Length")
protected DecimalWithUnits length;
@XmlElement(name = "Weight")
protected DecimalWithUnits weight;
@XmlElement(name = "Width")
protected DecimalWithUnits width;
/**
* Gets the value of the height property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getHeight() {
return height;
}
/**
* Sets the value of the height property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setHeight(DecimalWithUnits value) {
this.height = value;
}
/**
* Gets the value of the length property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getLength() {
return length;
}
/**
* Sets the value of the length property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setLength(DecimalWithUnits value) {
this.length = value;
}
/**
* Gets the value of the weight property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getWeight() {
return weight;
}
/**
* Sets the value of the weight property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setWeight(DecimalWithUnits value) {
this.weight = value;
}
/**
* Gets the value of the width property.
*
* @return possible object is {@link DecimalWithUnits }
*
*/
public DecimalWithUnits getWidth() {
return width;
}
/**
* Sets the value of the width property.
*
* @param value
* allowed object is {@link DecimalWithUnits }
*
*/
public void setWidth(DecimalWithUnits value) {
this.width = value;
}
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="UPCListElement" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "upcListElement" })
public static class UPCList {
@XmlElement(name = "UPCListElement")
protected List<String> upcListElement;
/**
* Gets the value of the upcListElement property.
*
* <p>
* 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
* <CODE>set</CODE> method for the upcListElement property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getUPCListElement().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getUPCListElement() {
if (upcListElement == null) {
upcListElement = new ArrayList<String>();
}
return this.upcListElement;
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/ItemLink.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="URL" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "description", "url" })
@XmlRootElement(name = "ItemLink")
public class ItemLink {
@XmlElement(name = "Description")
protected String description;
@XmlElement(name = "URL")
protected String url;
/**
* Gets the value of the description property.
*
* @return possible object is {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the url property.
*
* @return possible object is {@link String }
*
*/
public String getURL() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setURL(String value) {
this.url = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/ItemLinks.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}ItemLink" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "itemLink" })
@XmlRootElement(name = "ItemLinks")
public class ItemLinks {
@XmlElement(name = "ItemLink")
protected List<ItemLink> itemLink;
/**
* Gets the value of the itemLink property.
*
* <p>
* 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
* <CODE>set</CODE> method for the itemLink property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getItemLink().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link ItemLink }
*
*
*/
public List<ItemLink> getItemLink() {
if (itemLink == null) {
itemLink = new ArrayList<ItemLink>();
}
return this.itemLink;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/ItemLookup.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="MarketplaceDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AWSAccessKeyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Validate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="XMLEscaping" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Shared" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}ItemLookupRequest" minOccurs="0"/>
* <element name="Request" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}ItemLookupRequest" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "marketplaceDomain", "awsAccessKeyId",
"associateTag", "validate", "xmlEscaping", "shared", "request" })
@XmlRootElement(name = "ItemLookup")
public class ItemLookup {
@XmlElement(name = "MarketplaceDomain")
protected String marketplaceDomain;
@XmlElement(name = "AWSAccessKeyId")
protected String awsAccessKeyId;
@XmlElement(name = "AssociateTag")
protected String associateTag;
@XmlElement(name = "Validate")
protected String validate;
@XmlElement(name = "XMLEscaping")
protected String xmlEscaping;
@XmlElement(name = "Shared")
protected ItemLookupRequest shared;
@XmlElement(name = "Request")
protected List<ItemLookupRequest> request;
/**
* Gets the value of the marketplaceDomain property.
*
* @return possible object is {@link String }
*
*/
public String getMarketplaceDomain() {
return marketplaceDomain;
}
/**
* Sets the value of the marketplaceDomain property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMarketplaceDomain(String value) {
this.marketplaceDomain = value;
}
/**
* Gets the value of the awsAccessKeyId property.
*
* @return possible object is {@link String }
*
*/
public String getAWSAccessKeyId() {
return awsAccessKeyId;
}
/**
* Sets the value of the awsAccessKeyId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAWSAccessKeyId(String value) {
this.awsAccessKeyId = value;
}
/**
* Gets the value of the associateTag property.
*
* @return possible object is {@link String }
*
*/
public String getAssociateTag() {
return associateTag;
}
/**
* Sets the value of the associateTag property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAssociateTag(String value) {
this.associateTag = value;
}
/**
* Gets the value of the validate property.
*
* @return possible object is {@link String }
*
*/
public String getValidate() {
return validate;
}
/**
* Sets the value of the validate property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValidate(String value) {
this.validate = value;
}
/**
* Gets the value of the xmlEscaping property.
*
* @return possible object is {@link String }
*
*/
public String getXMLEscaping() {
return xmlEscaping;
}
/**
* Sets the value of the xmlEscaping property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setXMLEscaping(String value) {
this.xmlEscaping = value;
}
/**
* Gets the value of the shared property.
*
* @return possible object is {@link ItemLookupRequest }
*
*/
public ItemLookupRequest getShared() {
return shared;
}
/**
* Sets the value of the shared property.
*
* @param value
* allowed object is {@link ItemLookupRequest }
*
*/
public void setShared(ItemLookupRequest value) {
this.shared = value;
}
/**
* Gets the value of the request property.
*
* <p>
* 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
* <CODE>set</CODE> method for the request property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getRequest().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ItemLookupRequest }
*
*
*/
public List<ItemLookupRequest> getRequest() {
if (request == null) {
request = new ArrayList<ItemLookupRequest>();
}
return this.request;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/ItemLookupRequest.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for ItemLookupRequest complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="ItemLookupRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Condition" minOccurs="0"/>
* <element name="IdType" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="ASIN"/>
* <enumeration value="UPC"/>
* <enumeration value="SKU"/>
* <enumeration value="EAN"/>
* <enumeration value="ISBN"/>
* </restriction>
* </simpleType>
* </element>
* <element name="MerchantId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ItemId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="SearchIndex" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="VariationPage" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}positiveIntegerOrAll" minOccurs="0"/>
* <element name="RelatedItemPage" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}positiveIntegerOrAll" minOccurs="0"/>
* <element name="RelationshipType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="IncludeReviewsSummary" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="TruncateReviewsAt" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ItemLookupRequest", propOrder = { "condition", "idType",
"merchantId", "itemId", "responseGroup", "searchIndex",
"variationPage", "relatedItemPage", "relationshipType",
"includeReviewsSummary", "truncateReviewsAt" })
public class ItemLookupRequest {
@XmlElement(name = "Condition")
protected String condition;
@XmlElement(name = "IdType")
protected String idType;
@XmlElement(name = "MerchantId")
protected String merchantId;
@XmlElement(name = "ItemId")
protected List<String> itemId;
@XmlElement(name = "ResponseGroup")
protected List<String> responseGroup;
@XmlElement(name = "SearchIndex")
protected String searchIndex;
@XmlElement(name = "VariationPage")
protected String variationPage;
@XmlElement(name = "RelatedItemPage")
protected String relatedItemPage;
@XmlElement(name = "RelationshipType")
protected List<String> relationshipType;
@XmlElement(name = "IncludeReviewsSummary")
protected String includeReviewsSummary;
@XmlElement(name = "TruncateReviewsAt")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger truncateReviewsAt;
/**
* Gets the value of the condition property.
*
* @return possible object is {@link String }
*
*/
public String getCondition() {
return condition;
}
/**
* Sets the value of the condition property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCondition(String value) {
this.condition = value;
}
/**
* Gets the value of the idType property.
*
* @return possible object is {@link String }
*
*/
public String getIdType() {
return idType;
}
/**
* Sets the value of the idType property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setIdType(String value) {
this.idType = value;
}
/**
* Gets the value of the merchantId property.
*
* @return possible object is {@link String }
*
*/
public String getMerchantId() {
return merchantId;
}
/**
* Sets the value of the merchantId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMerchantId(String value) {
this.merchantId = value;
}
/**
* Gets the value of the itemId property.
*
* <p>
* 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
* <CODE>set</CODE> method for the itemId property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getItemId().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getItemId() {
if (itemId == null) {
itemId = new ArrayList<String>();
}
return this.itemId;
}
/**
* Gets the value of the responseGroup property.
*
* <p>
* 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
* <CODE>set</CODE> method for the responseGroup property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getResponseGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getResponseGroup() {
if (responseGroup == null) {
responseGroup = new ArrayList<String>();
}
return this.responseGroup;
}
/**
* Gets the value of the searchIndex property.
*
* @return possible object is {@link String }
*
*/
public String getSearchIndex() {
return searchIndex;
}
/**
* Sets the value of the searchIndex property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSearchIndex(String value) {
this.searchIndex = value;
}
/**
* Gets the value of the variationPage property.
*
* @return possible object is {@link String }
*
*/
public String getVariationPage() {
return variationPage;
}
/**
* Sets the value of the variationPage property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setVariationPage(String value) {
this.variationPage = value;
}
/**
* Gets the value of the relatedItemPage property.
*
* @return possible object is {@link String }
*
*/
public String getRelatedItemPage() {
return relatedItemPage;
}
/**
* Sets the value of the relatedItemPage property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setRelatedItemPage(String value) {
this.relatedItemPage = value;
}
/**
* Gets the value of the relationshipType property.
*
* <p>
* 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
* <CODE>set</CODE> method for the relationshipType property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getRelationshipType().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getRelationshipType() {
if (relationshipType == null) {
relationshipType = new ArrayList<String>();
}
return this.relationshipType;
}
/**
* Gets the value of the includeReviewsSummary property.
*
* @return possible object is {@link String }
*
*/
public String getIncludeReviewsSummary() {
return includeReviewsSummary;
}
/**
* Sets the value of the includeReviewsSummary property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setIncludeReviewsSummary(String value) {
this.includeReviewsSummary = value;
}
/**
* Gets the value of the truncateReviewsAt property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getTruncateReviewsAt() {
return truncateReviewsAt;
}
/**
* Sets the value of the truncateReviewsAt property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setTruncateReviewsAt(BigInteger value) {
this.truncateReviewsAt = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/ItemLookupResponse.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}OperationRequest" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Items" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "operationRequest", "items" })
@XmlRootElement(name = "ItemLookupResponse")
public class ItemLookupResponse {
@XmlElement(name = "OperationRequest")
protected OperationRequest operationRequest;
@XmlElement(name = "Items")
protected List<Items> items;
/**
* Gets the value of the operationRequest property.
*
* @return possible object is {@link OperationRequest }
*
*/
public OperationRequest getOperationRequest() {
return operationRequest;
}
/**
* Sets the value of the operationRequest property.
*
* @param value
* allowed object is {@link OperationRequest }
*
*/
public void setOperationRequest(OperationRequest value) {
this.operationRequest = value;
}
/**
* Gets the value of the items property.
*
* <p>
* 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
* <CODE>set</CODE> method for the items property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getItems().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Items }
*
*
*/
public List<Items> getItems() {
if (items == null) {
items = new ArrayList<Items>();
}
return this.items;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/ItemSearch.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="MarketplaceDomain" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AWSAccessKeyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AssociateTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="XMLEscaping" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Validate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Shared" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}ItemSearchRequest" minOccurs="0"/>
* <element name="Request" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}ItemSearchRequest" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "marketplaceDomain", "awsAccessKeyId",
"associateTag", "xmlEscaping", "validate", "shared", "request" })
@XmlRootElement(name = "ItemSearch")
public class ItemSearch {
@XmlElement(name = "MarketplaceDomain")
protected String marketplaceDomain;
@XmlElement(name = "AWSAccessKeyId")
protected String awsAccessKeyId;
@XmlElement(name = "AssociateTag")
protected String associateTag;
@XmlElement(name = "XMLEscaping")
protected String xmlEscaping;
@XmlElement(name = "Validate")
protected String validate;
@XmlElement(name = "Shared")
protected ItemSearchRequest shared;
@XmlElement(name = "Request")
protected List<ItemSearchRequest> request;
/**
* Gets the value of the marketplaceDomain property.
*
* @return possible object is {@link String }
*
*/
public String getMarketplaceDomain() {
return marketplaceDomain;
}
/**
* Sets the value of the marketplaceDomain property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMarketplaceDomain(String value) {
this.marketplaceDomain = value;
}
/**
* Gets the value of the awsAccessKeyId property.
*
* @return possible object is {@link String }
*
*/
public String getAWSAccessKeyId() {
return awsAccessKeyId;
}
/**
* Sets the value of the awsAccessKeyId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAWSAccessKeyId(String value) {
this.awsAccessKeyId = value;
}
/**
* Gets the value of the associateTag property.
*
* @return possible object is {@link String }
*
*/
public String getAssociateTag() {
return associateTag;
}
/**
* Sets the value of the associateTag property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAssociateTag(String value) {
this.associateTag = value;
}
/**
* Gets the value of the xmlEscaping property.
*
* @return possible object is {@link String }
*
*/
public String getXMLEscaping() {
return xmlEscaping;
}
/**
* Sets the value of the xmlEscaping property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setXMLEscaping(String value) {
this.xmlEscaping = value;
}
/**
* Gets the value of the validate property.
*
* @return possible object is {@link String }
*
*/
public String getValidate() {
return validate;
}
/**
* Sets the value of the validate property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setValidate(String value) {
this.validate = value;
}
/**
* Gets the value of the shared property.
*
* @return possible object is {@link ItemSearchRequest }
*
*/
public ItemSearchRequest getShared() {
return shared;
}
/**
* Sets the value of the shared property.
*
* @param value
* allowed object is {@link ItemSearchRequest }
*
*/
public void setShared(ItemSearchRequest value) {
this.shared = value;
}
/**
* Gets the value of the request property.
*
* <p>
* 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
* <CODE>set</CODE> method for the request property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getRequest().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ItemSearchRequest }
*
*
*/
public List<ItemSearchRequest> getRequest() {
if (request == null) {
request = new ArrayList<ItemSearchRequest>();
}
return this.request;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/ItemSearchRequest.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for ItemSearchRequest complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="ItemSearchRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Actor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Artist" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Availability" minOccurs="0">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Available"/>
* </restriction>
* </simpleType>
* </element>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}AudienceRating" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Author" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Brand" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="BrowseNode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Composer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Condition" minOccurs="0"/>
* <element name="Conductor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Director" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ItemPage" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* <element name="Keywords" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Manufacturer" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="MaximumPrice" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="MerchantId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="MinimumPrice" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="MusicLabel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Orchestra" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Power" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Publisher" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="RelatedItemPage" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}positiveIntegerOrAll" minOccurs="0"/>
* <element name="RelationshipType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="SearchIndex" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Sort" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ReleaseDate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="IncludeReviewsSummary" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="TruncateReviewsAt" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ItemSearchRequest", propOrder = { "actor", "artist",
"availability", "audienceRating", "author", "brand", "browseNode",
"composer", "condition", "conductor", "director", "itemPage",
"keywords", "manufacturer", "maximumPrice", "merchantId",
"minimumPrice", "musicLabel", "orchestra", "power", "publisher",
"relatedItemPage", "relationshipType", "responseGroup", "searchIndex",
"sort", "title", "releaseDate", "includeReviewsSummary",
"truncateReviewsAt" })
public class ItemSearchRequest {
@XmlElement(name = "Actor")
protected String actor;
@XmlElement(name = "Artist")
protected String artist;
@XmlElement(name = "Availability")
protected String availability;
@XmlElement(name = "AudienceRating")
protected List<String> audienceRating;
@XmlElement(name = "Author")
protected String author;
@XmlElement(name = "Brand")
protected String brand;
@XmlElement(name = "BrowseNode")
protected String browseNode;
@XmlElement(name = "Composer")
protected String composer;
@XmlElement(name = "Condition")
protected String condition;
@XmlElement(name = "Conductor")
protected String conductor;
@XmlElement(name = "Director")
protected String director;
@XmlElement(name = "ItemPage")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger itemPage;
@XmlElement(name = "Keywords")
protected String keywords;
@XmlElement(name = "Manufacturer")
protected String manufacturer;
@XmlElement(name = "MaximumPrice")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger maximumPrice;
@XmlElement(name = "MerchantId")
protected String merchantId;
@XmlElement(name = "MinimumPrice")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger minimumPrice;
@XmlElement(name = "MusicLabel")
protected String musicLabel;
@XmlElement(name = "Orchestra")
protected String orchestra;
@XmlElement(name = "Power")
protected String power;
@XmlElement(name = "Publisher")
protected String publisher;
@XmlElement(name = "RelatedItemPage")
protected String relatedItemPage;
@XmlElement(name = "RelationshipType")
protected List<String> relationshipType;
@XmlElement(name = "ResponseGroup")
protected List<String> responseGroup;
@XmlElement(name = "SearchIndex")
protected String searchIndex;
@XmlElement(name = "Sort")
protected String sort;
@XmlElement(name = "Title")
protected String title;
@XmlElement(name = "ReleaseDate")
protected String releaseDate;
@XmlElement(name = "IncludeReviewsSummary")
protected String includeReviewsSummary;
@XmlElement(name = "TruncateReviewsAt")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger truncateReviewsAt;
/**
* Gets the value of the actor property.
*
* @return possible object is {@link String }
*
*/
public String getActor() {
return actor;
}
/**
* Sets the value of the actor property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setActor(String value) {
this.actor = value;
}
/**
* Gets the value of the artist property.
*
* @return possible object is {@link String }
*
*/
public String getArtist() {
return artist;
}
/**
* Sets the value of the artist property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setArtist(String value) {
this.artist = value;
}
/**
* Gets the value of the availability property.
*
* @return possible object is {@link String }
*
*/
public String getAvailability() {
return availability;
}
/**
* Sets the value of the availability property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAvailability(String value) {
this.availability = value;
}
/**
* Gets the value of the audienceRating property.
*
* <p>
* 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
* <CODE>set</CODE> method for the audienceRating property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getAudienceRating().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getAudienceRating() {
if (audienceRating == null) {
audienceRating = new ArrayList<String>();
}
return this.audienceRating;
}
/**
* Gets the value of the author property.
*
* @return possible object is {@link String }
*
*/
public String getAuthor() {
return author;
}
/**
* Sets the value of the author property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setAuthor(String value) {
this.author = value;
}
/**
* Gets the value of the brand property.
*
* @return possible object is {@link String }
*
*/
public String getBrand() {
return brand;
}
/**
* Sets the value of the brand property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setBrand(String value) {
this.brand = value;
}
/**
* Gets the value of the browseNode property.
*
* @return possible object is {@link String }
*
*/
public String getBrowseNode() {
return browseNode;
}
/**
* Sets the value of the browseNode property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setBrowseNode(String value) {
this.browseNode = value;
}
/**
* Gets the value of the composer property.
*
* @return possible object is {@link String }
*
*/
public String getComposer() {
return composer;
}
/**
* Sets the value of the composer property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setComposer(String value) {
this.composer = value;
}
/**
* Gets the value of the condition property.
*
* @return possible object is {@link String }
*
*/
public String getCondition() {
return condition;
}
/**
* Sets the value of the condition property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setCondition(String value) {
this.condition = value;
}
/**
* Gets the value of the conductor property.
*
* @return possible object is {@link String }
*
*/
public String getConductor() {
return conductor;
}
/**
* Sets the value of the conductor property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setConductor(String value) {
this.conductor = value;
}
/**
* Gets the value of the director property.
*
* @return possible object is {@link String }
*
*/
public String getDirector() {
return director;
}
/**
* Sets the value of the director property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setDirector(String value) {
this.director = value;
}
/**
* Gets the value of the itemPage property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getItemPage() {
return itemPage;
}
/**
* Sets the value of the itemPage property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setItemPage(BigInteger value) {
this.itemPage = value;
}
/**
* Gets the value of the keywords property.
*
* @return possible object is {@link String }
*
*/
public String getKeywords() {
return keywords;
}
/**
* Sets the value of the keywords property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setKeywords(String value) {
this.keywords = value;
}
/**
* Gets the value of the manufacturer property.
*
* @return possible object is {@link String }
*
*/
public String getManufacturer() {
return manufacturer;
}
/**
* Sets the value of the manufacturer property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setManufacturer(String value) {
this.manufacturer = value;
}
/**
* Gets the value of the maximumPrice property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getMaximumPrice() {
return maximumPrice;
}
/**
* Sets the value of the maximumPrice property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setMaximumPrice(BigInteger value) {
this.maximumPrice = value;
}
/**
* Gets the value of the merchantId property.
*
* @return possible object is {@link String }
*
*/
public String getMerchantId() {
return merchantId;
}
/**
* Sets the value of the merchantId property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMerchantId(String value) {
this.merchantId = value;
}
/**
* Gets the value of the minimumPrice property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getMinimumPrice() {
return minimumPrice;
}
/**
* Sets the value of the minimumPrice property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setMinimumPrice(BigInteger value) {
this.minimumPrice = value;
}
/**
* Gets the value of the musicLabel property.
*
* @return possible object is {@link String }
*
*/
public String getMusicLabel() {
return musicLabel;
}
/**
* Sets the value of the musicLabel property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMusicLabel(String value) {
this.musicLabel = value;
}
/**
* Gets the value of the orchestra property.
*
* @return possible object is {@link String }
*
*/
public String getOrchestra() {
return orchestra;
}
/**
* Sets the value of the orchestra property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setOrchestra(String value) {
this.orchestra = value;
}
/**
* Gets the value of the power property.
*
* @return possible object is {@link String }
*
*/
public String getPower() {
return power;
}
/**
* Sets the value of the power property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setPower(String value) {
this.power = value;
}
/**
* Gets the value of the publisher property.
*
* @return possible object is {@link String }
*
*/
public String getPublisher() {
return publisher;
}
/**
* Sets the value of the publisher property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setPublisher(String value) {
this.publisher = value;
}
/**
* Gets the value of the relatedItemPage property.
*
* @return possible object is {@link String }
*
*/
public String getRelatedItemPage() {
return relatedItemPage;
}
/**
* Sets the value of the relatedItemPage property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setRelatedItemPage(String value) {
this.relatedItemPage = value;
}
/**
* Gets the value of the relationshipType property.
*
* <p>
* 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
* <CODE>set</CODE> method for the relationshipType property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getRelationshipType().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getRelationshipType() {
if (relationshipType == null) {
relationshipType = new ArrayList<String>();
}
return this.relationshipType;
}
/**
* Gets the value of the responseGroup property.
*
* <p>
* 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
* <CODE>set</CODE> method for the responseGroup property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getResponseGroup().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link String }
*
*
*/
public List<String> getResponseGroup() {
if (responseGroup == null) {
responseGroup = new ArrayList<String>();
}
return this.responseGroup;
}
/**
* Gets the value of the searchIndex property.
*
* @return possible object is {@link String }
*
*/
public String getSearchIndex() {
return searchIndex;
}
/**
* Sets the value of the searchIndex property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSearchIndex(String value) {
this.searchIndex = value;
}
/**
* Gets the value of the sort property.
*
* @return possible object is {@link String }
*
*/
public String getSort() {
return sort;
}
/**
* Sets the value of the sort property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setSort(String value) {
this.sort = value;
}
/**
* Gets the value of the title property.
*
* @return possible object is {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the releaseDate property.
*
* @return possible object is {@link String }
*
*/
public String getReleaseDate() {
return releaseDate;
}
/**
* Sets the value of the releaseDate property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setReleaseDate(String value) {
this.releaseDate = value;
}
/**
* Gets the value of the includeReviewsSummary property.
*
* @return possible object is {@link String }
*
*/
public String getIncludeReviewsSummary() {
return includeReviewsSummary;
}
/**
* Sets the value of the includeReviewsSummary property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setIncludeReviewsSummary(String value) {
this.includeReviewsSummary = value;
}
/**
* Gets the value of the truncateReviewsAt property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getTruncateReviewsAt() {
return truncateReviewsAt;
}
/**
* Sets the value of the truncateReviewsAt property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setTruncateReviewsAt(BigInteger value) {
this.truncateReviewsAt = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/ItemSearchResponse.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}OperationRequest" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Items" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "operationRequest", "items" })
@XmlRootElement(name = "ItemSearchResponse")
public class ItemSearchResponse {
@XmlElement(name = "OperationRequest")
protected OperationRequest operationRequest;
@XmlElement(name = "Items")
protected List<Items> items;
/**
* Gets the value of the operationRequest property.
*
* @return possible object is {@link OperationRequest }
*
*/
public OperationRequest getOperationRequest() {
return operationRequest;
}
/**
* Sets the value of the operationRequest property.
*
* @param value
* allowed object is {@link OperationRequest }
*
*/
public void setOperationRequest(OperationRequest value) {
this.operationRequest = value;
}
/**
* Gets the value of the items property.
*
* <p>
* 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
* <CODE>set</CODE> method for the items property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getItems().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Items }
*
*
*/
public List<Items> getItems() {
if (items == null) {
items = new ArrayList<Items>();
}
return this.items;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/Items.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Request" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}CorrectedQuery" minOccurs="0"/>
* <element name="Qid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="EngineQuery" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="TotalResults" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="TotalPages" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="MoreSearchResultsUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}SearchResultsMap" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Item" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}SearchBinSets" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "request", "correctedQuery", "qid",
"engineQuery", "totalResults", "totalPages", "moreSearchResultsUrl",
"searchResultsMap", "item", "searchBinSets" })
@XmlRootElement(name = "Items")
public class Items {
@XmlElement(name = "Request")
protected Request request;
@XmlElement(name = "CorrectedQuery")
protected CorrectedQuery correctedQuery;
@XmlElement(name = "Qid")
protected String qid;
@XmlElement(name = "EngineQuery")
protected String engineQuery;
@XmlElement(name = "TotalResults")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger totalResults;
@XmlElement(name = "TotalPages")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger totalPages;
@XmlElement(name = "MoreSearchResultsUrl")
protected String moreSearchResultsUrl;
@XmlElement(name = "SearchResultsMap")
protected SearchResultsMap searchResultsMap;
@XmlElement(name = "Item")
protected List<Item> item;
@XmlElement(name = "SearchBinSets")
protected SearchBinSets searchBinSets;
/**
* Gets the value of the request property.
*
* @return possible object is {@link Request }
*
*/
public Request getRequest() {
return request;
}
/**
* Sets the value of the request property.
*
* @param value
* allowed object is {@link Request }
*
*/
public void setRequest(Request value) {
this.request = value;
}
/**
* Gets the value of the correctedQuery property.
*
* @return possible object is {@link CorrectedQuery }
*
*/
public CorrectedQuery getCorrectedQuery() {
return correctedQuery;
}
/**
* Sets the value of the correctedQuery property.
*
* @param value
* allowed object is {@link CorrectedQuery }
*
*/
public void setCorrectedQuery(CorrectedQuery value) {
this.correctedQuery = value;
}
/**
* Gets the value of the qid property.
*
* @return possible object is {@link String }
*
*/
public String getQid() {
return qid;
}
/**
* Sets the value of the qid property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setQid(String value) {
this.qid = value;
}
/**
* Gets the value of the engineQuery property.
*
* @return possible object is {@link String }
*
*/
public String getEngineQuery() {
return engineQuery;
}
/**
* Sets the value of the engineQuery property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setEngineQuery(String value) {
this.engineQuery = value;
}
/**
* Gets the value of the totalResults property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getTotalResults() {
return totalResults;
}
/**
* Sets the value of the totalResults property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setTotalResults(BigInteger value) {
this.totalResults = value;
}
/**
* Gets the value of the totalPages property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getTotalPages() {
return totalPages;
}
/**
* Sets the value of the totalPages property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setTotalPages(BigInteger value) {
this.totalPages = value;
}
/**
* Gets the value of the moreSearchResultsUrl property.
*
* @return possible object is {@link String }
*
*/
public String getMoreSearchResultsUrl() {
return moreSearchResultsUrl;
}
/**
* Sets the value of the moreSearchResultsUrl property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setMoreSearchResultsUrl(String value) {
this.moreSearchResultsUrl = value;
}
/**
* Gets the value of the searchResultsMap property.
*
* @return possible object is {@link SearchResultsMap }
*
*/
public SearchResultsMap getSearchResultsMap() {
return searchResultsMap;
}
/**
* Sets the value of the searchResultsMap property.
*
* @param value
* allowed object is {@link SearchResultsMap }
*
*/
public void setSearchResultsMap(SearchResultsMap value) {
this.searchResultsMap = value;
}
/**
* Gets the value of the item property.
*
* <p>
* 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
* <CODE>set</CODE> method for the item property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getItem().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Item }
*
*
*/
public List<Item> getItem() {
if (item == null) {
item = new ArrayList<Item>();
}
return this.item;
}
/**
* Gets the value of the searchBinSets property.
*
* @return possible object is {@link SearchBinSets }
*
*/
public SearchBinSets getSearchBinSets() {
return searchBinSets;
}
/**
* Sets the value of the searchBinSets property.
*
* @param value
* allowed object is {@link SearchBinSets }
*
*/
public void setSearchBinSets(SearchBinSets value) {
this.searchBinSets = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/LoyaltyPoints.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Points" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="TypicalRedemptionValue" type="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Price" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "points", "typicalRedemptionValue" })
@XmlRootElement(name = "LoyaltyPoints")
public class LoyaltyPoints {
@XmlElement(name = "Points")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger points;
@XmlElement(name = "TypicalRedemptionValue")
protected Price typicalRedemptionValue;
/**
* Gets the value of the points property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getPoints() {
return points;
}
/**
* Sets the value of the points property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setPoints(BigInteger value) {
this.points = value;
}
/**
* Gets the value of the typicalRedemptionValue property.
*
* @return possible object is {@link Price }
*
*/
public Price getTypicalRedemptionValue() {
return typicalRedemptionValue;
}
/**
* Sets the value of the typicalRedemptionValue property.
*
* @param value
* allowed object is {@link Price }
*
*/
public void setTypicalRedemptionValue(Price value) {
this.typicalRedemptionValue = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/Merchant.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "name" })
@XmlRootElement(name = "Merchant")
public class Merchant {
@XmlElement(name = "Name")
protected String name;
/**
* Gets the value of the name property.
*
* @return possible object is {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/NewReleases.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="NewRelease" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "newRelease" })
@XmlRootElement(name = "NewReleases")
public class NewReleases {
@XmlElement(name = "NewRelease", required = true)
protected List<NewReleases.NewRelease> newRelease;
/**
* Gets the value of the newRelease property.
*
* <p>
* 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
* <CODE>set</CODE> method for the newRelease property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getNewRelease().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link NewReleases.NewRelease }
*
*
*/
public List<NewReleases.NewRelease> getNewRelease() {
if (newRelease == null) {
newRelease = new ArrayList<NewReleases.NewRelease>();
}
return this.newRelease;
}
/**
* <p>
* Java class for anonymous complex type.
*
* <p>
* The following schema fragment specifies the expected content contained
* within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ASIN" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "asin", "title" })
public static class NewRelease {
@XmlElement(name = "ASIN")
protected String asin;
@XmlElement(name = "Title")
protected String title;
/**
* Gets the value of the asin property.
*
* @return possible object is {@link String }
*
*/
public String getASIN() {
return asin;
}
/**
* Sets the value of the asin property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setASIN(String value) {
this.asin = value;
}
/**
* Gets the value of the title property.
*
* @return possible object is {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
}
}
|
0 | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa | java-sources/am/ik/aws/aws-apa/0.9.5/am/ik/aws/apa/jaxws/NonNegativeIntegerWithUnits.java | /*
* Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package am.ik.aws.apa.jaxws;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* <p>
* Java class for NonNegativeIntegerWithUnits complex type.
*
* <p>
* The following schema fragment specifies the expected content contained within
* this class.
*
* <pre>
* <complexType name="NonNegativeIntegerWithUnits">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>nonNegativeInteger">
* <attribute name="Units" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </simpleContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NonNegativeIntegerWithUnits", propOrder = { "value" })
public class NonNegativeIntegerWithUnits {
@XmlValue
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger value;
@XmlAttribute(name = "Units", required = true)
protected String units;
/**
* Gets the value of the value property.
*
* @return possible object is {@link BigInteger }
*
*/
public BigInteger getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is {@link BigInteger }
*
*/
public void setValue(BigInteger value) {
this.value = value;
}
/**
* Gets the value of the units property.
*
* @return possible object is {@link String }
*
*/
public String getUnits() {
return units;
}
/**
* Sets the value of the units property.
*
* @param value
* allowed object is {@link String }
*
*/
public void setUnits(String value) {
this.units = value;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.