Class TraversableNode
java.lang.Object
ai.stapi.graph.attribute.AbstractAttributeContainer
ai.stapi.graph.traversableGraphElements.TraversableNode
- All Implemented Interfaces:
AttributeContainer,TraversableGraphElement,Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTraversableNode(UniqueIdentifier id, String nodeType) TraversableNode(UniqueIdentifier uniqueIdentifier, String nodeType, VersionedAttributeGroup attributeGroup, EdgeLoader edgeLoader) TraversableNode(String nodeType) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TraversableNodefrom(Node node, EdgeRepository edgeRepository) getEdges()protected intgetId()intprotected intgetIngoingEdges(String edgeType) getNeighborhoodGraph(int maxLimit) getOutgoingEdges(String edgeType) getType()inthashCode()protected AttributeContainerwithNewAttributes(VersionedAttributeGroup newAttributes) Methods inherited from class ai.stapi.graph.attribute.AbstractAttributeContainer
containsAttribute, containsAttribute, getAttribute, getAttributeCount, getAttributeValue, getFlattenAttributes, getIdlessHashCode, getVersionedAttribute, getVersionedAttributeList, getVersionedAttributes, guessBestName, hasAttribute, mergeAttributesWithAttributesOfMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.stapi.graph.AttributeContainer
containsAttribute, containsAttribute, getAttribute, getAttributeValue, getVersionedAttribute, getVersionedAttributes, hasAttribute
-
Constructor Details
-
TraversableNode
-
TraversableNode
-
TraversableNode
public TraversableNode(UniqueIdentifier uniqueIdentifier, String nodeType, VersionedAttributeGroup attributeGroup, EdgeLoader edgeLoader)
-
-
Method Details
-
from
-
add
- Specified by:
addin interfaceAttributeContainer- Overrides:
addin classAbstractAttributeContainer
-
getId
- Specified by:
getIdin interfaceTraversableGraphElement
-
getType
- Specified by:
getTypein interfaceTraversableGraphElement
-
getEdges
-
getOutgoingEdges
-
getIngoingEdges
-
getEdges
-
withNewAttributes
- Specified by:
withNewAttributesin classAbstractAttributeContainer
-
equals
- Overrides:
equalsin classAbstractAttributeContainer
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractAttributeContainer
-
getIdlessHashCodeWithEdges
public int getIdlessHashCodeWithEdges() -
getHashCodeWithoutAttributes
protected int getHashCodeWithoutAttributes()- Specified by:
getHashCodeWithoutAttributesin classAbstractAttributeContainer
-
getIdlessHashCodeWithoutAttributes
protected int getIdlessHashCodeWithoutAttributes()- Specified by:
getIdlessHashCodeWithoutAttributesin classAbstractAttributeContainer
-
getSortingNameWithHashCodeFallback
-
getSortingNameWithNodeTypeFallback
-
getNeighborhoodGraph
-