306 lines
14 KiB
Java
306 lines
14 KiB
Java
|
|
package com.sforce.soap.metadata;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* This is a generated class for the SObject Enterprise API.
|
||
|
|
* Do not edit this file, as your changes will be lost.
|
||
|
|
*/
|
||
|
|
public class ExtlClntAppApplePushConfig implements com.sforce.ws.bind.XMLizable {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Constructor
|
||
|
|
*/
|
||
|
|
public ExtlClntAppApplePushConfig() {}
|
||
|
|
|
||
|
|
/* Cache the typeInfo instead of declaring static fields throughout*/
|
||
|
|
private transient java.util.Map<String, com.sforce.ws.bind.TypeInfo> typeInfoCache = new java.util.HashMap<String, com.sforce.ws.bind.TypeInfo>();
|
||
|
|
private com.sforce.ws.bind.TypeInfo _lookupTypeInfo(String fieldName, String namespace, String name, String typeNS, String type, int minOcc, int maxOcc, boolean elementForm) {
|
||
|
|
com.sforce.ws.bind.TypeInfo typeInfo = typeInfoCache.get(fieldName);
|
||
|
|
if (typeInfo == null) {
|
||
|
|
typeInfo = new com.sforce.ws.bind.TypeInfo(namespace, name, typeNS, type, minOcc, maxOcc, elementForm);
|
||
|
|
typeInfoCache.put(fieldName, typeInfo);
|
||
|
|
}
|
||
|
|
return typeInfo;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : applicationBundle of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean applicationBundle__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String applicationBundle;
|
||
|
|
|
||
|
|
public java.lang.String getApplicationBundle() {
|
||
|
|
return applicationBundle;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setApplicationBundle(java.lang.String applicationBundle) {
|
||
|
|
this.applicationBundle = applicationBundle;
|
||
|
|
applicationBundle__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setApplicationBundle(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
__in.peekTag();
|
||
|
|
if (__typeMapper.isElement(__in, _lookupTypeInfo("applicationBundle", "http://soap.sforce.com/2006/04/metadata","applicationBundle","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setApplicationBundle(__typeMapper.readString(__in, _lookupTypeInfo("applicationBundle", "http://soap.sforce.com/2006/04/metadata","applicationBundle","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldApplicationBundle(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("applicationBundle", "http://soap.sforce.com/2006/04/metadata","applicationBundle","http://www.w3.org/2001/XMLSchema","string",0,1,true), applicationBundle, applicationBundle__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : certificate of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean certificate__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String certificate;
|
||
|
|
|
||
|
|
public java.lang.String getCertificate() {
|
||
|
|
return certificate;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCertificate(java.lang.String certificate) {
|
||
|
|
this.certificate = certificate;
|
||
|
|
certificate__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setCertificate(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
__in.peekTag();
|
||
|
|
if (__typeMapper.isElement(__in, _lookupTypeInfo("certificate", "http://soap.sforce.com/2006/04/metadata","certificate","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setCertificate(__typeMapper.readString(__in, _lookupTypeInfo("certificate", "http://soap.sforce.com/2006/04/metadata","certificate","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldCertificate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("certificate", "http://soap.sforce.com/2006/04/metadata","certificate","http://www.w3.org/2001/XMLSchema","string",0,1,true), certificate, certificate__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : environment of type {http://soap.sforce.com/2006/04/metadata}ApplePushEnvironmentType
|
||
|
|
* java type: com.sforce.soap.metadata.ApplePushEnvironmentType
|
||
|
|
*/
|
||
|
|
private boolean environment__is_set = false;
|
||
|
|
|
||
|
|
private com.sforce.soap.metadata.ApplePushEnvironmentType environment;
|
||
|
|
|
||
|
|
public com.sforce.soap.metadata.ApplePushEnvironmentType getEnvironment() {
|
||
|
|
return environment;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setEnvironment(com.sforce.soap.metadata.ApplePushEnvironmentType environment) {
|
||
|
|
this.environment = environment;
|
||
|
|
environment__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setEnvironment(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
__in.peekTag();
|
||
|
|
if (__typeMapper.verifyElement(__in, _lookupTypeInfo("environment", "http://soap.sforce.com/2006/04/metadata","environment","http://soap.sforce.com/2006/04/metadata","ApplePushEnvironmentType",1,1,true))) {
|
||
|
|
setEnvironment((com.sforce.soap.metadata.ApplePushEnvironmentType)__typeMapper.readObject(__in, _lookupTypeInfo("environment", "http://soap.sforce.com/2006/04/metadata","environment","http://soap.sforce.com/2006/04/metadata","ApplePushEnvironmentType",1,1,true), com.sforce.soap.metadata.ApplePushEnvironmentType.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldEnvironment(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("environment", "http://soap.sforce.com/2006/04/metadata","environment","http://soap.sforce.com/2006/04/metadata","ApplePushEnvironmentType",1,1,true), environment, environment__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : keyIdentifier of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean keyIdentifier__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String keyIdentifier;
|
||
|
|
|
||
|
|
public java.lang.String getKeyIdentifier() {
|
||
|
|
return keyIdentifier;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setKeyIdentifier(java.lang.String keyIdentifier) {
|
||
|
|
this.keyIdentifier = keyIdentifier;
|
||
|
|
keyIdentifier__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setKeyIdentifier(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
__in.peekTag();
|
||
|
|
if (__typeMapper.isElement(__in, _lookupTypeInfo("keyIdentifier", "http://soap.sforce.com/2006/04/metadata","keyIdentifier","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setKeyIdentifier(__typeMapper.readString(__in, _lookupTypeInfo("keyIdentifier", "http://soap.sforce.com/2006/04/metadata","keyIdentifier","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldKeyIdentifier(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("keyIdentifier", "http://soap.sforce.com/2006/04/metadata","keyIdentifier","http://www.w3.org/2001/XMLSchema","string",0,1,true), keyIdentifier, keyIdentifier__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : password of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean password__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String password;
|
||
|
|
|
||
|
|
public java.lang.String getPassword() {
|
||
|
|
return password;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setPassword(java.lang.String password) {
|
||
|
|
this.password = password;
|
||
|
|
password__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setPassword(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
__in.peekTag();
|
||
|
|
if (__typeMapper.isElement(__in, _lookupTypeInfo("password", "http://soap.sforce.com/2006/04/metadata","password","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setPassword(__typeMapper.readString(__in, _lookupTypeInfo("password", "http://soap.sforce.com/2006/04/metadata","password","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldPassword(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("password", "http://soap.sforce.com/2006/04/metadata","password","http://www.w3.org/2001/XMLSchema","string",0,1,true), password, password__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : signingKey of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean signingKey__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String signingKey;
|
||
|
|
|
||
|
|
public java.lang.String getSigningKey() {
|
||
|
|
return signingKey;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setSigningKey(java.lang.String signingKey) {
|
||
|
|
this.signingKey = signingKey;
|
||
|
|
signingKey__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setSigningKey(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
__in.peekTag();
|
||
|
|
if (__typeMapper.isElement(__in, _lookupTypeInfo("signingKey", "http://soap.sforce.com/2006/04/metadata","signingKey","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setSigningKey(__typeMapper.readString(__in, _lookupTypeInfo("signingKey", "http://soap.sforce.com/2006/04/metadata","signingKey","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldSigningKey(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("signingKey", "http://soap.sforce.com/2006/04/metadata","signingKey","http://www.w3.org/2001/XMLSchema","string",0,1,true), signingKey, signingKey__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* element : teamIdentifier of type {http://www.w3.org/2001/XMLSchema}string
|
||
|
|
* java type: java.lang.String
|
||
|
|
*/
|
||
|
|
private boolean teamIdentifier__is_set = false;
|
||
|
|
|
||
|
|
private java.lang.String teamIdentifier;
|
||
|
|
|
||
|
|
public java.lang.String getTeamIdentifier() {
|
||
|
|
return teamIdentifier;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTeamIdentifier(java.lang.String teamIdentifier) {
|
||
|
|
this.teamIdentifier = teamIdentifier;
|
||
|
|
teamIdentifier__is_set = true;
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void setTeamIdentifier(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
__in.peekTag();
|
||
|
|
if (__typeMapper.isElement(__in, _lookupTypeInfo("teamIdentifier", "http://soap.sforce.com/2006/04/metadata","teamIdentifier","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
||
|
|
setTeamIdentifier(__typeMapper.readString(__in, _lookupTypeInfo("teamIdentifier", "http://soap.sforce.com/2006/04/metadata","teamIdentifier","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFieldTeamIdentifier(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("teamIdentifier", "http://soap.sforce.com/2006/04/metadata","teamIdentifier","http://www.w3.org/2001/XMLSchema","string",0,1,true), teamIdentifier, teamIdentifier__is_set);
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
*/
|
||
|
|
@Override
|
||
|
|
public void write(javax.xml.namespace.QName __element,
|
||
|
|
com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper)
|
||
|
|
throws java.io.IOException {
|
||
|
|
__out.writeStartTag(__element.getNamespaceURI(), __element.getLocalPart());
|
||
|
|
writeFields(__out, __typeMapper);
|
||
|
|
__out.writeEndTag(__element.getNamespaceURI(), __element.getLocalPart());
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void writeFields(com.sforce.ws.parser.XmlOutputStream __out,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper)
|
||
|
|
throws java.io.IOException {
|
||
|
|
writeFields1(__out, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public void load(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
__typeMapper.consumeStartTag(__in);
|
||
|
|
loadFields(__in, __typeMapper);
|
||
|
|
__typeMapper.consumeEndTag(__in);
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void loadFields(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
loadFields1(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String toString() {
|
||
|
|
java.lang.StringBuilder sb = new java.lang.StringBuilder();
|
||
|
|
sb.append("[ExtlClntAppApplePushConfig ");
|
||
|
|
toString1(sb);
|
||
|
|
|
||
|
|
sb.append("]\n");
|
||
|
|
return sb.toString();
|
||
|
|
}
|
||
|
|
|
||
|
|
private void toStringHelper(StringBuilder sb, String name, Object value) {
|
||
|
|
sb.append(' ').append(name).append("='").append(com.sforce.ws.util.Verbose.toString(value)).append("'\n");
|
||
|
|
}
|
||
|
|
|
||
|
|
private void writeFields1(com.sforce.ws.parser.XmlOutputStream __out,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
||
|
|
writeFieldApplicationBundle(__out, __typeMapper);
|
||
|
|
writeFieldCertificate(__out, __typeMapper);
|
||
|
|
writeFieldEnvironment(__out, __typeMapper);
|
||
|
|
writeFieldKeyIdentifier(__out, __typeMapper);
|
||
|
|
writeFieldPassword(__out, __typeMapper);
|
||
|
|
writeFieldSigningKey(__out, __typeMapper);
|
||
|
|
writeFieldTeamIdentifier(__out, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void loadFields1(com.sforce.ws.parser.XmlInputStream __in,
|
||
|
|
com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException, com.sforce.ws.ConnectionException {
|
||
|
|
setApplicationBundle(__in, __typeMapper);
|
||
|
|
setCertificate(__in, __typeMapper);
|
||
|
|
setEnvironment(__in, __typeMapper);
|
||
|
|
setKeyIdentifier(__in, __typeMapper);
|
||
|
|
setPassword(__in, __typeMapper);
|
||
|
|
setSigningKey(__in, __typeMapper);
|
||
|
|
setTeamIdentifier(__in, __typeMapper);
|
||
|
|
}
|
||
|
|
|
||
|
|
private void toString1(StringBuilder sb) {
|
||
|
|
toStringHelper(sb, "applicationBundle", applicationBundle);
|
||
|
|
toStringHelper(sb, "certificate", certificate);
|
||
|
|
toStringHelper(sb, "environment", environment);
|
||
|
|
toStringHelper(sb, "keyIdentifier", keyIdentifier);
|
||
|
|
toStringHelper(sb, "password", password);
|
||
|
|
toStringHelper(sb, "signingKey", signingKey);
|
||
|
|
toStringHelper(sb, "teamIdentifier", teamIdentifier);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|