| Modifier and Type | Class and Description |
|---|---|
| public static interface | ObjectGraphBuilder.ChildPropertySetter
Strategy for setting a child node on its parent. |
| public static interface | ObjectGraphBuilder.ClassNameResolver
Strategy for resolving a classname. |
| public static class | ObjectGraphBuilder.DefaultChildPropertySetter
Default impl that calls parent.propertyName = child If parent.propertyName is a Collection it will try to add child to the collection. |
| public static class | ObjectGraphBuilder.DefaultClassNameResolver
Default impl that capitalizes the classname. |
| public static class | ObjectGraphBuilder.DefaultIdentifierResolver
Default impl, always returns 'id' |
| public static class | ObjectGraphBuilder.DefaultNewInstanceResolver
Default impl that calls Class.newInstance() |
| public static class | ObjectGraphBuilder.DefaultReferenceResolver
Default impl, always returns 'refId' |
| public static class | ObjectGraphBuilder.DefaultRelationNameResolver
Default impl that returns parentName and childName accordingly. |
| public static interface | ObjectGraphBuilder.IdentifierResolver
Strategy for picking the correct synthetic identifier. |
| public static interface | ObjectGraphBuilder.NewInstanceResolver
Strategy for creating new instances of a class. |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| public static interface | ObjectGraphBuilder.ReferenceResolver
Strategy for picking the correct synthetic reference identifier. |
| public class | ObjectGraphBuilder.ReflectionClassNameResolver
Build objects using reflection to resolve class names. |
| public static interface | ObjectGraphBuilder.RelationNameResolver
Strategy for resolving a relationship property name. |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private ObjectGraphBuilder. | |
| private ClassLoader | |
| public static final String | |
| public static final String | |
| public static final String | |
| private ObjectGraphBuilder. | |
| private ObjectGraphBuilder. | |
| public static final String | |
| private final List | |
| private boolean | |
| private ObjectGraphBuilder. | |
| public static final String | |
| public static final String | |
| public static final String | |
| private final ObjectGraphBuilder. | |
| private final ObjectGraphBuilder. | |
| private final ObjectGraphBuilder. | |
| private static final Pattern | |
| private ObjectGraphBuilder. | |
| private ObjectGraphBuilder. | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public ObjectGraphBuilder. | |
| public ClassLoader | |
| public ObjectGraphBuilder. | |
| public ObjectGraphBuilder. | |
| public ObjectGraphBuilder. | |
| public boolean | |
| private static String | |
| protected void | postInstantiate(Object
the name of the node name, Map<K, V> the attributes for the node attributes, Object the object created by the node factory node)Overrides groovy. |
| protected void | preInstantiate(Object
the name of the node name, Map<K, V> the attributes of the node attributes, Object the value argument(s) of the node value)
A hook before the factory creates the node.
|
| protected Factory | resolveFactory(Object
the name of the factory name, Map<K, V> the attributes from the node attributes, Object value arguments from te node value)
This is a hook for subclasses to plugin a custom strategy for mapping
names to factories.
|
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setLazyReferencesAllowed(boolean lazyReferencesAllowed)
Sets whether references can be resolved lazily or not. |
| public void | |
| public void | |
| public void | setRelationNameResolver(ObjectGraphBuilder.
Sets the current RelationNameResolver. |