public interface ExistingElementMutation<T extends Element> extends ElementMutation<T>
DEFAULT_KEY| Modifier and Type | Method and Description |
|---|---|
ExistingElementMutation<T> |
alterElementVisibility(Visibility visibility)
Alters the visibility of the element (vertex or edge).
|
ExistingElementMutation<T> |
alterPropertyVisibility(Property property,
Visibility visibility)
Alters the visibility of a property.
|
ExistingElementMutation<T> |
alterPropertyVisibility(String key,
String name,
Visibility visibility)
Alters the visibility of a property.
|
ExistingElementMutation<T> |
alterPropertyVisibility(String name,
Visibility visibility)
Alters the visibility of a property.
|
T |
getElement()
Gets the element this mutation is affecting.
|
ExistingElementMutation<T> |
removeProperties(String name)
Removes all default properties with that name irregardless of visibility.
|
ExistingElementMutation<T> |
removeProperties(String key,
String name)
Removes all properties with this key and name irregardless of visibility.
|
ExistingElementMutation<T> |
setPropertyMetadata(Property property,
String metadataName,
Object newValue,
Visibility visibility)
Sets a property metadata value on a property.
|
ExistingElementMutation<T> |
setPropertyMetadata(String propertyName,
String metadataName,
Object newValue,
Visibility visibility)
Sets a property metadata value on a property.
|
ExistingElementMutation<T> |
setPropertyMetadata(String propertyKey,
String propertyName,
String metadataName,
Object newValue,
Visibility visibility)
Sets a property metadata value on a property.
|
addPropertyValue, addPropertyValue, getProperties, getPropertyRemoves, removeProperty, removeProperty, removeProperty, save, setIndexHint, setProperty, setPropertyExistingElementMutation<T> alterPropertyVisibility(Property property, Visibility visibility)
property - The property to mutate.visibility - The new visibility.ExistingElementMutation<T> alterPropertyVisibility(String key, String name, Visibility visibility)
key - The key of a multivalued property.name - The name of the property to alter the visibility of.visibility - The new visibility.ExistingElementMutation<T> alterPropertyVisibility(String name, Visibility visibility)
name - The name of the property to alter the visibility of.visibility - The new visibility.ExistingElementMutation<T> alterElementVisibility(Visibility visibility)
visibility - The new visibility.ExistingElementMutation<T> setPropertyMetadata(Property property, String metadataName, Object newValue, Visibility visibility)
property - The property to mutate.metadataName - The name of the metadata.newValue - The new value.visibility - The visibility of the metadata itemExistingElementMutation<T> setPropertyMetadata(String propertyKey, String propertyName, String metadataName, Object newValue, Visibility visibility)
propertyKey - The key of a multivalued property.propertyName - The name of the property.metadataName - The name of the metadata.newValue - The new value.visibility - The visibility of the metadata itemExistingElementMutation<T> setPropertyMetadata(String propertyName, String metadataName, Object newValue, Visibility visibility)
propertyName - The name of the property.metadataName - The name of the metadata.newValue - The new value.visibility - The visibility of the metadata itemExistingElementMutation<T> removeProperties(String name)
name - the property name to remove.ExistingElementMutation<T> removeProperties(String key, String name)
key - the key of the property to remove.name - the name of the property to remove.T getElement()
Copyright © 2014–2015. All rights reserved.