datai/docs/reference-code/com/sforce/soap/tooling/sobject/ApiPrtcPolicyConnAsgnt.java

566 lines
30 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 ApiPrtcPolicyConnAsgnt extends com.sforce.soap.tooling.sobject.SObject {
/**
* Constructor
*/
public ApiPrtcPolicyConnAsgnt() {}
/* 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 : ApiProtectionPolicy of type {urn:sobject.tooling.soap.sforce.com}ApiProtectionPolicy
* java type: com.sforce.soap.tooling.sobject.ApiProtectionPolicy
*/
private boolean ApiProtectionPolicy__is_set = false;
private com.sforce.soap.tooling.sobject.ApiProtectionPolicy ApiProtectionPolicy;
public com.sforce.soap.tooling.sobject.ApiProtectionPolicy getApiProtectionPolicy() {
return ApiProtectionPolicy;
}
public void setApiProtectionPolicy(com.sforce.soap.tooling.sobject.ApiProtectionPolicy ApiProtectionPolicy) {
this.ApiProtectionPolicy = ApiProtectionPolicy;
ApiProtectionPolicy__is_set = true;
}
protected void setApiProtectionPolicy(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("ApiProtectionPolicy", "urn:sobject.tooling.soap.sforce.com","ApiProtectionPolicy","urn:sobject.tooling.soap.sforce.com","ApiProtectionPolicy",0,1,true))) {
setApiProtectionPolicy((com.sforce.soap.tooling.sobject.ApiProtectionPolicy)__typeMapper.readObject(__in, _lookupTypeInfo("ApiProtectionPolicy", "urn:sobject.tooling.soap.sforce.com","ApiProtectionPolicy","urn:sobject.tooling.soap.sforce.com","ApiProtectionPolicy",0,1,true), com.sforce.soap.tooling.sobject.ApiProtectionPolicy.class));
}
}
private void writeFieldApiProtectionPolicy(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("ApiProtectionPolicy", "urn:sobject.tooling.soap.sforce.com","ApiProtectionPolicy","urn:sobject.tooling.soap.sforce.com","ApiProtectionPolicy",0,1,true), ApiProtectionPolicy, ApiProtectionPolicy__is_set);
}
/**
* element : ApiProtectionPolicyId of type {urn:tooling.soap.sforce.com}ID
* java type: java.lang.String
*/
private boolean ApiProtectionPolicyId__is_set = false;
private java.lang.String ApiProtectionPolicyId;
public java.lang.String getApiProtectionPolicyId() {
return ApiProtectionPolicyId;
}
public void setApiProtectionPolicyId(java.lang.String ApiProtectionPolicyId) {
this.ApiProtectionPolicyId = ApiProtectionPolicyId;
ApiProtectionPolicyId__is_set = true;
}
protected void setApiProtectionPolicyId(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("ApiProtectionPolicyId", "urn:sobject.tooling.soap.sforce.com","ApiProtectionPolicyId","urn:tooling.soap.sforce.com","ID",0,1,true))) {
setApiProtectionPolicyId(__typeMapper.readString(__in, _lookupTypeInfo("ApiProtectionPolicyId", "urn:sobject.tooling.soap.sforce.com","ApiProtectionPolicyId","urn:tooling.soap.sforce.com","ID",0,1,true), java.lang.String.class));
}
}
private void writeFieldApiProtectionPolicyId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("ApiProtectionPolicyId", "urn:sobject.tooling.soap.sforce.com","ApiProtectionPolicyId","urn:tooling.soap.sforce.com","ID",0,1,true), ApiProtectionPolicyId, ApiProtectionPolicyId__is_set);
}
/**
* element : CreatedBy of type {urn:sobject.tooling.soap.sforce.com}User
* java type: com.sforce.soap.tooling.sobject.User
*/
private boolean CreatedBy__is_set = false;
private com.sforce.soap.tooling.sobject.User CreatedBy;
public com.sforce.soap.tooling.sobject.User getCreatedBy() {
return CreatedBy;
}
public void setCreatedBy(com.sforce.soap.tooling.sobject.User CreatedBy) {
this.CreatedBy = CreatedBy;
CreatedBy__is_set = true;
}
protected void setCreatedBy(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("CreatedBy", "urn:sobject.tooling.soap.sforce.com","CreatedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true))) {
setCreatedBy((com.sforce.soap.tooling.sobject.User)__typeMapper.readObject(__in, _lookupTypeInfo("CreatedBy", "urn:sobject.tooling.soap.sforce.com","CreatedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true), com.sforce.soap.tooling.sobject.User.class));
}
}
private void writeFieldCreatedBy(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("CreatedBy", "urn:sobject.tooling.soap.sforce.com","CreatedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true), CreatedBy, CreatedBy__is_set);
}
/**
* element : CreatedById of type {urn:tooling.soap.sforce.com}ID
* java type: java.lang.String
*/
private boolean CreatedById__is_set = false;
private java.lang.String CreatedById;
public java.lang.String getCreatedById() {
return CreatedById;
}
public void setCreatedById(java.lang.String CreatedById) {
this.CreatedById = CreatedById;
CreatedById__is_set = true;
}
protected void setCreatedById(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("CreatedById", "urn:sobject.tooling.soap.sforce.com","CreatedById","urn:tooling.soap.sforce.com","ID",0,1,true))) {
setCreatedById(__typeMapper.readString(__in, _lookupTypeInfo("CreatedById", "urn:sobject.tooling.soap.sforce.com","CreatedById","urn:tooling.soap.sforce.com","ID",0,1,true), java.lang.String.class));
}
}
private void writeFieldCreatedById(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("CreatedById", "urn:sobject.tooling.soap.sforce.com","CreatedById","urn:tooling.soap.sforce.com","ID",0,1,true), CreatedById, CreatedById__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 : ExecutionOrder of type {http://www.w3.org/2001/XMLSchema}int
* java type: java.lang.Integer
*/
private boolean ExecutionOrder__is_set = false;
private java.lang.Integer ExecutionOrder;
public java.lang.Integer getExecutionOrder() {
return ExecutionOrder;
}
public void setExecutionOrder(java.lang.Integer ExecutionOrder) {
this.ExecutionOrder = ExecutionOrder;
ExecutionOrder__is_set = true;
}
protected void setExecutionOrder(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("ExecutionOrder", "urn:sobject.tooling.soap.sforce.com","ExecutionOrder","http://www.w3.org/2001/XMLSchema","int",0,1,true))) {
setExecutionOrder((java.lang.Integer)__typeMapper.readObject(__in, _lookupTypeInfo("ExecutionOrder", "urn:sobject.tooling.soap.sforce.com","ExecutionOrder","http://www.w3.org/2001/XMLSchema","int",0,1,true), java.lang.Integer.class));
}
}
private void writeFieldExecutionOrder(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("ExecutionOrder", "urn:sobject.tooling.soap.sforce.com","ExecutionOrder","http://www.w3.org/2001/XMLSchema","int",0,1,true), ExecutionOrder, ExecutionOrder__is_set);
}
/**
* element : ExternalServiceRegistration of type {urn:sobject.tooling.soap.sforce.com}ExternalServiceRegistration
* java type: com.sforce.soap.tooling.sobject.ExternalServiceRegistration
*/
private boolean ExternalServiceRegistration__is_set = false;
private com.sforce.soap.tooling.sobject.ExternalServiceRegistration ExternalServiceRegistration;
public com.sforce.soap.tooling.sobject.ExternalServiceRegistration getExternalServiceRegistration() {
return ExternalServiceRegistration;
}
public void setExternalServiceRegistration(com.sforce.soap.tooling.sobject.ExternalServiceRegistration ExternalServiceRegistration) {
this.ExternalServiceRegistration = ExternalServiceRegistration;
ExternalServiceRegistration__is_set = true;
}
protected void setExternalServiceRegistration(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("ExternalServiceRegistration", "urn:sobject.tooling.soap.sforce.com","ExternalServiceRegistration","urn:sobject.tooling.soap.sforce.com","ExternalServiceRegistration",0,1,true))) {
setExternalServiceRegistration((com.sforce.soap.tooling.sobject.ExternalServiceRegistration)__typeMapper.readObject(__in, _lookupTypeInfo("ExternalServiceRegistration", "urn:sobject.tooling.soap.sforce.com","ExternalServiceRegistration","urn:sobject.tooling.soap.sforce.com","ExternalServiceRegistration",0,1,true), com.sforce.soap.tooling.sobject.ExternalServiceRegistration.class));
}
}
private void writeFieldExternalServiceRegistration(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("ExternalServiceRegistration", "urn:sobject.tooling.soap.sforce.com","ExternalServiceRegistration","urn:sobject.tooling.soap.sforce.com","ExternalServiceRegistration",0,1,true), ExternalServiceRegistration, ExternalServiceRegistration__is_set);
}
/**
* element : ExternalServiceRegistrationId of type {urn:tooling.soap.sforce.com}ID
* java type: java.lang.String
*/
private boolean ExternalServiceRegistrationId__is_set = false;
private java.lang.String ExternalServiceRegistrationId;
public java.lang.String getExternalServiceRegistrationId() {
return ExternalServiceRegistrationId;
}
public void setExternalServiceRegistrationId(java.lang.String ExternalServiceRegistrationId) {
this.ExternalServiceRegistrationId = ExternalServiceRegistrationId;
ExternalServiceRegistrationId__is_set = true;
}
protected void setExternalServiceRegistrationId(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("ExternalServiceRegistrationId", "urn:sobject.tooling.soap.sforce.com","ExternalServiceRegistrationId","urn:tooling.soap.sforce.com","ID",0,1,true))) {
setExternalServiceRegistrationId(__typeMapper.readString(__in, _lookupTypeInfo("ExternalServiceRegistrationId", "urn:sobject.tooling.soap.sforce.com","ExternalServiceRegistrationId","urn:tooling.soap.sforce.com","ID",0,1,true), java.lang.String.class));
}
}
private void writeFieldExternalServiceRegistrationId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("ExternalServiceRegistrationId", "urn:sobject.tooling.soap.sforce.com","ExternalServiceRegistrationId","urn:tooling.soap.sforce.com","ID",0,1,true), ExternalServiceRegistrationId, ExternalServiceRegistrationId__is_set);
}
/**
* element : IsDeleted of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: java.lang.Boolean
*/
private boolean IsDeleted__is_set = false;
private java.lang.Boolean IsDeleted;
public java.lang.Boolean getIsDeleted() {
return IsDeleted;
}
public void setIsDeleted(java.lang.Boolean IsDeleted) {
this.IsDeleted = IsDeleted;
IsDeleted__is_set = true;
}
protected void setIsDeleted(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("IsDeleted", "urn:sobject.tooling.soap.sforce.com","IsDeleted","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setIsDeleted((java.lang.Boolean)__typeMapper.readObject(__in, _lookupTypeInfo("IsDeleted", "urn:sobject.tooling.soap.sforce.com","IsDeleted","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), java.lang.Boolean.class));
}
}
private void writeFieldIsDeleted(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("IsDeleted", "urn:sobject.tooling.soap.sforce.com","IsDeleted","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), IsDeleted, IsDeleted__is_set);
}
/**
* element : LastModifiedBy of type {urn:sobject.tooling.soap.sforce.com}User
* java type: com.sforce.soap.tooling.sobject.User
*/
private boolean LastModifiedBy__is_set = false;
private com.sforce.soap.tooling.sobject.User LastModifiedBy;
public com.sforce.soap.tooling.sobject.User getLastModifiedBy() {
return LastModifiedBy;
}
public void setLastModifiedBy(com.sforce.soap.tooling.sobject.User LastModifiedBy) {
this.LastModifiedBy = LastModifiedBy;
LastModifiedBy__is_set = true;
}
protected void setLastModifiedBy(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("LastModifiedBy", "urn:sobject.tooling.soap.sforce.com","LastModifiedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true))) {
setLastModifiedBy((com.sforce.soap.tooling.sobject.User)__typeMapper.readObject(__in, _lookupTypeInfo("LastModifiedBy", "urn:sobject.tooling.soap.sforce.com","LastModifiedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true), com.sforce.soap.tooling.sobject.User.class));
}
}
private void writeFieldLastModifiedBy(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("LastModifiedBy", "urn:sobject.tooling.soap.sforce.com","LastModifiedBy","urn:sobject.tooling.soap.sforce.com","User",0,1,true), LastModifiedBy, LastModifiedBy__is_set);
}
/**
* element : LastModifiedById of type {urn:tooling.soap.sforce.com}ID
* java type: java.lang.String
*/
private boolean LastModifiedById__is_set = false;
private java.lang.String LastModifiedById;
public java.lang.String getLastModifiedById() {
return LastModifiedById;
}
public void setLastModifiedById(java.lang.String LastModifiedById) {
this.LastModifiedById = LastModifiedById;
LastModifiedById__is_set = true;
}
protected void setLastModifiedById(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("LastModifiedById", "urn:sobject.tooling.soap.sforce.com","LastModifiedById","urn:tooling.soap.sforce.com","ID",0,1,true))) {
setLastModifiedById(__typeMapper.readString(__in, _lookupTypeInfo("LastModifiedById", "urn:sobject.tooling.soap.sforce.com","LastModifiedById","urn:tooling.soap.sforce.com","ID",0,1,true), java.lang.String.class));
}
}
private void writeFieldLastModifiedById(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("LastModifiedById", "urn:sobject.tooling.soap.sforce.com","LastModifiedById","urn:tooling.soap.sforce.com","ID",0,1,true), LastModifiedById, LastModifiedById__is_set);
}
/**
* element : LastModifiedDate of type {http://www.w3.org/2001/XMLSchema}dateTime
* java type: java.util.Calendar
*/
private boolean LastModifiedDate__is_set = false;
private java.util.Calendar LastModifiedDate;
public java.util.Calendar getLastModifiedDate() {
return LastModifiedDate;
}
public void setLastModifiedDate(java.util.Calendar LastModifiedDate) {
this.LastModifiedDate = LastModifiedDate;
LastModifiedDate__is_set = true;
}
protected void setLastModifiedDate(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("LastModifiedDate", "urn:sobject.tooling.soap.sforce.com","LastModifiedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true))) {
setLastModifiedDate((java.util.Calendar)__typeMapper.readObject(__in, _lookupTypeInfo("LastModifiedDate", "urn:sobject.tooling.soap.sforce.com","LastModifiedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), java.util.Calendar.class));
}
}
private void writeFieldLastModifiedDate(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("LastModifiedDate", "urn:sobject.tooling.soap.sforce.com","LastModifiedDate","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), LastModifiedDate, LastModifiedDate__is_set);
}
/**
* element : NamedCredential of type {urn:sobject.tooling.soap.sforce.com}NamedCredential
* java type: com.sforce.soap.tooling.sobject.NamedCredential
*/
private boolean NamedCredential__is_set = false;
private com.sforce.soap.tooling.sobject.NamedCredential NamedCredential;
public com.sforce.soap.tooling.sobject.NamedCredential getNamedCredential() {
return NamedCredential;
}
public void setNamedCredential(com.sforce.soap.tooling.sobject.NamedCredential NamedCredential) {
this.NamedCredential = NamedCredential;
NamedCredential__is_set = true;
}
protected void setNamedCredential(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("NamedCredential", "urn:sobject.tooling.soap.sforce.com","NamedCredential","urn:sobject.tooling.soap.sforce.com","NamedCredential",0,1,true))) {
setNamedCredential((com.sforce.soap.tooling.sobject.NamedCredential)__typeMapper.readObject(__in, _lookupTypeInfo("NamedCredential", "urn:sobject.tooling.soap.sforce.com","NamedCredential","urn:sobject.tooling.soap.sforce.com","NamedCredential",0,1,true), com.sforce.soap.tooling.sobject.NamedCredential.class));
}
}
private void writeFieldNamedCredential(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("NamedCredential", "urn:sobject.tooling.soap.sforce.com","NamedCredential","urn:sobject.tooling.soap.sforce.com","NamedCredential",0,1,true), NamedCredential, NamedCredential__is_set);
}
/**
* element : NamedCredentialId of type {urn:tooling.soap.sforce.com}ID
* java type: java.lang.String
*/
private boolean NamedCredentialId__is_set = false;
private java.lang.String NamedCredentialId;
public java.lang.String getNamedCredentialId() {
return NamedCredentialId;
}
public void setNamedCredentialId(java.lang.String NamedCredentialId) {
this.NamedCredentialId = NamedCredentialId;
NamedCredentialId__is_set = true;
}
protected void setNamedCredentialId(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("NamedCredentialId", "urn:sobject.tooling.soap.sforce.com","NamedCredentialId","urn:tooling.soap.sforce.com","ID",0,1,true))) {
setNamedCredentialId(__typeMapper.readString(__in, _lookupTypeInfo("NamedCredentialId", "urn:sobject.tooling.soap.sforce.com","NamedCredentialId","urn:tooling.soap.sforce.com","ID",0,1,true), java.lang.String.class));
}
}
private void writeFieldNamedCredentialId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("NamedCredentialId", "urn:sobject.tooling.soap.sforce.com","NamedCredentialId","urn:tooling.soap.sforce.com","ID",0,1,true), NamedCredentialId, NamedCredentialId__is_set);
}
/**
* element : SystemModstamp of type {http://www.w3.org/2001/XMLSchema}dateTime
* java type: java.util.Calendar
*/
private boolean SystemModstamp__is_set = false;
private java.util.Calendar SystemModstamp;
public java.util.Calendar getSystemModstamp() {
return SystemModstamp;
}
public void setSystemModstamp(java.util.Calendar SystemModstamp) {
this.SystemModstamp = SystemModstamp;
SystemModstamp__is_set = true;
}
protected void setSystemModstamp(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("SystemModstamp", "urn:sobject.tooling.soap.sforce.com","SystemModstamp","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true))) {
setSystemModstamp((java.util.Calendar)__typeMapper.readObject(__in, _lookupTypeInfo("SystemModstamp", "urn:sobject.tooling.soap.sforce.com","SystemModstamp","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), java.util.Calendar.class));
}
}
private void writeFieldSystemModstamp(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("SystemModstamp", "urn:sobject.tooling.soap.sforce.com","SystemModstamp","http://www.w3.org/2001/XMLSchema","dateTime",0,1,true), SystemModstamp, SystemModstamp__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", "ApiPrtcPolicyConnAsgnt");
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("[ApiPrtcPolicyConnAsgnt ");
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 {
writeFieldApiProtectionPolicy(__out, __typeMapper);
writeFieldApiProtectionPolicyId(__out, __typeMapper);
writeFieldCreatedBy(__out, __typeMapper);
writeFieldCreatedById(__out, __typeMapper);
writeFieldCreatedDate(__out, __typeMapper);
writeFieldExecutionOrder(__out, __typeMapper);
writeFieldExternalServiceRegistration(__out, __typeMapper);
writeFieldExternalServiceRegistrationId(__out, __typeMapper);
writeFieldIsDeleted(__out, __typeMapper);
writeFieldLastModifiedBy(__out, __typeMapper);
writeFieldLastModifiedById(__out, __typeMapper);
writeFieldLastModifiedDate(__out, __typeMapper);
writeFieldNamedCredential(__out, __typeMapper);
writeFieldNamedCredentialId(__out, __typeMapper);
writeFieldSystemModstamp(__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 {
setApiProtectionPolicy(__in, __typeMapper);
setApiProtectionPolicyId(__in, __typeMapper);
setCreatedBy(__in, __typeMapper);
setCreatedById(__in, __typeMapper);
setCreatedDate(__in, __typeMapper);
setExecutionOrder(__in, __typeMapper);
setExternalServiceRegistration(__in, __typeMapper);
setExternalServiceRegistrationId(__in, __typeMapper);
setIsDeleted(__in, __typeMapper);
setLastModifiedBy(__in, __typeMapper);
setLastModifiedById(__in, __typeMapper);
setLastModifiedDate(__in, __typeMapper);
setNamedCredential(__in, __typeMapper);
setNamedCredentialId(__in, __typeMapper);
setSystemModstamp(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "ApiProtectionPolicy", ApiProtectionPolicy);
toStringHelper(sb, "ApiProtectionPolicyId", ApiProtectionPolicyId);
toStringHelper(sb, "CreatedBy", CreatedBy);
toStringHelper(sb, "CreatedById", CreatedById);
toStringHelper(sb, "CreatedDate", CreatedDate);
toStringHelper(sb, "ExecutionOrder", ExecutionOrder);
toStringHelper(sb, "ExternalServiceRegistration", ExternalServiceRegistration);
toStringHelper(sb, "ExternalServiceRegistrationId", ExternalServiceRegistrationId);
toStringHelper(sb, "IsDeleted", IsDeleted);
toStringHelper(sb, "LastModifiedBy", LastModifiedBy);
toStringHelper(sb, "LastModifiedById", LastModifiedById);
toStringHelper(sb, "LastModifiedDate", LastModifiedDate);
toStringHelper(sb, "NamedCredential", NamedCredential);
toStringHelper(sb, "NamedCredentialId", NamedCredentialId);
toStringHelper(sb, "SystemModstamp", SystemModstamp);
}
}