Package org.exolab.castor.dsml
Class ImportDescriptor.Policy
- java.lang.Object
-
- org.exolab.castor.dsml.ImportDescriptor.Policy
-
- Enclosing class:
- ImportDescriptor
public static class ImportDescriptor.Policy extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_POLICYUnder theDefaultPolicypolicy.static intDELETE_EMPTYUnder theDeleteEmptypolicy, entries without attributes in the DSML are deleted from the Ldap.static intNEW_ATTRIBUTE_ONLYUnder theNewAttrOnlypolicy, new attributes are created according to the DSML, but attributes that already have a value in the ldap are not updated.static intREFRESH_ONLYUnder theRefreshOnlypolicy, DSML entries that do not already exist in the Ldap are not created.static intREPLACE_ATTRIBUTEUnder theReplaceAttrpolicy, attributes in the Ldap that are not specified in the DSML are deleted.static intUPDATE_ONLYUnder theUpdateOnlypolicy, DSML attributes that do not already exist in the Ldap are not created.
-
Constructor Summary
Constructors Constructor Description Policy()
-
-
-
Field Detail
-
DELETE_EMPTY
public static final int DELETE_EMPTY
Under theDeleteEmptypolicy, entries without attributes in the DSML are deleted from the Ldap.- See Also:
- Constant Field Values
-
REPLACE_ATTRIBUTE
public static final int REPLACE_ATTRIBUTE
Under theReplaceAttrpolicy, attributes in the Ldap that are not specified in the DSML are deleted.- See Also:
- Constant Field Values
-
REFRESH_ONLY
public static final int REFRESH_ONLY
Under theRefreshOnlypolicy, DSML entries that do not already exist in the Ldap are not created.- See Also:
- Constant Field Values
-
NEW_ATTRIBUTE_ONLY
public static final int NEW_ATTRIBUTE_ONLY
Under theNewAttrOnlypolicy, new attributes are created according to the DSML, but attributes that already have a value in the ldap are not updated.- See Also:
- Constant Field Values
-
UPDATE_ONLY
public static final int UPDATE_ONLY
Under theUpdateOnlypolicy, DSML attributes that do not already exist in the Ldap are not created.- See Also:
- Constant Field Values
-
DEFAULT_POLICY
public static final int DEFAULT_POLICY
Under theDefaultPolicypolicy.- See Also:
- Constant Field Values
-
-