public interface TitanProperty extends TitanRelation
TitanRelation
connecting a vertex to an attribute value.
TitanProperty extends TitanRelation
, with methods for retrieving the property's attribute and key.TitanRelation
,
TitanKey
isProperty
Modifier and Type | Method and Description |
---|---|
TitanKey |
getPropertyKey()
Returns the property key of this property
|
Object |
getValue()
Returns the attribute value of this property.
|
<O> O |
getValue(Class<O> clazz)
Returns the attribute value of this property cast to the specified class.
|
TitanVertex |
getVertex()
Returns the vertex on which this property is incident.
|
getDirection, getProperty, getType, isEdge, isIncidentOn, isLoop, isModifiable, isProperty, setProperty
getId, getID, getProperty, getProperty, hasId, isLoaded, isNew, isRemoved, remove, removeProperty, removeProperty, setProperty, setProperty
compareTo
TitanKey getPropertyKey()
TitanKey
TitanVertex getVertex()
Object getValue()
<O> O getValue(Class<O> clazz)
O
- Class to cast the attribute toclazz
- Class to cast the attribute toClassCastException
- if the attribute cannot be cast to clazz.Copyright © 2012-2013. All Rights Reserved.