502 lines
24 KiB
Java
502 lines
24 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 Profile extends com.sforce.soap.tooling.sobject.SObject {
|
|
|
|
/**
|
|
* Constructor
|
|
*/
|
|
public Profile() {}
|
|
|
|
/* 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 : 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 : Description of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean Description__is_set = false;
|
|
|
|
private java.lang.String Description;
|
|
|
|
public java.lang.String getDescription() {
|
|
return Description;
|
|
}
|
|
|
|
public void setDescription(java.lang.String Description) {
|
|
this.Description = Description;
|
|
Description__is_set = true;
|
|
}
|
|
|
|
protected void setDescription(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("Description", "urn:sobject.tooling.soap.sforce.com","Description","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setDescription(__typeMapper.readString(__in, _lookupTypeInfo("Description", "urn:sobject.tooling.soap.sforce.com","Description","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldDescription(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("Description", "urn:sobject.tooling.soap.sforce.com","Description","http://www.w3.org/2001/XMLSchema","string",0,1,true), Description, Description__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : FullName of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean FullName__is_set = false;
|
|
|
|
private java.lang.String FullName;
|
|
|
|
public java.lang.String getFullName() {
|
|
return FullName;
|
|
}
|
|
|
|
public void setFullName(java.lang.String FullName) {
|
|
this.FullName = FullName;
|
|
FullName__is_set = true;
|
|
}
|
|
|
|
protected void setFullName(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("FullName", "urn:sobject.tooling.soap.sforce.com","FullName","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setFullName(__typeMapper.readString(__in, _lookupTypeInfo("FullName", "urn:sobject.tooling.soap.sforce.com","FullName","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldFullName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("FullName", "urn:sobject.tooling.soap.sforce.com","FullName","http://www.w3.org/2001/XMLSchema","string",0,1,true), FullName, FullName__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 : Metadata of type {urn:metadata.tooling.soap.sforce.com}Profile
|
|
* java type: com.sforce.soap.tooling.metadata.Profile
|
|
*/
|
|
private boolean Metadata__is_set = false;
|
|
|
|
private com.sforce.soap.tooling.metadata.Profile Metadata;
|
|
|
|
public com.sforce.soap.tooling.metadata.Profile getMetadata() {
|
|
return Metadata;
|
|
}
|
|
|
|
public void setMetadata(com.sforce.soap.tooling.metadata.Profile Metadata) {
|
|
this.Metadata = Metadata;
|
|
Metadata__is_set = true;
|
|
}
|
|
|
|
protected void setMetadata(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("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","Profile",0,1,true))) {
|
|
setMetadata((com.sforce.soap.tooling.metadata.Profile)__typeMapper.readObject(__in, _lookupTypeInfo("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","Profile",0,1,true), com.sforce.soap.tooling.metadata.Profile.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldMetadata(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("Metadata", "urn:sobject.tooling.soap.sforce.com","Metadata","urn:metadata.tooling.soap.sforce.com","Profile",0,1,true), Metadata, Metadata__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : Name of type {http://www.w3.org/2001/XMLSchema}string
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean Name__is_set = false;
|
|
|
|
private java.lang.String Name;
|
|
|
|
public java.lang.String getName() {
|
|
return Name;
|
|
}
|
|
|
|
public void setName(java.lang.String Name) {
|
|
this.Name = Name;
|
|
Name__is_set = true;
|
|
}
|
|
|
|
protected void setName(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("Name", "urn:sobject.tooling.soap.sforce.com","Name","http://www.w3.org/2001/XMLSchema","string",0,1,true))) {
|
|
setName(__typeMapper.readString(__in, _lookupTypeInfo("Name", "urn:sobject.tooling.soap.sforce.com","Name","http://www.w3.org/2001/XMLSchema","string",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldName(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("Name", "urn:sobject.tooling.soap.sforce.com","Name","http://www.w3.org/2001/XMLSchema","string",0,1,true), Name, Name__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : ProfileLayouts of type {urn:tooling.soap.sforce.com}QueryResult
|
|
* java type: com.sforce.soap.tooling.QueryResult
|
|
*/
|
|
private boolean ProfileLayouts__is_set = false;
|
|
|
|
private com.sforce.soap.tooling.QueryResult ProfileLayouts;
|
|
|
|
public com.sforce.soap.tooling.QueryResult getProfileLayouts() {
|
|
return ProfileLayouts;
|
|
}
|
|
|
|
public void setProfileLayouts(com.sforce.soap.tooling.QueryResult ProfileLayouts) {
|
|
this.ProfileLayouts = ProfileLayouts;
|
|
ProfileLayouts__is_set = true;
|
|
}
|
|
|
|
protected void setProfileLayouts(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("ProfileLayouts", "urn:sobject.tooling.soap.sforce.com","ProfileLayouts","urn:tooling.soap.sforce.com","QueryResult",0,1,true))) {
|
|
setProfileLayouts((com.sforce.soap.tooling.QueryResult)__typeMapper.readObject(__in, _lookupTypeInfo("ProfileLayouts", "urn:sobject.tooling.soap.sforce.com","ProfileLayouts","urn:tooling.soap.sforce.com","QueryResult",0,1,true), com.sforce.soap.tooling.QueryResult.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldProfileLayouts(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("ProfileLayouts", "urn:sobject.tooling.soap.sforce.com","ProfileLayouts","urn:tooling.soap.sforce.com","QueryResult",0,1,true), ProfileLayouts, ProfileLayouts__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : UserLicenseId of type {urn:tooling.soap.sforce.com}ID
|
|
* java type: java.lang.String
|
|
*/
|
|
private boolean UserLicenseId__is_set = false;
|
|
|
|
private java.lang.String UserLicenseId;
|
|
|
|
public java.lang.String getUserLicenseId() {
|
|
return UserLicenseId;
|
|
}
|
|
|
|
public void setUserLicenseId(java.lang.String UserLicenseId) {
|
|
this.UserLicenseId = UserLicenseId;
|
|
UserLicenseId__is_set = true;
|
|
}
|
|
|
|
protected void setUserLicenseId(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("UserLicenseId", "urn:sobject.tooling.soap.sforce.com","UserLicenseId","urn:tooling.soap.sforce.com","ID",0,1,true))) {
|
|
setUserLicenseId(__typeMapper.readString(__in, _lookupTypeInfo("UserLicenseId", "urn:sobject.tooling.soap.sforce.com","UserLicenseId","urn:tooling.soap.sforce.com","ID",0,1,true), java.lang.String.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldUserLicenseId(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("UserLicenseId", "urn:sobject.tooling.soap.sforce.com","UserLicenseId","urn:tooling.soap.sforce.com","ID",0,1,true), UserLicenseId, UserLicenseId__is_set);
|
|
}
|
|
|
|
/**
|
|
* element : Users of type {urn:tooling.soap.sforce.com}QueryResult
|
|
* java type: com.sforce.soap.tooling.QueryResult
|
|
*/
|
|
private boolean Users__is_set = false;
|
|
|
|
private com.sforce.soap.tooling.QueryResult Users;
|
|
|
|
public com.sforce.soap.tooling.QueryResult getUsers() {
|
|
return Users;
|
|
}
|
|
|
|
public void setUsers(com.sforce.soap.tooling.QueryResult Users) {
|
|
this.Users = Users;
|
|
Users__is_set = true;
|
|
}
|
|
|
|
protected void setUsers(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("Users", "urn:sobject.tooling.soap.sforce.com","Users","urn:tooling.soap.sforce.com","QueryResult",0,1,true))) {
|
|
setUsers((com.sforce.soap.tooling.QueryResult)__typeMapper.readObject(__in, _lookupTypeInfo("Users", "urn:sobject.tooling.soap.sforce.com","Users","urn:tooling.soap.sforce.com","QueryResult",0,1,true), com.sforce.soap.tooling.QueryResult.class));
|
|
}
|
|
}
|
|
|
|
private void writeFieldUsers(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
|
|
__typeMapper.writeObject(__out, _lookupTypeInfo("Users", "urn:sobject.tooling.soap.sforce.com","Users","urn:tooling.soap.sforce.com","QueryResult",0,1,true), Users, Users__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", "Profile");
|
|
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("[Profile ");
|
|
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 {
|
|
writeFieldCreatedBy(__out, __typeMapper);
|
|
writeFieldCreatedById(__out, __typeMapper);
|
|
writeFieldCreatedDate(__out, __typeMapper);
|
|
writeFieldDescription(__out, __typeMapper);
|
|
writeFieldFullName(__out, __typeMapper);
|
|
writeFieldLastModifiedBy(__out, __typeMapper);
|
|
writeFieldLastModifiedById(__out, __typeMapper);
|
|
writeFieldLastModifiedDate(__out, __typeMapper);
|
|
writeFieldMetadata(__out, __typeMapper);
|
|
writeFieldName(__out, __typeMapper);
|
|
writeFieldProfileLayouts(__out, __typeMapper);
|
|
writeFieldUserLicenseId(__out, __typeMapper);
|
|
writeFieldUsers(__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 {
|
|
setCreatedBy(__in, __typeMapper);
|
|
setCreatedById(__in, __typeMapper);
|
|
setCreatedDate(__in, __typeMapper);
|
|
setDescription(__in, __typeMapper);
|
|
setFullName(__in, __typeMapper);
|
|
setLastModifiedBy(__in, __typeMapper);
|
|
setLastModifiedById(__in, __typeMapper);
|
|
setLastModifiedDate(__in, __typeMapper);
|
|
setMetadata(__in, __typeMapper);
|
|
setName(__in, __typeMapper);
|
|
setProfileLayouts(__in, __typeMapper);
|
|
setUserLicenseId(__in, __typeMapper);
|
|
setUsers(__in, __typeMapper);
|
|
}
|
|
|
|
private void toString1(StringBuilder sb) {
|
|
toStringHelper(sb, "CreatedBy", CreatedBy);
|
|
toStringHelper(sb, "CreatedById", CreatedById);
|
|
toStringHelper(sb, "CreatedDate", CreatedDate);
|
|
toStringHelper(sb, "Description", Description);
|
|
toStringHelper(sb, "FullName", FullName);
|
|
toStringHelper(sb, "LastModifiedBy", LastModifiedBy);
|
|
toStringHelper(sb, "LastModifiedById", LastModifiedById);
|
|
toStringHelper(sb, "LastModifiedDate", LastModifiedDate);
|
|
toStringHelper(sb, "Metadata", Metadata);
|
|
toStringHelper(sb, "Name", Name);
|
|
toStringHelper(sb, "ProfileLayouts", ProfileLayouts);
|
|
toStringHelper(sb, "UserLicenseId", UserLicenseId);
|
|
toStringHelper(sb, "Users", Users);
|
|
}
|
|
|
|
|
|
}
|