Searched defs:propertyDef (Results 1 - 6 of 6) sorted by relevance

/forgerock/opendj-v3/opendj-config/src/test/java/org/forgerock/opendj/config/
H A DTestCfg.java150 * @param propertyDef
155 public static void initializePropertyDefinition(PropertyDefinition<?> propertyDef) throws Exception { argument
156 propertyDef.initialize();
157 propertyDef.getDefaultBehaviorProvider().initialize();
H A DConfigurationMock.java189 private PropertyDefinition<T> propertyDef; field in class:ConfigurationMock.MockProviderVisitor
191 MockProviderVisitor(PropertyDefinition<T> propertyDef) { argument
192 this.propertyDef = propertyDef;
216 values.add(propertyDef.decodeValue(stringValue));
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/
H A DConfigurationMock.java327 private PropertyDefinition<T> propertyDef; field in class:ConfigurationMock.MockProviderVisitor
329 MockProviderVisitor(PropertyDefinition<T> propertyDef) { argument
330 this.propertyDef = propertyDef;
354 values.add(propertyDef.decodeValue(stringValue));
378 private org.opends.server.admin.PropertyDefinition<T> propertyDef; field in class:ConfigurationMock.LegacyMockProviderVisitor
380 LegacyMockProviderVisitor(org.opends.server.admin.PropertyDefinition<T> propertyDef) { argument
381 this.propertyDef = propertyDef;
405 values.add(propertyDef
[all...]
/forgerock/opendj-v3/opendj-config/src/main/java/org/forgerock/opendj/config/client/ldap/
H A DLDAPManagedObject.java98 public <P> Object visitUnknown(PropertyDefinition<P> propertyDef, P value, Void p) { argument
99 return propertyDef.encodeValue(value);
204 for (PropertyDefinition<?> propertyDef : definition.getAllPropertyDefinitions()) {
205 String attrID = driver.getLDAPProfile().getAttributeName(definition, propertyDef);
207 encodeProperty(attribute, propertyDef);
287 private <P> void encodeProperty(Attribute attribute, PropertyDefinition<P> propertyDef) { argument
289 Property<P> property = getProperty(propertyDef);
290 if (propertyDef.hasOption(PropertyOption.MANDATORY)) {
295 attribute.add(propertyDef.accept(visitor, value, null));
299 attribute.add(propertyDef
[all...]
H A DLDAPDriver.java224 ManagedObjectPath<C, S> path, PropertyDefinition<P> propertyDef) throws DefinitionDecodingException,
229 PropertyDefinition<?> tmp = d.getPropertyDefinition(propertyDef.getName());
230 if (tmp != propertyDef) {
231 throw new IllegalArgumentException("The property " + propertyDef.getName() + " is not associated with a "
247 propertyDef = (PropertyDefinition<P>) objectDef.getPropertyDefinition(propertyDef.getName());
249 String attrID = profile.getAttributeName(objectDef, propertyDef);
254 SortedSet<P> values = new TreeSet<>(propertyDef);
257 P value = ValueDecoder.decode(propertyDef, byteValue);
263 if (values.size() > 1 && !propertyDef
223 getPropertyValues( ManagedObjectPath<C, S> path, PropertyDefinition<P> propertyDef) argument
457 decodeProperty(PropertySet newProperties, ManagedObjectPath<?, ?> path, PropertyDefinition<P> propertyDef, Attribute attribute) argument
[all...]
/forgerock/opendj-v3/opendj-config/src/main/java/org/forgerock/opendj/config/server/
H A DServerManagementContext.java172 private Collection<T> find(ManagedObjectPath<?, ?> path, PropertyDefinition<T> propertyDef) { argument
174 nextProperty = propertyDef;
182 if (values.size() > 1 && !propertyDef.hasOption(PropertyOption.MULTI_VALUED)) {
183 throw defaultBehaviorException(propertyDef, propertyIsSingleValuedException(propertyDef));
287 * @param propertyDef
296 public static <P> P decode(PropertyDefinition<P> propertyDef, String value) { argument
297 return propertyDef.castValue(propertyDef.accept(new ValueDecoder(), value));
440 * @param propertyDef
455 getPropertyValues( ManagedObjectPath<C, S> path, PropertyDefinition<P> propertyDef) argument
677 decodeProperty(ManagedObjectPath<?, ?> path, PropertyDefinition<T> propertyDef, List<String> attributeValues, Entry newConfigEntry) argument
[all...]

Completed in 35 milliseconds