本文整理了Java中xdi2.core.Graph.setDeepNode()
方法的一些代码示例,展示了Graph.setDeepNode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Graph.setDeepNode()
方法的具体详情如下:
包路径:xdi2.core.Graph
类名称:Graph
方法名:setDeepNode
暂无
代码示例来源:origin: projectdanube/xdi2
/**
* When a relation is created, check if the target node has to be created too.
*/
protected Node setRelationSetTargetNode(XDIAddress targetXDIAddress) {
return this.getGraph().setDeepNode(targetXDIAddress);
}
代码示例来源:origin: projectdanube/xdi2
@Override
public void executeSetOnAddress(XDIAddress targetXDIAddress, SetOperation operation, Graph operationResultGraph, ExecutionContext executionContext) throws Xdi2MessagingException {
this.getGraph().setDeepNode(targetXDIAddress);
}
代码示例来源:origin: projectdanube/xdi2
/**
* Factory method that finds or creates an XDI link contract template for a graph.
* @return The XDI link contract template.
*/
public static LinkContractTemplate findLinkContractTemplate(Graph graph, XDIAddress templateAuthorityAndId, boolean create) {
XDIAddress linkContractTemplateXDIAddress = createLinkContractTemplateXDIAddress(templateAuthorityAndId);
ContextNode linkContractTemplateContextNode = create ? (ContextNode) graph.setDeepNode(linkContractTemplateXDIAddress) : (ContextNode) graph.getDeepNode(linkContractTemplateXDIAddress, true);
if (linkContractTemplateContextNode == null) return null;
return new LinkContractTemplate(XdiEntitySingleton.Variable.fromContextNode(linkContractTemplateContextNode));
}
内容来源于网络,如有侵权,请联系作者删除!