Package ai.stapi.graph.graphelements
Class Node
java.lang.Object
ai.stapi.graph.attribute.AbstractAttributeContainer
ai.stapi.graph.graphelements.AbstractGraphElement
ai.stapi.graph.graphelements.Node
- All Implemented Interfaces:
AttributeContainer,GraphElement,Serializable
- See Also:
-
Field Summary
Fields inherited from class ai.stapi.graph.graphelements.AbstractGraphElement
id, type -
Constructor Summary
ConstructorsConstructorDescriptionNode(TraversableNode node) Node(UniqueIdentifier id, String nodeType) Node(UniqueIdentifier id, String nodeType, Attribute<?>... attributes) Node(UniqueIdentifier id, String type, VersionedAttributeGroup versionedAttributes) -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected intmergeOverwrite(Node otherNode) protected AttributeContainerwithNewAttributes(VersionedAttributeGroup newAttributes) Methods inherited from class ai.stapi.graph.graphelements.AbstractGraphElement
getId, getTypeMethods inherited from class ai.stapi.graph.attribute.AbstractAttributeContainer
containsAttribute, containsAttribute, equals, getAttribute, getAttributeCount, getAttributeValue, getFlattenAttributes, getIdlessHashCode, getVersionedAttribute, getVersionedAttributeList, getVersionedAttributes, guessBestName, hasAttribute, hashCode, mergeAttributesWithAttributesOf
-
Constructor Details
-
Node
-
Node
-
Node
-
Node
-
Node
-
Node
-
Node
-
-
Method Details
-
withNewAttributes
- Specified by:
withNewAttributesin classAbstractAttributeContainer
-
getHashCodeWithoutAttributes
protected int getHashCodeWithoutAttributes()- Specified by:
getHashCodeWithoutAttributesin classAbstractAttributeContainer
-
getIdlessHashCodeWithoutAttributes
protected int getIdlessHashCodeWithoutAttributes()- Specified by:
getIdlessHashCodeWithoutAttributesin classAbstractAttributeContainer
-
add
- Specified by:
addin interfaceAttributeContainer- Overrides:
addin classAbstractAttributeContainer
-
mergeOverwrite
-