534 lines
27 KiB
Java
534 lines
27 KiB
Java
package com.sforce.soap.tooling.sobject;
|
|
|
|
/**
|
|
* This is a generated class for the SObject Enterprise API.
|
|
* Do not edit this file, as your changes will be lost.
|
|
*/
|
|
public class Certificate extends com.sforce.soap.tooling.sobject.SObject {
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public Certificate() {}
|
|
|
|
/* 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 : CertificateChain of type {http://www.w3.org/2001/XMLSchema}base64Binary
|
|
* java type: byte[]
|
|
*/
|
|
private boolean CertificateChain__is_set = false;
|
|
|
|
private byte[] CertificateChain;
|
|
|
|
public byte[] getCertificateChain() {
|
|
return CertificateChain;
|
|
}
|
|
|
|
public void setCertificateChain(byte[] CertificateChain) {
|
|
this.CertificateChain = CertificateChain;
|
|
CertificateChain__is_set = true;
|
|
}
|
|
|
|
protected void setCertificateChain(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("CertificateChain", "urn:sobject.tooling.soap.sforce.com","CertificateChain","http://www.w3.org/2001/XMLSchema","base64Binary",0,1,true))) {
|
|
setCertificateChain((byte[])__typeMapper.readObject(__in, _lookupTypeInfo("CertificateChain", "urn:sobject.tooling.soap.sforce.com","CertificateChain","http://www.w3.org/2001/XMLSchema","base64Binary",0,1,true), byte[].class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldCertificateChain(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("CertificateChain", "urn:sobject.tooling.soap.sforce.com","CertificateChain","http://www.w3.org/2001/XMLSchema","base64Binary",0,1,true), CertificateChain, CertificateChain__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : CreatedDate of type {http://www.w3.org/2001/XMLSchema}dateTime
|
|
* java type: java.util.Calendar
|
|
*/
|
|
private boolean CreatedDate__is_set = false;
|
|
|
|
private java.util.Calendar CreatedDate;
|
|
|
|
public java.util.Calendar getCreatedDate() {
|
|
return CreatedDate;
|
|
}
|
|
|
|
public void setCreatedDate(java.util.Calendar CreatedDate) {
|
|
this.CreatedDate = CreatedDate;
|
|
CreatedDate__is_set = true;
|
|
}
|
|
|
|
protected void setCreatedDate(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("CreatedDate", "urn:sobject.tooling.soap.sforce.com","CreatedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true))) {
|
|
setCreatedDate((java.util.Calendar)__typeMapper.readObject(__in, _lookupTypeInfo("CreatedDate", "urn:sobject.tooling.soap.sforce.com","CreatedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), java.util.Calendar.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldCreatedDate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("CreatedDate", "urn:sobject.tooling.soap.sforce.com","CreatedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), CreatedDate, CreatedDate__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : DeveloperName of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean DeveloperName__is_set = false;
|
|
|
|
private java.lang.String DeveloperName;
|
|
|
|
public java.lang.String getDeveloperName() {
|
|
return DeveloperName;
|
|
}
|
|
|
|
public void setDeveloperName(java.lang.String DeveloperName) {
|
|
this.DeveloperName = DeveloperName;
|
|
DeveloperName__is_set = true;
|
|
}
|
|
|
|
protected void setDeveloperName(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("DeveloperName", "urn:sobject.tooling.soap.sforce.com","DeveloperName","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setDeveloperName(__typeMapper.readString(__in, _lookupTypeInfo("DeveloperName", "urn:sobject.tooling.soap.sforce.com","DeveloperName","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldDeveloperName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("DeveloperName", "urn:sobject.tooling.soap.sforce.com","DeveloperName","http://www.w3.org/2001/XMLSchema","string",0,1,true), DeveloperName, DeveloperName__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : ExpirationDate of type {http://www.w3.org/2001/XMLSchema}dateTime
|
|
* java type: java.util.Calendar
|
|
*/
|
|
private boolean ExpirationDate__is_set = false;
|
|
|
|
private java.util.Calendar ExpirationDate;
|
|
|
|
public java.util.Calendar getExpirationDate() {
|
|
return ExpirationDate;
|
|
}
|
|
|
|
public void setExpirationDate(java.util.Calendar ExpirationDate) {
|
|
this.ExpirationDate = ExpirationDate;
|
|
ExpirationDate__is_set = true;
|
|
}
|
|
|
|
protected void setExpirationDate(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("ExpirationDate", "urn:sobject.tooling.soap.sforce.com","ExpirationDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true))) {
|
|
setExpirationDate((java.util.Calendar)__typeMapper.readObject(__in, _lookupTypeInfo("ExpirationDate", "urn:sobject.tooling.soap.sforce.com","ExpirationDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), java.util.Calendar.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldExpirationDate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("ExpirationDate", "urn:sobject.tooling.soap.sforce.com","ExpirationDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), ExpirationDate, ExpirationDate__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : KeySize of type {http://www.w3.org/2001/XMLSchema}int
|
|
* java type: java.lang.Integer
|
|
*/
|
|
private boolean KeySize__is_set = false;
|
|
|
|
private java.lang.Integer KeySize;
|
|
|
|
public java.lang.Integer getKeySize() {
|
|
return KeySize;
|
|
}
|
|
|
|
public void setKeySize(java.lang.Integer KeySize) {
|
|
this.KeySize = KeySize;
|
|
KeySize__is_set = true;
|
|
}
|
|
|
|
protected void setKeySize(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("KeySize", "urn:sobject.tooling.soap.sforce.com","KeySize","http://www.w3.org/2001/XMLSchema","int",0,1,true))) {
|
|
setKeySize((java.lang.Integer)__typeMapper.readObject(__in, _lookupTypeInfo("KeySize", "urn:sobject.tooling.soap.sforce.com","KeySize","http://www.w3.org/2001/XMLSchema","int",0,1,true), java.lang.Integer.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldKeySize(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("KeySize", "urn:sobject.tooling.soap.sforce.com","KeySize","http://www.w3.org/2001/XMLSchema","int",0,1,true), KeySize, KeySize__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : MasterLabel of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean MasterLabel__is_set = false;
|
|
|
|
private java.lang.String MasterLabel;
|
|
|
|
public java.lang.String getMasterLabel() {
|
|
return MasterLabel;
|
|
}
|
|
|
|
public void setMasterLabel(java.lang.String MasterLabel) {
|
|
this.MasterLabel = MasterLabel;
|
|
MasterLabel__is_set = true;
|
|
}
|
|
|
|
protected void setMasterLabel(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("MasterLabel", "urn:sobject.tooling.soap.sforce.com","MasterLabel","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setMasterLabel(__typeMapper.readString(__in, _lookupTypeInfo("MasterLabel", "urn:sobject.tooling.soap.sforce.com","MasterLabel","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldMasterLabel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("MasterLabel", "urn:sobject.tooling.soap.sforce.com","MasterLabel","http://www.w3.org/2001/XMLSchema","string",0,1,true), MasterLabel, MasterLabel__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : OptionsIsCaSigned of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: java.lang.Boolean
|
|
*/
|
|
private boolean OptionsIsCaSigned__is_set = false;
|
|
|
|
private java.lang.Boolean OptionsIsCaSigned;
|
|
|
|
public java.lang.Boolean getOptionsIsCaSigned() {
|
|
return OptionsIsCaSigned;
|
|
}
|
|
|
|
public void setOptionsIsCaSigned(java.lang.Boolean OptionsIsCaSigned) {
|
|
this.OptionsIsCaSigned = OptionsIsCaSigned;
|
|
OptionsIsCaSigned__is_set = true;
|
|
}
|
|
|
|
protected void setOptionsIsCaSigned(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("OptionsIsCaSigned", "urn:sobject.tooling.soap.sforce.com","OptionsIsCaSigned","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setOptionsIsCaSigned((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("OptionsIsCaSigned", "urn:sobject.tooling.soap.sforce.com","OptionsIsCaSigned","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldOptionsIsCaSigned(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("OptionsIsCaSigned", "urn:sobject.tooling.soap.sforce.com","OptionsIsCaSigned","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), OptionsIsCaSigned, OptionsIsCaSigned__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : OptionsIsEncryptedWithPE of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: java.lang.Boolean
|
|
*/
|
|
private boolean OptionsIsEncryptedWithPE__is_set = false;
|
|
|
|
private java.lang.Boolean OptionsIsEncryptedWithPE;
|
|
|
|
public java.lang.Boolean getOptionsIsEncryptedWithPE() {
|
|
return OptionsIsEncryptedWithPE;
|
|
}
|
|
|
|
public void setOptionsIsEncryptedWithPE(java.lang.Boolean OptionsIsEncryptedWithPE) {
|
|
this.OptionsIsEncryptedWithPE = OptionsIsEncryptedWithPE;
|
|
OptionsIsEncryptedWithPE__is_set = true;
|
|
}
|
|
|
|
protected void setOptionsIsEncryptedWithPE(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("OptionsIsEncryptedWithPE", "urn:sobject.tooling.soap.sforce.com","OptionsIsEncryptedWithPE","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setOptionsIsEncryptedWithPE((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("OptionsIsEncryptedWithPE", "urn:sobject.tooling.soap.sforce.com","OptionsIsEncryptedWithPE","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldOptionsIsEncryptedWithPE(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("OptionsIsEncryptedWithPE", "urn:sobject.tooling.soap.sforce.com","OptionsIsEncryptedWithPE","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), OptionsIsEncryptedWithPE, OptionsIsEncryptedWithPE__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : OptionsIsKeyExportTle of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: java.lang.Boolean
|
|
*/
|
|
private boolean OptionsIsKeyExportTle__is_set = false;
|
|
|
|
private java.lang.Boolean OptionsIsKeyExportTle;
|
|
|
|
public java.lang.Boolean getOptionsIsKeyExportTle() {
|
|
return OptionsIsKeyExportTle;
|
|
}
|
|
|
|
public void setOptionsIsKeyExportTle(java.lang.Boolean OptionsIsKeyExportTle) {
|
|
this.OptionsIsKeyExportTle = OptionsIsKeyExportTle;
|
|
OptionsIsKeyExportTle__is_set = true;
|
|
}
|
|
|
|
protected void setOptionsIsKeyExportTle(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("OptionsIsKeyExportTle", "urn:sobject.tooling.soap.sforce.com","OptionsIsKeyExportTle","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setOptionsIsKeyExportTle((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("OptionsIsKeyExportTle", "urn:sobject.tooling.soap.sforce.com","OptionsIsKeyExportTle","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldOptionsIsKeyExportTle(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("OptionsIsKeyExportTle", "urn:sobject.tooling.soap.sforce.com","OptionsIsKeyExportTle","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), OptionsIsKeyExportTle, OptionsIsKeyExportTle__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : OptionsIsNewEncr of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: java.lang.Boolean
|
|
*/
|
|
private boolean OptionsIsNewEncr__is_set = false;
|
|
|
|
private java.lang.Boolean OptionsIsNewEncr;
|
|
|
|
public java.lang.Boolean getOptionsIsNewEncr() {
|
|
return OptionsIsNewEncr;
|
|
}
|
|
|
|
public void setOptionsIsNewEncr(java.lang.Boolean OptionsIsNewEncr) {
|
|
this.OptionsIsNewEncr = OptionsIsNewEncr;
|
|
OptionsIsNewEncr__is_set = true;
|
|
}
|
|
|
|
protected void setOptionsIsNewEncr(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("OptionsIsNewEncr", "urn:sobject.tooling.soap.sforce.com","OptionsIsNewEncr","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setOptionsIsNewEncr((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("OptionsIsNewEncr", "urn:sobject.tooling.soap.sforce.com","OptionsIsNewEncr","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldOptionsIsNewEncr(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("OptionsIsNewEncr", "urn:sobject.tooling.soap.sforce.com","OptionsIsNewEncr","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), OptionsIsNewEncr, OptionsIsNewEncr__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : OptionsIsPrivateKeyExportable of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: java.lang.Boolean
|
|
*/
|
|
private boolean OptionsIsPrivateKeyExportable__is_set = false;
|
|
|
|
private java.lang.Boolean OptionsIsPrivateKeyExportable;
|
|
|
|
public java.lang.Boolean getOptionsIsPrivateKeyExportable() {
|
|
return OptionsIsPrivateKeyExportable;
|
|
}
|
|
|
|
public void setOptionsIsPrivateKeyExportable(java.lang.Boolean OptionsIsPrivateKeyExportable) {
|
|
this.OptionsIsPrivateKeyExportable = OptionsIsPrivateKeyExportable;
|
|
OptionsIsPrivateKeyExportable__is_set = true;
|
|
}
|
|
|
|
protected void setOptionsIsPrivateKeyExportable(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("OptionsIsPrivateKeyExportable", "urn:sobject.tooling.soap.sforce.com","OptionsIsPrivateKeyExportable","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setOptionsIsPrivateKeyExportable((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("OptionsIsPrivateKeyExportable", "urn:sobject.tooling.soap.sforce.com","OptionsIsPrivateKeyExportable","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldOptionsIsPrivateKeyExportable(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("OptionsIsPrivateKeyExportable", "urn:sobject.tooling.soap.sforce.com","OptionsIsPrivateKeyExportable","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), OptionsIsPrivateKeyExportable, OptionsIsPrivateKeyExportable__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : OptionsIsSystemManaged of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: java.lang.Boolean
|
|
*/
|
|
private boolean OptionsIsSystemManaged__is_set = false;
|
|
|
|
private java.lang.Boolean OptionsIsSystemManaged;
|
|
|
|
public java.lang.Boolean getOptionsIsSystemManaged() {
|
|
return OptionsIsSystemManaged;
|
|
}
|
|
|
|
public void setOptionsIsSystemManaged(java.lang.Boolean OptionsIsSystemManaged) {
|
|
this.OptionsIsSystemManaged = OptionsIsSystemManaged;
|
|
OptionsIsSystemManaged__is_set = true;
|
|
}
|
|
|
|
protected void setOptionsIsSystemManaged(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("OptionsIsSystemManaged", "urn:sobject.tooling.soap.sforce.com","OptionsIsSystemManaged","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setOptionsIsSystemManaged((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("OptionsIsSystemManaged", "urn:sobject.tooling.soap.sforce.com","OptionsIsSystemManaged","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldOptionsIsSystemManaged(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("OptionsIsSystemManaged", "urn:sobject.tooling.soap.sforce.com","OptionsIsSystemManaged","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), OptionsIsSystemManaged, OptionsIsSystemManaged__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : OptionsIsUnusable of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: java.lang.Boolean
|
|
*/
|
|
private boolean OptionsIsUnusable__is_set = false;
|
|
|
|
private java.lang.Boolean OptionsIsUnusable;
|
|
|
|
public java.lang.Boolean getOptionsIsUnusable() {
|
|
return OptionsIsUnusable;
|
|
}
|
|
|
|
public void setOptionsIsUnusable(java.lang.Boolean OptionsIsUnusable) {
|
|
this.OptionsIsUnusable = OptionsIsUnusable;
|
|
OptionsIsUnusable__is_set = true;
|
|
}
|
|
|
|
protected void setOptionsIsUnusable(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("OptionsIsUnusable", "urn:sobject.tooling.soap.sforce.com","OptionsIsUnusable","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setOptionsIsUnusable((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("OptionsIsUnusable", "urn:sobject.tooling.soap.sforce.com","OptionsIsUnusable","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldOptionsIsUnusable(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("OptionsIsUnusable", "urn:sobject.tooling.soap.sforce.com","OptionsIsUnusable","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), OptionsIsUnusable, OptionsIsUnusable__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : OptionsIsUsingKMS of type {http://www.w3.org/2001/XMLSchema}boolean
|
|
* java type: java.lang.Boolean
|
|
*/
|
|
private boolean OptionsIsUsingKMS__is_set = false;
|
|
|
|
private java.lang.Boolean OptionsIsUsingKMS;
|
|
|
|
public java.lang.Boolean getOptionsIsUsingKMS() {
|
|
return OptionsIsUsingKMS;
|
|
}
|
|
|
|
public void setOptionsIsUsingKMS(java.lang.Boolean OptionsIsUsingKMS) {
|
|
this.OptionsIsUsingKMS = OptionsIsUsingKMS;
|
|
OptionsIsUsingKMS__is_set = true;
|
|
}
|
|
|
|
protected void setOptionsIsUsingKMS(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("OptionsIsUsingKMS", "urn:sobject.tooling.soap.sforce.com","OptionsIsUsingKMS","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
|
|
setOptionsIsUsingKMS((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("OptionsIsUsingKMS", "urn:sobject.tooling.soap.sforce.com","OptionsIsUsingKMS","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldOptionsIsUsingKMS(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("OptionsIsUsingKMS", "urn:sobject.tooling.soap.sforce.com","OptionsIsUsingKMS","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), OptionsIsUsingKMS, OptionsIsUsingKMS__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());
|
|
__typeMapper.writeXsiType(__out, "urn:sobject.tooling.soap.sforce.com", "Certificate");
|
|
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 {
|
|
super.writeFields(__out, __typeMapper);
|
|
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 {
|
|
super.loadFields(__in, __typeMapper);
|
|
loadFields1(__in, __typeMapper);
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
java.lang.StringBuilder sb = new java.lang.StringBuilder();
|
|
sb.append("[Certificate ");
|
|
sb.append(super.toString());
|
|
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 {
|
|
writeFieldCertificateChain(__out, __typeMapper);
|
|
writeFieldCreatedDate(__out, __typeMapper);
|
|
writeFieldDeveloperName(__out, __typeMapper);
|
|
writeFieldExpirationDate(__out, __typeMapper);
|
|
writeFieldKeySize(__out, __typeMapper);
|
|
writeFieldMasterLabel(__out, __typeMapper);
|
|
writeFieldOptionsIsCaSigned(__out, __typeMapper);
|
|
writeFieldOptionsIsEncryptedWithPE(__out, __typeMapper);
|
|
writeFieldOptionsIsKeyExportTle(__out, __typeMapper);
|
|
writeFieldOptionsIsNewEncr(__out, __typeMapper);
|
|
writeFieldOptionsIsPrivateKeyExportable(__out, __typeMapper);
|
|
writeFieldOptionsIsSystemManaged(__out, __typeMapper);
|
|
writeFieldOptionsIsUnusable(__out, __typeMapper);
|
|
writeFieldOptionsIsUsingKMS(__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 {
|
|
setCertificateChain(__in, __typeMapper);
|
|
setCreatedDate(__in, __typeMapper);
|
|
setDeveloperName(__in, __typeMapper);
|
|
setExpirationDate(__in, __typeMapper);
|
|
setKeySize(__in, __typeMapper);
|
|
setMasterLabel(__in, __typeMapper);
|
|
setOptionsIsCaSigned(__in, __typeMapper);
|
|
setOptionsIsEncryptedWithPE(__in, __typeMapper);
|
|
setOptionsIsKeyExportTle(__in, __typeMapper);
|
|
setOptionsIsNewEncr(__in, __typeMapper);
|
|
setOptionsIsPrivateKeyExportable(__in, __typeMapper);
|
|
setOptionsIsSystemManaged(__in, __typeMapper);
|
|
setOptionsIsUnusable(__in, __typeMapper);
|
|
setOptionsIsUsingKMS(__in, __typeMapper);
|
|
}
|
|
|
|
private void toString1(StringBuilder sb) {
|
|
toStringHelper(sb, "CertificateChain", CertificateChain);
|
|
toStringHelper(sb, "CreatedDate", CreatedDate);
|
|
toStringHelper(sb, "DeveloperName", DeveloperName);
|
|
toStringHelper(sb, "ExpirationDate", ExpirationDate);
|
|
toStringHelper(sb, "KeySize", KeySize);
|
|
toStringHelper(sb, "MasterLabel", MasterLabel);
|
|
toStringHelper(sb, "OptionsIsCaSigned", OptionsIsCaSigned);
|
|
toStringHelper(sb, "OptionsIsEncryptedWithPE", OptionsIsEncryptedWithPE);
|
|
toStringHelper(sb, "OptionsIsKeyExportTle", OptionsIsKeyExportTle);
|
|
toStringHelper(sb, "OptionsIsNewEncr", OptionsIsNewEncr);
|
|
toStringHelper(sb, "OptionsIsPrivateKeyExportable", OptionsIsPrivateKeyExportable);
|
|
toStringHelper(sb, "OptionsIsSystemManaged", OptionsIsSystemManaged);
|
|
toStringHelper(sb, "OptionsIsUnusable", OptionsIsUnusable);
|
|
toStringHelper(sb, "OptionsIsUsingKMS", OptionsIsUsingKMS);
|
|
}
|
|
|
|
|
|
}
|