public final class NonNullableTransientDependencies extends Object
Constructor and Description |
---|
NonNullableTransientDependencies() |
Modifier and Type | Method and Description |
---|---|
Iterable<Object> |
getNonNullableTransientEntities() |
Iterable<String> |
getNonNullableTransientPropertyPaths(Object entity)
Retrieve the paths that refer to the transient entity
|
boolean |
isEmpty()
Are there any paths currently tracked here?
|
void |
resolveNonNullableTransientEntity(Object entity)
Clean up any tracked references for the given entity, throwing an exception if there were any paths.
|
String |
toLoggableString(SessionImplementor session)
Build a loggable representation of the paths tracked here at the moment.
|
public Iterable<String> getNonNullableTransientPropertyPaths(Object entity)
entity
- The transient entitypublic boolean isEmpty()
true
indicates there are no path tracked here currentlypublic void resolveNonNullableTransientEntity(Object entity)
entity
- The entityIllegalStateException
- If the entity had tracked pathspublic String toLoggableString(SessionImplementor session)
session
- The session (used to resolve entity names)Copyright © 2017 JBoss by Red Hat. All rights reserved.