public abstract static class VirtualUnit.Impl extends Object implements com.tinkerpop.frames.modules.javahandler.JavaHandlerContext<com.tinkerpop.blueprints.Vertex>, VirtualUnit
VirtualUnit.Impl
CHILD_COUNT
WATCHED_COUNT
Constructor and Description |
---|
Impl() |
Modifier and Type | Method and Description |
---|---|
boolean |
addChild(VirtualUnit child)
Add a child.
|
boolean |
addIncludedUnit(DocumentaryUnit unit)
Add a documentary unit to be included in this virtual unit.
|
Iterable<VirtualUnit> |
getAllChildren()
Fetch all child virtual units and their children
recursively.
|
Iterable<VirtualUnit> |
getAncestors() |
int |
getChildCount() |
Iterable<VirtualUnit> |
getChildren()
Get the child virtual units subordinate to this one.
|
boolean |
removeChild(VirtualUnit child)
Remove a child virtual unit from this one.
|
void |
removeIncludedUnit(DocumentaryUnit unit)
Remove a documentary unit item from this virtual unit.
|
void |
setAuthor(Accessor accessor)
Set the author of this virtual unit.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
frame, frame, frame, frame, frame, frame, frameEdges, frameEdges, frameEdges, frameEdges, frameVertices, frameVertices, g, gremlin, gremlin, it
getAuthor, getIncludedUnits, getParent, getRepositories, getVirtualDescriptions
addDescription, getDescriptions, removeDescription
getAllContainedItems, getContainedItems, getPermissionGrants, getPermissionScopes, idPath
getIdentifier
addAccessor, getAccessors, getHistory, getLatestEvent, getPermissionScope, getPermissionScopes, hasAccessRestriction, removeAccessor, setPermissionScope
getPermissionGrants
as, getId, getProperty, getProperty, getPropertyKeys, getType
getWatchedCount, getWatchers
getAllPriorVersions, getPriorVersion
addAnnotation, addAnnotationPart, getAnnotations
public void setAuthor(Accessor accessor)
VirtualUnit
setAuthor
in interface VirtualUnit
accessor
- a user or group framepublic void removeIncludedUnit(DocumentaryUnit unit)
VirtualUnit
removeIncludedUnit
in interface VirtualUnit
unit
- a documentary unit framepublic Iterable<VirtualUnit> getChildren()
VirtualUnit
getChildren
in interface VirtualUnit
public boolean addChild(VirtualUnit child)
VirtualUnit
addChild
in interface VirtualUnit
child
- The child collectionpublic boolean removeChild(VirtualUnit child)
VirtualUnit
removeChild
in interface VirtualUnit
child
- a virtual unit framepublic Iterable<VirtualUnit> getAllChildren()
VirtualUnit
getAllChildren
in interface VirtualUnit
public Iterable<VirtualUnit> getAncestors()
getAncestors
in interface VirtualUnit
public boolean addIncludedUnit(DocumentaryUnit unit)
VirtualUnit
addIncludedUnit
in interface VirtualUnit
unit
- a documentary unit framepublic int getChildCount()
getChildCount
in interface ItemHolder
getChildCount
in interface VirtualUnit
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.