HHH-17061 Remove PersistentClass#getDeclaredPropertyIterator
This commit is contained in:
parent
e922b90c32
commit
e5b0e71dfa
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue