
com.sforce.soap.metadata.ProfilePasswordPolicy 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 ProfilePasswordPolicy extends com.sforce.soap.metadata.Metadata {
/**
* Constructor
*/
public ProfilePasswordPolicy() {}
/* 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 : forgotPasswordRedirect of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean forgotPasswordRedirect__is_set = false;
private boolean forgotPasswordRedirect;
public boolean getForgotPasswordRedirect() {
return forgotPasswordRedirect;
}
public boolean isForgotPasswordRedirect() {
return forgotPasswordRedirect;
}
public void setForgotPasswordRedirect(boolean forgotPasswordRedirect) {
this.forgotPasswordRedirect = forgotPasswordRedirect;
forgotPasswordRedirect__is_set = true;
}
protected void setForgotPasswordRedirect(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("forgotPasswordRedirect", "http://soap.sforce.com/2006/04/metadata","forgotPasswordRedirect","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setForgotPasswordRedirect(__typeMapper.readBoolean(__in, _lookupTypeInfo("forgotPasswordRedirect", "http://soap.sforce.com/2006/04/metadata","forgotPasswordRedirect","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldForgotPasswordRedirect(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("forgotPasswordRedirect", "http://soap.sforce.com/2006/04/metadata","forgotPasswordRedirect","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), forgotPasswordRedirect, forgotPasswordRedirect__is_set);
}
/**
* element : lockoutInterval of type {http://www.w3.org/2001/XMLSchema}int
* java type: int
*/
private boolean lockoutInterval__is_set = false;
private int lockoutInterval;
public int getLockoutInterval() {
return lockoutInterval;
}
public void setLockoutInterval(int lockoutInterval) {
this.lockoutInterval = lockoutInterval;
lockoutInterval__is_set = true;
}
protected void setLockoutInterval(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("lockoutInterval", "http://soap.sforce.com/2006/04/metadata","lockoutInterval","http://www.w3.org/2001/XMLSchema","int",1,1,true))) {
setLockoutInterval((int)__typeMapper.readInt(__in, _lookupTypeInfo("lockoutInterval", "http://soap.sforce.com/2006/04/metadata","lockoutInterval","http://www.w3.org/2001/XMLSchema","int",1,1,true), int.class));
}
}
private void writeFieldLockoutInterval(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("lockoutInterval", "http://soap.sforce.com/2006/04/metadata","lockoutInterval","http://www.w3.org/2001/XMLSchema","int",1,1,true), lockoutInterval, lockoutInterval__is_set);
}
/**
* element : maxLoginAttempts of type {http://www.w3.org/2001/XMLSchema}int
* java type: int
*/
private boolean maxLoginAttempts__is_set = false;
private int maxLoginAttempts;
public int getMaxLoginAttempts() {
return maxLoginAttempts;
}
public void setMaxLoginAttempts(int maxLoginAttempts) {
this.maxLoginAttempts = maxLoginAttempts;
maxLoginAttempts__is_set = true;
}
protected void setMaxLoginAttempts(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("maxLoginAttempts", "http://soap.sforce.com/2006/04/metadata","maxLoginAttempts","http://www.w3.org/2001/XMLSchema","int",1,1,true))) {
setMaxLoginAttempts((int)__typeMapper.readInt(__in, _lookupTypeInfo("maxLoginAttempts", "http://soap.sforce.com/2006/04/metadata","maxLoginAttempts","http://www.w3.org/2001/XMLSchema","int",1,1,true), int.class));
}
}
private void writeFieldMaxLoginAttempts(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("maxLoginAttempts", "http://soap.sforce.com/2006/04/metadata","maxLoginAttempts","http://www.w3.org/2001/XMLSchema","int",1,1,true), maxLoginAttempts, maxLoginAttempts__is_set);
}
/**
* element : minimumPasswordLength of type {http://www.w3.org/2001/XMLSchema}int
* java type: int
*/
private boolean minimumPasswordLength__is_set = false;
private int minimumPasswordLength;
public int getMinimumPasswordLength() {
return minimumPasswordLength;
}
public void setMinimumPasswordLength(int minimumPasswordLength) {
this.minimumPasswordLength = minimumPasswordLength;
minimumPasswordLength__is_set = true;
}
protected void setMinimumPasswordLength(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("minimumPasswordLength", "http://soap.sforce.com/2006/04/metadata","minimumPasswordLength","http://www.w3.org/2001/XMLSchema","int",1,1,true))) {
setMinimumPasswordLength((int)__typeMapper.readInt(__in, _lookupTypeInfo("minimumPasswordLength", "http://soap.sforce.com/2006/04/metadata","minimumPasswordLength","http://www.w3.org/2001/XMLSchema","int",1,1,true), int.class));
}
}
private void writeFieldMinimumPasswordLength(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("minimumPasswordLength", "http://soap.sforce.com/2006/04/metadata","minimumPasswordLength","http://www.w3.org/2001/XMLSchema","int",1,1,true), minimumPasswordLength, minimumPasswordLength__is_set);
}
/**
* element : minimumPasswordLifetime of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean minimumPasswordLifetime__is_set = false;
private boolean minimumPasswordLifetime;
public boolean getMinimumPasswordLifetime() {
return minimumPasswordLifetime;
}
public boolean isMinimumPasswordLifetime() {
return minimumPasswordLifetime;
}
public void setMinimumPasswordLifetime(boolean minimumPasswordLifetime) {
this.minimumPasswordLifetime = minimumPasswordLifetime;
minimumPasswordLifetime__is_set = true;
}
protected void setMinimumPasswordLifetime(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("minimumPasswordLifetime", "http://soap.sforce.com/2006/04/metadata","minimumPasswordLifetime","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setMinimumPasswordLifetime(__typeMapper.readBoolean(__in, _lookupTypeInfo("minimumPasswordLifetime", "http://soap.sforce.com/2006/04/metadata","minimumPasswordLifetime","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldMinimumPasswordLifetime(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("minimumPasswordLifetime", "http://soap.sforce.com/2006/04/metadata","minimumPasswordLifetime","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), minimumPasswordLifetime, minimumPasswordLifetime__is_set);
}
/**
* element : obscure of type {http://www.w3.org/2001/XMLSchema}boolean
* java type: boolean
*/
private boolean obscure__is_set = false;
private boolean obscure;
public boolean getObscure() {
return obscure;
}
public boolean isObscure() {
return obscure;
}
public void setObscure(boolean obscure) {
this.obscure = obscure;
obscure__is_set = true;
}
protected void setObscure(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("obscure", "http://soap.sforce.com/2006/04/metadata","obscure","http://www.w3.org/2001/XMLSchema","boolean",0,1,true))) {
setObscure(__typeMapper.readBoolean(__in, _lookupTypeInfo("obscure", "http://soap.sforce.com/2006/04/metadata","obscure","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), boolean.class));
}
}
private void writeFieldObscure(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("obscure", "http://soap.sforce.com/2006/04/metadata","obscure","http://www.w3.org/2001/XMLSchema","boolean",0,1,true), obscure, obscure__is_set);
}
/**
* element : passwordComplexity of type {http://www.w3.org/2001/XMLSchema}int
* java type: int
*/
private boolean passwordComplexity__is_set = false;
private int passwordComplexity;
public int getPasswordComplexity() {
return passwordComplexity;
}
public void setPasswordComplexity(int passwordComplexity) {
this.passwordComplexity = passwordComplexity;
passwordComplexity__is_set = true;
}
protected void setPasswordComplexity(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("passwordComplexity", "http://soap.sforce.com/2006/04/metadata","passwordComplexity","http://www.w3.org/2001/XMLSchema","int",1,1,true))) {
setPasswordComplexity((int)__typeMapper.readInt(__in, _lookupTypeInfo("passwordComplexity", "http://soap.sforce.com/2006/04/metadata","passwordComplexity","http://www.w3.org/2001/XMLSchema","int",1,1,true), int.class));
}
}
private void writeFieldPasswordComplexity(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("passwordComplexity", "http://soap.sforce.com/2006/04/metadata","passwordComplexity","http://www.w3.org/2001/XMLSchema","int",1,1,true), passwordComplexity, passwordComplexity__is_set);
}
/**
* element : passwordExpiration of type {http://www.w3.org/2001/XMLSchema}int
* java type: int
*/
private boolean passwordExpiration__is_set = false;
private int passwordExpiration;
public int getPasswordExpiration() {
return passwordExpiration;
}
public void setPasswordExpiration(int passwordExpiration) {
this.passwordExpiration = passwordExpiration;
passwordExpiration__is_set = true;
}
protected void setPasswordExpiration(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("passwordExpiration", "http://soap.sforce.com/2006/04/metadata","passwordExpiration","http://www.w3.org/2001/XMLSchema","int",1,1,true))) {
setPasswordExpiration((int)__typeMapper.readInt(__in, _lookupTypeInfo("passwordExpiration", "http://soap.sforce.com/2006/04/metadata","passwordExpiration","http://www.w3.org/2001/XMLSchema","int",1,1,true), int.class));
}
}
private void writeFieldPasswordExpiration(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("passwordExpiration", "http://soap.sforce.com/2006/04/metadata","passwordExpiration","http://www.w3.org/2001/XMLSchema","int",1,1,true), passwordExpiration, passwordExpiration__is_set);
}
/**
* element : passwordHistory of type {http://www.w3.org/2001/XMLSchema}int
* java type: int
*/
private boolean passwordHistory__is_set = false;
private int passwordHistory;
public int getPasswordHistory() {
return passwordHistory;
}
public void setPasswordHistory(int passwordHistory) {
this.passwordHistory = passwordHistory;
passwordHistory__is_set = true;
}
protected void setPasswordHistory(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("passwordHistory", "http://soap.sforce.com/2006/04/metadata","passwordHistory","http://www.w3.org/2001/XMLSchema","int",1,1,true))) {
setPasswordHistory((int)__typeMapper.readInt(__in, _lookupTypeInfo("passwordHistory", "http://soap.sforce.com/2006/04/metadata","passwordHistory","http://www.w3.org/2001/XMLSchema","int",1,1,true), int.class));
}
}
private void writeFieldPasswordHistory(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("passwordHistory", "http://soap.sforce.com/2006/04/metadata","passwordHistory","http://www.w3.org/2001/XMLSchema","int",1,1,true), passwordHistory, passwordHistory__is_set);
}
/**
* element : passwordQuestion of type {http://www.w3.org/2001/XMLSchema}int
* java type: int
*/
private boolean passwordQuestion__is_set = false;
private int passwordQuestion;
public int getPasswordQuestion() {
return passwordQuestion;
}
public void setPasswordQuestion(int passwordQuestion) {
this.passwordQuestion = passwordQuestion;
passwordQuestion__is_set = true;
}
protected void setPasswordQuestion(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("passwordQuestion", "http://soap.sforce.com/2006/04/metadata","passwordQuestion","http://www.w3.org/2001/XMLSchema","int",1,1,true))) {
setPasswordQuestion((int)__typeMapper.readInt(__in, _lookupTypeInfo("passwordQuestion", "http://soap.sforce.com/2006/04/metadata","passwordQuestion","http://www.w3.org/2001/XMLSchema","int",1,1,true), int.class));
}
}
private void writeFieldPasswordQuestion(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("passwordQuestion", "http://soap.sforce.com/2006/04/metadata","passwordQuestion","http://www.w3.org/2001/XMLSchema","int",1,1,true), passwordQuestion, passwordQuestion__is_set);
}
/**
* element : profile of type {http://www.w3.org/2001/XMLSchema}string
* java type: java.lang.String
*/
private boolean profile__is_set = false;
private java.lang.String profile;
public java.lang.String getProfile() {
return profile;
}
public void setProfile(java.lang.String profile) {
this.profile = profile;
profile__is_set = true;
}
protected void setProfile(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("profile", "http://soap.sforce.com/2006/04/metadata","profile","http://www.w3.org/2001/XMLSchema","string",1,1,true))) {
setProfile(__typeMapper.readString(__in, _lookupTypeInfo("profile", "http://soap.sforce.com/2006/04/metadata","profile","http://www.w3.org/2001/XMLSchema","string",1,1,true), java.lang.String.class));
}
}
private void writeFieldProfile(com.sforce.ws.parser.XmlOutputStream __out, com.sforce.ws.bind.TypeMapper __typeMapper) throws java.io.IOException {
__typeMapper.writeObject(__out, _lookupTypeInfo("profile", "http://soap.sforce.com/2006/04/metadata","profile","http://www.w3.org/2001/XMLSchema","string",1,1,true), profile, profile__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", "ProfilePasswordPolicy");
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("[ProfilePasswordPolicy ");
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 {
writeFieldForgotPasswordRedirect(__out, __typeMapper);
writeFieldLockoutInterval(__out, __typeMapper);
writeFieldMaxLoginAttempts(__out, __typeMapper);
writeFieldMinimumPasswordLength(__out, __typeMapper);
writeFieldMinimumPasswordLifetime(__out, __typeMapper);
writeFieldObscure(__out, __typeMapper);
writeFieldPasswordComplexity(__out, __typeMapper);
writeFieldPasswordExpiration(__out, __typeMapper);
writeFieldPasswordHistory(__out, __typeMapper);
writeFieldPasswordQuestion(__out, __typeMapper);
writeFieldProfile(__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 {
setForgotPasswordRedirect(__in, __typeMapper);
setLockoutInterval(__in, __typeMapper);
setMaxLoginAttempts(__in, __typeMapper);
setMinimumPasswordLength(__in, __typeMapper);
setMinimumPasswordLifetime(__in, __typeMapper);
setObscure(__in, __typeMapper);
setPasswordComplexity(__in, __typeMapper);
setPasswordExpiration(__in, __typeMapper);
setPasswordHistory(__in, __typeMapper);
setPasswordQuestion(__in, __typeMapper);
setProfile(__in, __typeMapper);
}
private void toString1(StringBuilder sb) {
toStringHelper(sb, "forgotPasswordRedirect", forgotPasswordRedirect);
toStringHelper(sb, "lockoutInterval", lockoutInterval);
toStringHelper(sb, "maxLoginAttempts", maxLoginAttempts);
toStringHelper(sb, "minimumPasswordLength", minimumPasswordLength);
toStringHelper(sb, "minimumPasswordLifetime", minimumPasswordLifetime);
toStringHelper(sb, "obscure", obscure);
toStringHelper(sb, "passwordComplexity", passwordComplexity);
toStringHelper(sb, "passwordExpiration", passwordExpiration);
toStringHelper(sb, "passwordHistory", passwordHistory);
toStringHelper(sb, "passwordQuestion", passwordQuestion);
toStringHelper(sb, "profile", profile);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy