mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-07 11:48:18 +00:00
HHH-17061 Remove PersistentClass#getDeclaredPropertyIterator
This commit is contained in:
parent
e922b90c32
commit
e5b0e71dfa
@ -72,11 +72,6 @@ public List<Property> getProperties() {
|
||||
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 PersistentClass getSuperPersistentClass() {
|
||||
return superPersistentClass;
|
||||
}
|
||||
|
||||
@Deprecated(since = "6.0")
|
||||
public Iterator<Property> getDeclaredPropertyIterator() {
|
||||
return declaredProperties.iterator();
|
||||
}
|
||||
|
||||
public List<Property> getDeclaredProperties() {
|
||||
return declaredProperties;
|
||||
}
|
||||
|
@ -1121,16 +1121,6 @@ public List<Property> getDeclaredProperties() {
|
||||
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…
x
Reference in New Issue
Block a user