Top Fields Constructors Methods
org.hibernate.loader

public Class PropertyPath

extends Object
implements DotIdentifierSequence
Class Inheritance
All Implemented Interfaces
org.hibernate.spi.DotIdentifierSequence
Annotations
@Deprecated
since:6
forRemoval:true
Imports
org.hibernate.internal.util.StringHelper, org.hibernate.spi.DotIdentifierSequence, .NavigablePath

Deprecated

for removal since 6.

Use NavigablePath or org.hibernate.metamodel.model.domain.NavigableRole instead, depending on need.

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final String
public static final String
private final PropertyPath
parent

Deprecated as a consequence of PropertyPath being deprecated.
private final String

Constructor Summary

AccessConstructor and Description
public
PropertyPath(PropertyPath parent, String property)

Deprecated as a consequence of PropertyPath being deprecated.
public
PropertyPath(String property)

public

Method Summary

Modifier and TypeMethod and Description
public PropertyPath
append(String property)

Implements org.hibernate.spi.DotIdentifierSequence.append.

Deprecated as a consequence of PropertyPath being deprecated.
Append a new part to the end of this sequence, returning the new representation.
public String
public String
getLocalName()

Implements org.hibernate.spi.DotIdentifierSequence.getLocalName.

The name of this leaf sequence part.
public PropertyPath
getParent()

Implements org.hibernate.spi.DotIdentifierSequence.getParent.

Deprecated as a consequence of PropertyPath being deprecated.
The parent sequence part.
public String
public boolean
isRoot()

Overrides default org.hibernate.spi.DotIdentifierSequence.isRoot.

Is this sequence node the root of the sequence?
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

fullPathback to summary
private final String fullPath
IDENTIFIER_MAPPER_PROPERTYback to summary
public static final String IDENTIFIER_MAPPER_PROPERTY
parentback to summary
private final PropertyPath parent

Deprecated

as a consequence of PropertyPath being deprecated. See corresponding docs for further information.

propertyback to summary
private final String property

Constructor Detail

PropertyPathback to summary
public PropertyPath(PropertyPath parent, String property)

Deprecated

as a consequence of PropertyPath being deprecated. See corresponding docs for further information.

PropertyPathback to summary
public PropertyPath(String property)
PropertyPathback to summary
public PropertyPath()

Method Detail

appendback to summary
public PropertyPath append(String property)

Implements org.hibernate.spi.DotIdentifierSequence.append.

Doc from org.hibernate.spi.DotIdentifierSequence.append.

Deprecated

as a consequence of PropertyPath being deprecated. See corresponding docs for further information.

Append a new part to the end of this sequence, returning the new representation.

Given the sequence a.b.c, appending d results in the new sequence a.b.c.d.

getFullPathback to summary
public String getFullPath()

Implements org.hibernate.spi.DotIdentifierSequence.getFullPath.

Doc from org.hibernate.spi.DotIdentifierSequence.getFullPath.

The full sequence text.

Given the sequence a.b.c, returns the string "a.b.c".

getLocalNameback to summary
public String getLocalName()

Implements org.hibernate.spi.DotIdentifierSequence.getLocalName.

Doc from org.hibernate.spi.DotIdentifierSequence.getLocalName.

The name of this leaf sequence part.

Given the sequence a.b.c, returns the string "c".

Annotations
@Override
getParentback to summary
public PropertyPath getParent()

Implements org.hibernate.spi.DotIdentifierSequence.getParent.

Doc from org.hibernate.spi.DotIdentifierSequence.getParent.

Deprecated

as a consequence of PropertyPath being deprecated. See corresponding docs for further information.

The parent sequence part.

Given the sequence a.b.c, returns the sequence a.b.

getPropertyback to summary
public String getProperty()
isRootback to summary
public boolean isRoot()

Overrides default org.hibernate.spi.DotIdentifierSequence.isRoot.

Doc from org.hibernate.spi.DotIdentifierSequence.isRoot.

Is this sequence node the root of the sequence?

Same as checking the nullness of getParent().

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override