Class ImportDescriptor.Policy
java.lang.Object
org.exolab.castor.dsml.ImportDescriptor.Policy
- Enclosing class:
ImportDescriptor
- Version:
- $Revision: 8145 $ $Date: 2006-04-25 15:08:23 -0600 (Tue, 25 Apr 2006) $
- Author:
- Assaf Arkin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUnder theDefaultPolicypolicy.static final intUnder theDeleteEmptypolicy, entries without attributes in the DSML are deleted from the Ldap.static final intUnder theNewAttrOnlypolicy, new attributes are created according to the DSML, but attributes that already have a value in the ldap are not updated.static final intUnder theRefreshOnlypolicy, DSML entries that do not already exist in the Ldap are not created.static final intUnder theReplaceAttrpolicy, attributes in the Ldap that are not specified in the DSML are deleted.static final intUnder theUpdateOnlypolicy, DSML attributes that do not already exist in the Ldap are not created. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DELETE_EMPTY
public static final int DELETE_EMPTYUnder theDeleteEmptypolicy, entries without attributes in the DSML are deleted from the Ldap.- See Also:
-
REPLACE_ATTRIBUTE
public static final int REPLACE_ATTRIBUTEUnder theReplaceAttrpolicy, attributes in the Ldap that are not specified in the DSML are deleted.- See Also:
-
REFRESH_ONLY
public static final int REFRESH_ONLYUnder theRefreshOnlypolicy, DSML entries that do not already exist in the Ldap are not created.- See Also:
-
NEW_ATTRIBUTE_ONLY
public static final int NEW_ATTRIBUTE_ONLYUnder theNewAttrOnlypolicy, new attributes are created according to the DSML, but attributes that already have a value in the ldap are not updated.- See Also:
-
UPDATE_ONLY
public static final int UPDATE_ONLYUnder theUpdateOnlypolicy, DSML attributes that do not already exist in the Ldap are not created.- See Also:
-
DEFAULT_POLICY
public static final int DEFAULT_POLICYUnder theDefaultPolicypolicy.- See Also:
-
-
Constructor Details
-
Policy
public Policy()
-