public class TermMentionBuilder extends Object
| Constructor and Description |
|---|
TermMentionBuilder() |
TermMentionBuilder(org.vertexium.Vertex existingTermMention,
org.vertexium.Vertex outVertex)
Copy an existing term mention.
|
| Modifier and Type | Method and Description |
|---|---|
TermMentionBuilder |
conceptIri(String conceptIri)
The concept type of this term mention.
|
TermMentionBuilder |
end(long end)
The end offset within the property text that this term mention appears.
|
TermMentionBuilder |
outVertex(org.vertexium.Vertex outVertex)
The vertex that contains this term mention (ie Document, Html page, etc).
|
TermMentionBuilder |
process(String process)
The process that created this term mention.
|
TermMentionBuilder |
propertyKey(String propertyKey)
The property key of the
VisalloProperties.TEXT that this term mention references. |
TermMentionBuilder |
propertyName(String propertyName)
The property name of the
VisalloProperties.TEXT that this term mention references. |
TermMentionBuilder |
resolvedTo(String resolvedToVertexId,
String resolvedEdgeId)
If this is a resolved term mention.
|
TermMentionBuilder |
resolvedTo(org.vertexium.Vertex resolvedToVertex,
org.vertexium.Edge resolvedEdge)
If this is a resolved term mention.
|
org.vertexium.Vertex |
save(org.vertexium.Graph graph,
VisibilityTranslator visibilityTranslator,
User user,
org.vertexium.Authorizations authorizations)
Saves the term mention to the graph.
|
TermMentionBuilder |
snippet(String snippet) |
TermMentionBuilder |
start(long start)
The start offset within the property text that this term mention appears.
|
TermMentionBuilder |
title(String title)
The title/text of this term mention.
|
TermMentionBuilder |
visibilityJson(String visibilityJsonString)
Visibility JSON string.
|
TermMentionBuilder |
visibilityJson(VisibilityJson visibilitySource)
Visibility JSON object.
|
public TermMentionBuilder()
public TermMentionBuilder(org.vertexium.Vertex existingTermMention,
org.vertexium.Vertex outVertex)
existingTermMention - The term mention you would like to copy.outVertex - The vertex that contains this term mention (ie Document, Html page, etc).public TermMentionBuilder start(long start)
public TermMentionBuilder end(long end)
public TermMentionBuilder propertyKey(String propertyKey)
VisalloProperties.TEXT that this term mention references.public TermMentionBuilder propertyName(String propertyName)
VisalloProperties.TEXT that this term mention references.public TermMentionBuilder visibilityJson(String visibilityJsonString)
public TermMentionBuilder visibilityJson(VisibilityJson visibilitySource)
public TermMentionBuilder resolvedTo(org.vertexium.Vertex resolvedToVertex, org.vertexium.Edge resolvedEdge)
resolvedToVertex - The vertex this term mention resolves to.resolvedEdge - The edge that links the source vertex to the resolved vertex.public TermMentionBuilder resolvedTo(String resolvedToVertexId, String resolvedEdgeId)
resolvedToVertexId - The vertex id this term mention resolves to.resolvedEdgeId - The edge id that links the source vertex to the resolved vertex.public TermMentionBuilder process(String process)
public TermMentionBuilder outVertex(org.vertexium.Vertex outVertex)
public TermMentionBuilder title(String title)
public TermMentionBuilder snippet(String snippet)
public TermMentionBuilder conceptIri(String conceptIri)
public org.vertexium.Vertex save(org.vertexium.Graph graph,
VisibilityTranslator visibilityTranslator,
User user,
org.vertexium.Authorizations authorizations)
Copyright © 2013–2016 V5 Analytics. All rights reserved.