public class DynamicLabel extends Object implements Label
Label. This class is
a convenience implementation of Label that is
typically used when labels are created and named after a
condition that can only be detected at runtime.
For statically known labels please consider the enum approach as described
in Label documentation.Label| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
static Label |
label(String labelName) |
String |
name()
Returns the name of the label.
|
String |
toString() |
public static Label label(String labelName)
labelName - the name of the label.Label instance for the given labelName.public String name()
Labelequal names.Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.