public class ReferenceTypeMapping extends Object implements TypeMapping
| Constructor and Description |
|---|
ReferenceTypeMapping(org.javersion.path.PropertyPath targetPath,
ObjectTypeMapping<?> objectTypeMapping) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(Optional<org.javersion.path.PropertyPath> path,
LocalTypeDescriptor localTypeDescriptor) |
ValueType |
describe(Optional<org.javersion.path.PropertyPath> path,
org.javersion.reflect.TypeDescriptor type,
DescribeContext context) |
static ValueType |
describeReference(org.javersion.reflect.TypeDescriptor type,
org.javersion.path.PropertyPath targetPath,
DescribeContext context) |
static boolean |
isReferencePath(org.javersion.path.PropertyPath targetPath,
org.javersion.path.PropertyPath path) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetValueTypepublic ReferenceTypeMapping(org.javersion.path.PropertyPath targetPath,
ObjectTypeMapping<?> objectTypeMapping)
public boolean applies(Optional<org.javersion.path.PropertyPath> path, LocalTypeDescriptor localTypeDescriptor)
applies in interface TypeMappingpublic ValueType describe(Optional<org.javersion.path.PropertyPath> path, org.javersion.reflect.TypeDescriptor type, DescribeContext context)
describe in interface TypeMappingpublic static boolean isReferencePath(org.javersion.path.PropertyPath targetPath,
org.javersion.path.PropertyPath path)
public static ValueType describeReference(org.javersion.reflect.TypeDescriptor type, org.javersion.path.PropertyPath targetPath, DescribeContext context)
Copyright © 2015. All rights reserved.