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
static int DefaultPolicy
          Under the DefaultPolicy policy,
static int DeleteEmpty
          Under the DeleteEmpty policy, entries without attributes in the DSML are deleted from the Ldap.
static int NewAttrOnly
          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 int RefreshOnly
          Under the RefreshOnly policy, DSML entries that do not already exist in the Ldap are not created.
static int ReplaceAttr
          Under the ReplaceAttr policy, attributes in the Ldap that are not specified in the DSML are deleted.
static int UpdateOnly
          Under the UpdateOnly policy, DSML attributes that do not already exist in the Ldap are not created.
 
Constructor Summary
ImportDescriptor.Policy()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DeleteEmpty

public static final int DeleteEmpty
Under the DeleteEmpty policy, entries without attributes in the DSML are deleted from the Ldap.

ReplaceAttr

public static final int ReplaceAttr
Under the ReplaceAttr policy, attributes in the Ldap that are not specified in the DSML are deleted.

RefreshOnly

public static final int RefreshOnly
Under the RefreshOnly policy, DSML entries that do not already exist in the Ldap are not created.

NewAttrOnly

public static final int NewAttrOnly
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.

UpdateOnly

public static final int UpdateOnly
Under the UpdateOnly policy, DSML attributes that do not already exist in the Ldap are not created.

DefaultPolicy

public static final int DefaultPolicy
Under the DefaultPolicy policy,
Constructor Detail

ImportDescriptor.Policy

public ImportDescriptor.Policy()


Intalio Inc. (C) 1999-2001. All rights reserved http://www.intalio.com