public class OUpdatableResult extends OResultInternal
Modifier and Type | Field and Description |
---|---|
protected OResultInternal |
previousValue |
content, metadata, temporaryContent
Constructor and Description |
---|
OUpdatableResult(OElement element) |
Modifier and Type | Method and Description |
---|---|
Optional<OElement> |
getElement() |
<T> T |
getProperty(String name)
returns a property from the result
|
Set<String> |
getPropertyNames() |
boolean |
hasProperty(String propName) |
boolean |
isElement() |
void |
removeProperty(String name) |
void |
setProperty(String name,
Object value) |
OElement |
toElement() |
addMetadata, bindToCache, clearMetadata, equals, getBlob, getBlobProperty, getEdgeProperty, getElementProperty, getIdentity, getMetadata, getMetadataKeys, getRecord, getTemporaryProperties, getTemporaryProperty, getVertexProperty, hashCode, isBlob, isProjection, removeMetadata, setElement, setMetadata, setTemporaryProperty, toString
protected OResultInternal previousValue
public OUpdatableResult(OElement element)
public <T> T getProperty(String name)
OResult
getProperty
in interface OResult
getProperty
in class OResultInternal
name
- the property nameOResult.getElementProperty(String)
OResult.getVertexProperty(String)
OResult.getEdgeProperty(String)
OResult.getBlobProperty(String)
public Set<String> getPropertyNames()
getPropertyNames
in interface OResult
getPropertyNames
in class OResultInternal
public boolean hasProperty(String propName)
hasProperty
in interface OResult
hasProperty
in class OResultInternal
public boolean isElement()
isElement
in interface OResult
isElement
in class OResultInternal
public Optional<OElement> getElement()
getElement
in interface OResult
getElement
in class OResultInternal
public OElement toElement()
toElement
in interface OResult
toElement
in class OResultInternal
public void setProperty(String name, Object value)
setProperty
in class OResultInternal
public void removeProperty(String name)
removeProperty
in class OResultInternal
Copyright © 2009–2020 OrientDB. All rights reserved.