Package org.neo4j.cypherdsl.core
Interface PropertyContainer
-
- All Superinterfaces:
Named
- All Known Implementing Classes:
Node,Relationship
@API(status=EXPERIMENTAL, since="1.1") public interface PropertyContainer extends NamedA container having properties. A property container must beNamedwith a non empty name to be able to refer to properties.- Since:
- 1.1
- Author:
- Andreas Berger, Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Propertyproperty(java.lang.String name)Creates a newPropertyassociated with this property container.-
Methods inherited from interface org.neo4j.cypherdsl.core.Named
getRequiredSymbolicName, getSymbolicName
-
-
-
-
Method Detail
-
property
Property property(java.lang.String name)
Creates a newPropertyassociated with this property container. This property can be used as a lookup in other expressions. It does not add a value to the property.Note: The property container does not track property creation and there is no possibility to enumerate all properties that have been created for this property container.
- Parameters:
name- property name, must not be null or empty.- Returns:
- a new
Propertyassociated with thisRelationship.
-
-