Searched defs:relationshipField (Results 1 - 5 of 5) sorted by relevance
/forgerock/openidm-v4/openidm-core/src/main/java/org/forgerock/openidm/managed/ |
H A D | ForwardRelationshipValidator.java | 42 * @param relationshipField the field to validate/retrieve. 45 protected ReadRequest newValidateRequest(JsonValue relationshipField) { argument 46 return Requests.newReadRequest(relationshipField.get(REFERENCE_ID).asString()); 50 protected void validateSuccessfulReadResponse(JsonValue relationshipField, ResourceResponse response) { argument
|
H A D | RelationshipValidator.java | 62 * @param relationshipField the field to validate. 65 abstract ReadRequest newValidateRequest(JsonValue relationshipField); argument 70 * @param relationshipField The field that is being validated. 74 abstract void validateSuccessfulReadResponse(JsonValue relationshipField, ResourceResponse response) argument 78 * Validates that the relationshipField will not create an invalid condition. 79 * Does a read on the relationshipField. 81 * @param relationshipField the field to be validated. 85 final void validateRelationship(final JsonValue relationshipField, Context context) argument 87 if (relationshipField.isCollection()) { 88 String message = format("''{0}'' is invalid as a relationship reference", relationshipField [all...] |
H A D | ReverseRelationshipValidator.java | 32 * If the relationship is not found then the relationshipField is invalid, otherwise then the reverse field's 49 * The read request will lookup the relationshipField and ask for the reverse property to validate its setting 52 * @param relationshipField the field to validate. 55 protected ReadRequest newValidateRequest(JsonValue relationshipField) { argument 56 return Requests.newReadRequest(relationshipField.get(REFERENCE_ID).asString()) 64 * @param relationshipField the field to be validated. 68 protected void validateSuccessfulReadResponse(JsonValue relationshipField, ResourceResponse resourceResponse) argument 73 String ref = relationshipField.get(REFERENCE_ID).asString(); 76 relationshipField.getPointer(), ref, reversePropertyName, 81 relationshipField [all...] |
H A D | RelationshipProvider.java | 280 * @param relationshipField Field on the resource representing the provided relationship 284 final ResourcePath resourcePath, final SchemaField relationshipField, final ActivityLogger activityLogger, 286 if (relationshipField.isArray()) { 287 return new CollectionRelationshipProvider(connectionFactory, resourcePath, relationshipField, 290 return new SingletonRelationshipProvider(connectionFactory, resourcePath, relationshipField, 283 newProvider(final ConnectionFactory connectionFactory, final ResourcePath resourcePath, final SchemaField relationshipField, final ActivityLogger activityLogger, final ManagedObjectSyncService managedObjectSyncService) argument
|
/forgerock/openidm-v4/openidm-core/src/test/java/org/forgerock/openidm/managed/ |
H A D | SchemaFieldTest.java | 24 private static SchemaField relationshipField; field in class:SchemaFieldTest 42 relationshipField = new SchemaField("field1", 140 assertTrue(relationshipField.isRelationship()); 160 assertTrue(!relationshipField.isReturnedByDefault()); 188 assertTrue(!relationshipField.isArray()); 196 assertFalse(relationshipField.isValidationRequired());
|
Completed in 48 milliseconds