| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2007-2009 Sun Microsystems, Inc. |
| | | * Copyright 2007-2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.server.admin; |
| | |
| | | * definition is the {@link TopCfgDefn}. |
| | | */ |
| | | public final boolean isTop() { |
| | | // Casting to Object and instanceof check are required |
| | | // to workaround a bug in JDK versions prior to 1.5.0_08. |
| | | return (this instanceof TopCfgDefn); |
| | | } |
| | | |
| | |
| | | propertyDefinitions.put(propName, d); |
| | | allPropertyDefinitions.put(propName, d); |
| | | |
| | | if (d instanceof AggregationPropertyDefinition) { |
| | | if (d instanceof AggregationPropertyDefinition<?,?>) { |
| | | AggregationPropertyDefinition<?, ?> apd = |
| | | (AggregationPropertyDefinition<?, ?>) d; |
| | | aggregationPropertyDefinitions.put(propName, apd); |