public final class ReferenceType extends Object implements ScalarType
| Constructor and Description |
|---|
ReferenceType(IdentifiableType identifiableType,
org.javersion.path.PropertyPath targetRoot) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(org.javersion.path.PropertyTree propertyTree,
Object object,
ReadContext context) |
Object |
fromNodeId(org.javersion.path.PropertyPath.NodeId nodeId,
ReadContext context) |
Object |
instantiate(org.javersion.path.PropertyTree propertyTree,
Object value,
ReadContext context) |
boolean |
isReference() |
void |
serialize(org.javersion.path.PropertyPath path,
Object object,
WriteContext context) |
org.javersion.path.PropertyPath.NodeId |
toNodeId(Object object,
WriteContext writeContext) |
public ReferenceType(IdentifiableType identifiableType, org.javersion.path.PropertyPath targetRoot)
public void serialize(org.javersion.path.PropertyPath path,
Object object,
WriteContext context)
public Object instantiate(org.javersion.path.PropertyTree propertyTree, Object value, ReadContext context) throws Exception
instantiate in interface ValueTypeExceptionpublic void bind(org.javersion.path.PropertyTree propertyTree,
Object object,
ReadContext context)
throws Exception
public boolean isReference()
isReference in interface ValueTypepublic org.javersion.path.PropertyPath.NodeId toNodeId(Object object, WriteContext writeContext)
toNodeId in interface IdentifiableTypepublic Object fromNodeId(org.javersion.path.PropertyPath.NodeId nodeId, ReadContext context) throws Exception
fromNodeId in interface ScalarTypeExceptionCopyright © 2015. All rights reserved.