Package com.sforce.soap.metadata
Class HistoryRetentionPolicy
java.lang.Object
com.sforce.soap.metadata.HistoryRetentionPolicy
- All Implemented Interfaces:
XMLizable
This is a generated class for the SObject Enterprise API.
Do not edit this file, as your changes will be lost.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintvoidload(XmlInputStream __in, TypeMapper __typeMapper) protected voidloadFields(XmlInputStream __in, TypeMapper __typeMapper) voidsetArchiveAfterMonths(int archiveAfterMonths) protected voidsetArchiveAfterMonths(XmlInputStream __in, TypeMapper __typeMapper) voidsetArchiveRetentionYears(int archiveRetentionYears) protected voidsetArchiveRetentionYears(XmlInputStream __in, TypeMapper __typeMapper) protected voidsetDescription(XmlInputStream __in, TypeMapper __typeMapper) voidsetDescription(String description) toString()voidwrite(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) protected voidwriteFields(XmlOutputStream __out, TypeMapper __typeMapper)
-
Constructor Details
-
HistoryRetentionPolicy
public HistoryRetentionPolicy()Constructor
-
-
Method Details
-
getArchiveAfterMonths
public int getArchiveAfterMonths() -
setArchiveAfterMonths
public void setArchiveAfterMonths(int archiveAfterMonths) -
setArchiveAfterMonths
protected void setArchiveAfterMonths(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
getArchiveRetentionYears
public int getArchiveRetentionYears() -
setArchiveRetentionYears
public void setArchiveRetentionYears(int archiveRetentionYears) -
setArchiveRetentionYears
protected void setArchiveRetentionYears(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
getDescription
-
setDescription
-
setDescription
protected void setDescription(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
write
public void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException - Specified by:
writein interfaceXMLizable- Throws:
IOException
-
writeFields
- Throws:
IOException
-
load
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Specified by:
loadin interfaceXMLizable- Throws:
IOExceptionConnectionException
-
loadFields
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException - Throws:
IOExceptionConnectionException
-
toString
-