HHH-17058 Remove PersistentClass#getReferenceablePropertyIterator

This commit is contained in:
Sanne Grinovero 2023-08-09 11:49:00 +02:00 committed by Sanne Grinovero
parent 63473e99cd
commit 86155f8705
2 changed files with 1 additions and 24 deletions

View File

@ -56,11 +56,6 @@ public class JoinedSubclass extends Subclass implements TableOwner {
} }
} }
@Deprecated @SuppressWarnings("deprecation")
public Iterator<Property> getReferenceablePropertyIterator() {
return getPropertyIterator();
}
public List<Property> getReferenceableProperties() { public List<Property> getReferenceableProperties() {
return getProperties(); return getProperties();
} }

View File

@ -510,23 +510,6 @@ public abstract class PersistentClass implements IdentifiableTypeClass, Attribut
this.selectBeforeUpdate = selectBeforeUpdate; this.selectBeforeUpdate = selectBeforeUpdate;
} }
/**
* Build an iterator of properties which may be referenced in association mappings.
* <p>
* Includes properties defined in superclasses of the mapping inheritance.
* Includes all properties defined as part of a join.
*
* @see #getReferencedProperty for a discussion of "referenceable"
*
* @return The referenceable property iterator.
*
* @deprecated use {@link #getReferenceableProperties()}
*/
@Deprecated(since = "6.0") @Remove
public Iterator<Property> getReferenceablePropertyIterator() {
return getPropertyClosureIterator();
}
/** /**
* Build a list of properties which may be referenced in association mappings. * Build a list of properties which may be referenced in association mappings.
* <p> * <p>
@ -845,8 +828,7 @@ public abstract class PersistentClass implements IdentifiableTypeClass, Attribut
* Differs from {@link #getUnjoinedPropertyIterator} in that the returned iterator * Differs from {@link #getUnjoinedPropertyIterator} in that the returned iterator
* will include properties defined as part of a join. * will include properties defined as part of a join.
* <p> * <p>
* Differs from {@link #getReferenceablePropertyIterator} in that the properties * The properties defined in superclasses of the mapping inheritance are not included.
* defined in superclasses of the mapping inheritance are not included.
* *
* @return An iterator over the "normal" properties. * @return An iterator over the "normal" properties.
* *