com.force.sdk.jpa.schema
Class SchemaDeleteProperty
java.lang.Object
com.force.sdk.jpa.schema.SchemaDeleteProperty
public class SchemaDeleteProperty
- extends Object
Tells the schema process how to handle schema deletion. Using persistence.xml or other schema tools,
a user can delete the schema in their organization, and purge it from the Recycle Bin if necessary
- Author:
- Jill Wetzler
|
Constructor Summary |
SchemaDeleteProperty(boolean deleteSchema,
boolean purgeSchemaOnDelete)
Creates a delete property that signifies whether we want to delete the schema objects by sending them to the Recycle Bin
or whether we want to bypass the Recycle Bin and do a hard delete. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaDeleteProperty
public SchemaDeleteProperty(boolean deleteSchema,
boolean purgeSchemaOnDelete)
- Creates a delete property that signifies whether we want to delete the schema objects by sending them to the Recycle Bin
or whether we want to bypass the Recycle Bin and do a hard delete. Note that purgeSchemaOnDelete will be ignored unless
deleteSchema is
true.
- Parameters:
deleteSchema - whether the schema for this application should be deletedpurgeSchemaOnDelete - if purgeSchemaOnDelete is true,
schema objects will bypass the Recycle Bin and be hard deleted,
if false, schema objects will be placed in the Recycle Bin
getDeleteSchema
public boolean getDeleteSchema()
- Returns:
true if schema should be deleted, optionally skip Recycle Bin by purgeOnDelete
getPurgeSchemaOnDelete
public boolean getPurgeSchemaOnDelete()
- Returns:
true if getDeleteSchema() is true and schema should bypass the Recycle Bin
Copyright © 2011. All Rights Reserved.