Class ImportDescriptor.Policy

java.lang.Object
org.exolab.castor.dsml.ImportDescriptor.Policy
Enclosing class:
ImportDescriptor

public static class ImportDescriptor.Policy extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Under the DefaultPolicy policy.
    static final int
    Under the DeleteEmpty policy, entries without attributes in the DSML are deleted from the Ldap.
    static final int
    Under the NewAttrOnly policy, new attributes are created according to the DSML, but attributes that already have a value in the ldap are not updated.
    static final int
    Under the RefreshOnly policy, DSML entries that do not already exist in the Ldap are not created.
    static final int
    Under the ReplaceAttr policy, attributes in the Ldap that are not specified in the DSML are deleted.
    static final int
    Under the UpdateOnly policy, DSML attributes that do not already exist in the Ldap are not created.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DELETE_EMPTY

      public static final int DELETE_EMPTY
      Under the DeleteEmpty policy, entries without attributes in the DSML are deleted from the Ldap.
      See Also:
    • REPLACE_ATTRIBUTE

      public static final int REPLACE_ATTRIBUTE
      Under the ReplaceAttr policy, attributes in the Ldap that are not specified in the DSML are deleted.
      See Also:
    • REFRESH_ONLY

      public static final int REFRESH_ONLY
      Under the RefreshOnly policy, DSML entries that do not already exist in the Ldap are not created.
      See Also:
    • NEW_ATTRIBUTE_ONLY

      public static final int NEW_ATTRIBUTE_ONLY
      Under the NewAttrOnly policy, 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_ONLY
      Under the UpdateOnly policy, DSML attributes that do not already exist in the Ldap are not created.
      See Also:
    • DEFAULT_POLICY

      public static final int DEFAULT_POLICY
      Under the DefaultPolicy policy.
      See Also:
  • Constructor Details

    • Policy

      public Policy()