org.hibernate.metamodel.mapping.ModelPart
and uniquely identifies it with the runtime metamodel.
The root will name either an entity or collection
API Note
Poorly named. Should probably have been `org.hibernate.metamodel.model.mapping.MappingRole`;
the term "navigable" here is meant to indicate that we could navigate to the specific
org. given the role.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| public static final String | |
| private final String | |
| private final NavigableRole |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public NavigableRole | append(String name)
Implements org. |
| public NavigableRole | |
| public boolean | equals(final Object
the reference object with which to compare. o)Overrides java. |
| public String | getFullPath()
Implements org. |
| public String | getLocalName()
Implements org. |
| public String | |
| public NavigableRole | |
| public int | |
| public boolean | isRoot()
Overrides default org. |
| public String |
| fullPath | back to summary |
|---|---|
| private final String fullPath | |
| IDENTIFIER_MAPPER_PROPERTY | back to summary |
|---|---|
| public static final String IDENTIFIER_MAPPER_PROPERTY | |
| localName | back to summary |
|---|---|
| private final String localName | |
| parent | back to summary |
|---|---|
| private final NavigableRole parent | |
| NavigableRole | back to summary |
|---|---|
| public NavigableRole(NavigableRole parent, String localName) | |
| NavigableRole | back to summary |
|---|---|
| public NavigableRole(NavigableRole parent, String localName, char separator) | |
| NavigableRole | back to summary |
|---|---|
| public NavigableRole(String localName) | |
| NavigableRole | back to summary |
|---|---|
| public NavigableRole() | |
| append | back to summary |
|---|---|
| public NavigableRole append(String name) Implements org. Doc from org. Append a new part to the end of this sequence, returning the new representation.
Given the sequence | |
| appendContainer | back to summary |
|---|---|
| public NavigableRole appendContainer(String name) Uses `#` as the separator rather than `.`. The intention being that the incoming name is a
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getFullPath | back to summary |
|---|---|
| public String getFullPath() Implements org. Doc from org. The full sequence text.
Given the sequence | |
| getLocalName | back to summary |
|---|---|
| public String getLocalName() Implements org. Doc from org. The name of this leaf sequence part.
Given the sequence
| |
| getNavigableName | back to summary |
|---|---|
| public String getNavigableName() | |
| getParent | back to summary |
|---|---|
| public NavigableRole getParent() Implements org. Doc from org. The parent sequence part.
Given the sequence | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isRoot | back to summary |
|---|---|
| public boolean isRoot() Overrides default org. Doc from org. Is this sequence node the root of the sequence?
Same as checking the nullness of | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |