本文整理了Java中org.vertexium.Element.deleteProperty()
方法的一些代码示例,展示了Element.deleteProperty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Element.deleteProperty()
方法的具体详情如下:
包路径:org.vertexium.Element
类名称:Element
方法名:deleteProperty
[英]Permanently deletes a property given it's key and name from the element. Only properties which you have access to can be deleted using this method.
[中]从元素中永久删除给定键和名称的属性。使用此方法只能删除您有权访问的属性。
代码示例来源:origin: org.vertexium/vertexium-core
/**
* Permanently deletes a property given it's key and name from the element. Only properties which you have access
* to can be deleted using this method.
*
* @param key The property key.
* @param name The property name.
*/
default void deleteProperty(String key, String name, Authorizations authorizations) {
deleteProperty(key, name, null, authorizations);
}
代码示例来源:origin: visallo/vertexium
/**
* Permanently deletes a property given it's key and name from the element. Only properties which you have access
* to can be deleted using this method.
*
* @param key The property key.
* @param name The property name.
*/
default void deleteProperty(String key, String name, Authorizations authorizations) {
deleteProperty(key, name, null, authorizations);
}
代码示例来源:origin: org.vertexium/vertexium-blueprints
@Override
public <T> T removeProperty(String key) {
T old = getProperty(key);
getVertexiumElement().deleteProperty(DEFAULT_PROPERTY_ID, key, authorizations);
return old;
}
代码示例来源:origin: org.vertexium/vertexium-core
/**
* Permanently deletes a property from the element. Only properties which you have access to can be deleted using
* this method.
*
* @param property The property to delete.
*/
default void deleteProperty(Property property, Authorizations authorizations) {
deleteProperty(property.getKey(), property.getName(), property.getVisibility(), authorizations);
}
代码示例来源:origin: visallo/vertexium
/**
* Permanently deletes a property from the element. Only properties which you have access to can be deleted using
* this method.
*
* @param property The property to delete.
*/
default void deleteProperty(Property property, Authorizations authorizations) {
deleteProperty(property.getKey(), property.getName(), property.getVisibility(), authorizations);
}
代码示例来源:origin: org.vertexium/vertexium-core
/**
* Permanently deletes all properties with the given name that you have access to. Only properties which you have
* access to will be deleted.
*
* @param name The name of the property to delete.
*/
default void deleteProperties(String name, Authorizations authorizations) {
for (Property p : getProperties(name)) {
deleteProperty(p.getKey(), p.getName(), p.getVisibility(), authorizations);
}
}
代码示例来源:origin: visallo/vertexium
/**
* Permanently deletes all properties with the given name that you have access to. Only properties which you have
* access to will be deleted.
*
* @param name The name of the property to delete.
*/
default void deleteProperties(String name, Authorizations authorizations) {
for (Property p : getProperties(name)) {
deleteProperty(p.getKey(), p.getName(), p.getVisibility(), authorizations);
}
}
代码示例来源:origin: visallo/vertexium
public void delete() {
getE().deleteProperty(getKey(), getName(), getVisibility(), getAuthorizations());
getGraph().flush();
}
}
内容来源于网络,如有侵权,请联系作者删除!