com.sforce.soap.metadata.MobSecurityCertPinConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of force-metadata-api Show documentation
Show all versions of force-metadata-api Show documentation
Force.com Web Service Connector
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 MobSecurityCertPinConfig extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public MobSecurityCertPinConfig() {}
/* Cache the typeInfo instead of declaring static fields throughout*/
private transient java.util.Map typeInfoCache = new java.util.HashMap();
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 : certificateHash of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean certificateHash__is_set = false;
private java.lang.String certificateHash;
public java.lang.String getCertificateHash() {
return certificateHash;
}
public void setCertificateHash(java.lang.String certificateHash) {
this.certificateHash = certificateHash;
certificateHash__is_set = true;
}
protected void setCertificateHash(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("certificateHash", "http://soap.sforce.com/2006/04/metadata","certificateHash","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
setCertificateHash(__typeMapper.readString(__in, _lookupTypeInfo("certificateHash", "http://soap.sforce.com/2006/04/metadata","certificateHash","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
}
}
private void writeFieldCertificateHash(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("certificateHash", "http://soap.sforce.com/2006/04/metadata","certificateHash","http://www.w3.org/2001/XMLSchema","string",1,1,true), certificateHash, certificateHash__is_set);
}
/**
* element : domainName of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean domainName__is_set = false;
private java.lang.String domainName;
public java.lang.String getDomainName() {
return domainName;
}
public void setDomainName(java.lang.String domainName) {
this.domainName = domainName;
domainName__is_set = true;
}
protected void setDomainName(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("domainName", "http://soap.sforce.com/2006/04/metadata","domainName","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
setDomainName(__typeMapper.readString(__in, _lookupTypeInfo("domainName", "http://soap.sforce.com/2006/04/metadata","domainName","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
}
}
private void writeFieldDomainName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("domainName", "http://soap.sforce.com/2006/04/metadata","domainName","http://www.w3.org/2001/XMLSchema","string",1,1,true), domainName, domainName__is_set);
}
/**
* element : isEnabled of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean isEnabled__is_set = false;
private boolean isEnabled;
public boolean getIsEnabled() {
return isEnabled;
}
public boolean isIsEnabled() {
return isEnabled;
}
public void setIsEnabled(boolean isEnabled) {
this.isEnabled = isEnabled;
isEnabled__is_set = true;
}
protected void setIsEnabled(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("isEnabled", "http://soap.sforce.com/2006/04/metadata","isEnabled","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
setIsEnabled(__typeMapper.readBoolean(__in, _lookupTypeInfo("isEnabled", "http://soap.sforce.com/2006/04/metadata","isEnabled","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
}
}
private void writeFieldIsEnabled(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("isEnabled", "http://soap.sforce.com/2006/04/metadata","isEnabled","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), isEnabled, isEnabled__is_set);
}
/**
* element : isProtected of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean isProtected__is_set = false;
private boolean isProtected;
public boolean getIsProtected() {
return isProtected;
}
public boolean isIsProtected() {
return isProtected;
}
public void setIsProtected(boolean isProtected) {
this.isProtected = isProtected;
isProtected__is_set = true;
}
protected void setIsProtected(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("isProtected", "http://soap.sforce.com/2006/04/metadata","isProtected","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setIsProtected(__typeMapper.readBoolean(__in, _lookupTypeInfo("isProtected", "http://soap.sforce.com/2006/04/metadata","isProtected","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldIsProtected(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("isProtected", "http://soap.sforce.com/2006/04/metadata","isProtected","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), isProtected, isProtected__is_set);
}
/**
* element : isSubdomainIncluded of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean isSubdomainIncluded__is_set = false;
private boolean isSubdomainIncluded;
public boolean getIsSubdomainIncluded() {
return isSubdomainIncluded;
}
public boolean isIsSubdomainIncluded() {
return isSubdomainIncluded;
}
public void setIsSubdomainIncluded(boolean isSubdomainIncluded) {
this.isSubdomainIncluded = isSubdomainIncluded;
isSubdomainIncluded__is_set = true;
}
protected void setIsSubdomainIncluded(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("isSubdomainIncluded", "http://soap.sforce.com/2006/04/metadata","isSubdomainIncluded","http://www.w3.org/2001/XMLSchema","boolean",1,1,true))) {
setIsSubdomainIncluded(__typeMapper.readBoolean(__in, _lookupTypeInfo("isSubdomainIncluded", "http://soap.sforce.com/2006/04/metadata","isSubdomainIncluded","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), boolean.class));
}
}
private void writeFieldIsSubdomainIncluded(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("isSubdomainIncluded", "http://soap.sforce.com/2006/04/metadata","isSubdomainIncluded","http://www.w3.org/2001/XMLSchema","boolean",1,1,true), isSubdomainIncluded, isSubdomainIncluded__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.verifyElement(__in, _lookupTypeInfo("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
setMasterLabel(__typeMapper.readString(__in, _lookupTypeInfo("masterLabel", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,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", "http://soap.sforce.com/2006/04/metadata","masterLabel","http://www.w3.org/2001/XMLSchema","string",1,1,true), masterLabel, masterLabel__is_set);
}
/**
* element : mobilePlatform of type {http://soap.sforce.com/2006/04/metadata}MobileSecurityMobilePlatform
* java type: com.sforce.soap.metadata.MobileSecurityMobilePlatform
*/
private boolean mobilePlatform__is_set = false;
private com.sforce.soap.metadata.MobileSecurityMobilePlatform mobilePlatform;
public com.sforce.soap.metadata.MobileSecurityMobilePlatform getMobilePlatform() {
return mobilePlatform;
}
public void setMobilePlatform(com.sforce.soap.metadata.MobileSecurityMobilePlatform mobilePlatform) {
this.mobilePlatform = mobilePlatform;
mobilePlatform__is_set = true;
}
protected void setMobilePlatform(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("mobilePlatform", "http://soap.sforce.com/2006/04/metadata","mobilePlatform","http://soap.sforce.com/2006/04/metadata","MobileSecurityMobilePlatform",0,1,true))) {
setMobilePlatform((com.sforce.soap.metadata.MobileSecurityMobilePlatform)__typeMapper.readObject(__in, _lookupTypeInfo("mobilePlatform", "http://soap.sforce.com/2006/04/metadata","mobilePlatform","http://soap.sforce.com/2006/04/metadata","MobileSecurityMobilePlatform",0,1,true), com.sforce.soap.metadata.MobileSecurityMobilePlatform.class));
}
}
private void writeFieldMobilePlatform(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("mobilePlatform", "http://soap.sforce.com/2006/04/metadata","mobilePlatform","http://soap.sforce.com/2006/04/metadata","MobileSecurityMobilePlatform",0,1,true), mobilePlatform, mobilePlatform__is_set);
}
/**
* element : mobileSecurityAssignment of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean mobileSecurityAssignment__is_set = false;
private java.lang.String mobileSecurityAssignment;
public java.lang.String getMobileSecurityAssignment() {
return mobileSecurityAssignment;
}
public void setMobileSecurityAssignment(java.lang.String mobileSecurityAssignment) {
this.mobileSecurityAssignment = mobileSecurityAssignment;
mobileSecurityAssignment__is_set = true;
}
protected void setMobileSecurityAssignment(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("mobileSecurityAssignment", "http://soap.sforce.com/2006/04/metadata","mobileSecurityAssignment","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
setMobileSecurityAssignment(__typeMapper.readString(__in, _lookupTypeInfo("mobileSecurityAssignment", "http://soap.sforce.com/2006/04/metadata","mobileSecurityAssignment","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
}
}
private void writeFieldMobileSecurityAssignment(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("mobileSecurityAssignment", "http://soap.sforce.com/2006/04/metadata","mobileSecurityAssignment","http://www.w3.org/2001/XMLSchema","string",0,1,true), mobileSecurityAssignment, mobileSecurityAssignment__is_set);
}
/**
* element : severityLevel of type {http://soap.sforce.com/2006/04/metadata}MobileSecurityPolicySeverityLevel
* java type: com.sforce.soap.metadata.MobileSecurityPolicySeverityLevel
*/
private boolean severityLevel__is_set = false;
private com.sforce.soap.metadata.MobileSecurityPolicySeverityLevel severityLevel;
public com.sforce.soap.metadata.MobileSecurityPolicySeverityLevel getSeverityLevel() {
return severityLevel;
}
public void setSeverityLevel(com.sforce.soap.metadata.MobileSecurityPolicySeverityLevel severityLevel) {
this.severityLevel = severityLevel;
severityLevel__is_set = true;
}
protected void setSeverityLevel(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("severityLevel", "http://soap.sforce.com/2006/04/metadata","severityLevel","http://soap.sforce.com/2006/04/metadata","MobileSecurityPolicySeverityLevel",1,1,true))) {
setSeverityLevel((com.sforce.soap.metadata.MobileSecurityPolicySeverityLevel)__typeMapper.readObject(__in, _lookupTypeInfo("severityLevel", "http://soap.sforce.com/2006/04/metadata","severityLevel","http://soap.sforce.com/2006/04/metadata","MobileSecurityPolicySeverityLevel",1,1,true), com.sforce.soap.metadata.MobileSecurityPolicySeverityLevel.class));
}
}
private void writeFieldSeverityLevel(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("severityLevel", "http://soap.sforce.com/2006/04/metadata","severityLevel","http://soap.sforce.com/2006/04/metadata","MobileSecurityPolicySeverityLevel",1,1,true), severityLevel, severityLevel__is_set);
}
/**
* element : type of type {http://soap.sforce.com/2006/04/metadata}MobileSecurityCertPinType
* java type: com.sforce.soap.metadata.MobileSecurityCertPinType
*/
private boolean type__is_set = false;
private com.sforce.soap.metadata.MobileSecurityCertPinType type;
public com.sforce.soap.metadata.MobileSecurityCertPinType getType() {
return type;
}
public void setType(com.sforce.soap.metadata.MobileSecurityCertPinType type) {
this.type = type;
type__is_set = true;
}
protected void setType(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("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","MobileSecurityCertPinType",1,1,true))) {
setType((com.sforce.soap.metadata.MobileSecurityCertPinType)__typeMapper.readObject(__in, _lookupTypeInfo("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","MobileSecurityCertPinType",1,1,true), com.sforce.soap.metadata.MobileSecurityCertPinType.class));
}
}
private void writeFieldType(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("type", "http://soap.sforce.com/2006/04/metadata","type","http://soap.sforce.com/2006/04/metadata","MobileSecurityCertPinType",1,1,true), type, type__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, "http://soap.sforce.com/2006/04/metadata", "MobSecurityCertPinConfig");
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("[MobSecurityCertPinConfig ");
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 {
writeFieldCertificateHash(__out, __typeMapper);
writeFieldDomainName(__out, __typeMapper);
writeFieldIsEnabled(__out, __typeMapper);
writeFieldIsProtected(__out, __typeMapper);
writeFieldIsSubdomainIncluded(__out, __typeMapper);
writeFieldMasterLabel(__out, __typeMapper);
writeFieldMobilePlatform(__out, __typeMapper);
writeFieldMobileSecurityAssignment(__out, __typeMapper);
writeFieldSeverityLevel(__out, __typeMapper);
writeFieldType(__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 {
setCertificateHash(__in, __typeMapper);
setDomainName(__in, __typeMapper);
setIsEnabled(__in, __typeMapper);
setIsProtected(__in, __typeMapper);
setIsSubdomainIncluded(__in, __typeMapper);
setMasterLabel(__in, __typeMapper);
setMobilePlatform(__in, __typeMapper);
setMobileSecurityAssignment(__in, __typeMapper);
setSeverityLevel(__in, __typeMapper);
setType(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "certificateHash", certificateHash);
toStringHelper(sb, "domainName", domainName);
toStringHelper(sb, "isEnabled", isEnabled);
toStringHelper(sb, "isProtected", isProtected);
toStringHelper(sb, "isSubdomainIncluded", isSubdomainIncluded);
toStringHelper(sb, "masterLabel", masterLabel);
toStringHelper(sb, "mobilePlatform", mobilePlatform);
toStringHelper(sb, "mobileSecurityAssignment", mobileSecurityAssignment);
toStringHelper(sb, "severityLevel", severityLevel);
toStringHelper(sb, "type", type);
}
}