T - The type of the underlying class@API(status=STABLE,
since="6.0")
public interface NodeDescription<T>
String getPrimaryLabel()
String getMostAbstractParentLabel(NodeDescription<?> mostAbstractNodeDescription)
List<String> getAdditionalLabels()
getPrimaryLabel().default List<String> getStaticLabels()
getPrimaryLabel() +
getAdditionalLabels(). Order is guaranteed to be the primary first, than the others.Class<T> getUnderlyingClass()
getPrimaryLabel() is mapped to@Nullable IdDescription getIdDescription()
Collection<GraphPropertyDescription> getGraphProperties()
Collection<GraphPropertyDescription> getGraphPropertiesInHierarchy()
Optional<GraphPropertyDescription> getGraphProperty(String fieldName)
GraphPropertyDescription by its field name.fieldName - The field name for which the graph property description should be retrieveddefault boolean isUsingInternalIds()
Collection<RelationshipDescription> getRelationships()
void addChildNodeDescription(NodeDescription<?> child)
child - - NodeDescription that defines an extending class.Collection<NodeDescription<?>> getChildNodeDescriptionsInHierarchy()
void setParentNodeDescription(NodeDescription<?> parent)
parent - - NodeDescription that describes the parent entity.@Nullable NodeDescription<?> getParentNodeDescription()
default org.neo4j.cypherdsl.core.Expression getIdExpression()
Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.