/** * <p> * Creates a new instance of DefaultServerEntry, with registries. * </p> * <p> * No attributes will be created. * </p> * * @param registries The reference to the global registries */ public DefaultServerEntry( SchemaManager schemaManager ) { this.schemaManager = schemaManager; dn = DN.EMPTY_DN; // Initialize the ObjectClass object initObjectClassAT( schemaManager ); }
/** * <p> * Creates a new instance of DefaultServerEntry, with a * DN and registries. * </p> * <p> * No attributes will be created. * </p> * * @param registries The reference to the global registries * @param dn The DN for this serverEntry. Can be null. */ public DefaultServerEntry( SchemaManager schemaManager, DN dn ) { if ( dn == null ) { dn = DN.EMPTY_DN; } else { this.dn = dn; } this.schemaManager = schemaManager; // Initialize the ObjectClass object initObjectClassAT( schemaManager ); }
/** * Creates a new instance of DefaultServerEntry, with a * DN, registries and a list of IDs. * <p> * No attributes will be created except the ObjectClass attribute, * which will contains "top". * <p> * If any of the AttributeType does not exist, they are simply discarded. * * @param registries The reference to the global registries * @param dn The DN for this serverEntry. Can be null. * @param upIds The list of attributes to create. */ public DefaultServerEntry( SchemaManager schemaManager, DN dn, String... upIds ) { if ( dn == null ) { dn = DN.EMPTY_DN; } else { this.dn = dn; } this.schemaManager = schemaManager; initObjectClassAT( schemaManager ); set( upIds ); }
initObjectClassAT( schemaManager );
initObjectClassAT( schemaManager );
initObjectClassAT( schemaManager );
initObjectClassAT( schemaManager );