TRaw - the raw value type for this propertyTGraph - the value type presented to Vertexium for this propertypublic abstract class VisalloPropertyBase<TRaw,TGraph> extends Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
VisalloPropertyBase.RawConverter |
| Modifier | Constructor and Description |
|---|---|
protected |
VisalloPropertyBase(String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyName() |
TRaw |
getPropertyValue(org.vertexium.Property property) |
protected com.google.common.base.Function<Object,TRaw> |
getRawConverter() |
boolean |
isSameName(org.vertexium.Property property) |
boolean |
isSameName(String propertyName) |
String |
toString() |
abstract TRaw |
unwrap(Object value)
Convert the Vertexium value to its original raw type.
|
abstract TGraph |
wrap(TRaw value)
Convert the raw value to an appropriate value for storage
in Vertexium.
|
protected VisalloPropertyBase(String propertyName)
public abstract TGraph wrap(TRaw value)
public abstract TRaw unwrap(Object value)
public final String getPropertyName()
public boolean isSameName(org.vertexium.Property property)
public boolean isSameName(String propertyName)
public TRaw getPropertyValue(org.vertexium.Property property)
Copyright © 2013–2016 V5 Analytics. All rights reserved.