HHH-17061 Remove PersistentClass#getDeclaredPropertyIterator

This commit is contained in:
Sanne Grinovero 2023-08-09 12:13:57 +02:00 committed by Sanne Grinovero
parent e922b90c32
commit e5b0e71dfa
3 changed files with 0 additions and 20 deletions

View File

@ -72,11 +72,6 @@ public class Join implements AttributeContainer, Serializable {
return properties;
}
@Deprecated(since = "6.0")
public Iterator<Property> getDeclaredPropertyIterator() {
return declaredProperties.iterator();
}
public boolean containsProperty(Property property) {
return properties.contains( property );
}

View File

@ -66,11 +66,6 @@ public class MappedSuperclass implements IdentifiableTypeClass {
return superPersistentClass;
}
@Deprecated(since = "6.0")
public Iterator<Property> getDeclaredPropertyIterator() {
return declaredProperties.iterator();
}
public List<Property> getDeclaredProperties() {
return declaredProperties;
}

View File

@ -1121,16 +1121,6 @@ public abstract class PersistentClass implements IdentifiableTypeClass, Attribut
return new JoinedList<>( lists );
}
@Deprecated(since = "6.0")
public Iterator<Property> getDeclaredPropertyIterator() {
final ArrayList<Iterator<Property>> iterators = new ArrayList<>();
iterators.add( declaredProperties.iterator() );
for ( Join join : joins ) {
iterators.add( join.getDeclaredPropertyIterator() );
}
return new JoinedIterator<>( iterators );
}
public void addMappedSuperclassProperty(Property p) {
properties.add( p );
p.setPersistentClass( this );