@Test public void testIsPropertyLazyCollection_notLazy() { assertFalse(propertyList.isPropertyLazyLoaded("address")); }
public boolean isPropertyLazyLoaded(String propertyName) { if (isNestedProperty(propertyName)) { int dotIx = propertyName.indexOf('.'); if (isPropertyLazyLoaded(propertyName.substring(dotIx + 1))) { return true; } return getPropertyFetchType(propertyName.substring(0, dotIx)) == FetchType.LAZY; } return getPropertyFetchType(propertyName) == FetchType.LAZY; }
PropertyList implements Serializable { public boolean isPropertyLazyLoaded(String propertyName) { if (isNestedProperty(propertyName)) { int dotIx = propertyName.indexOf('.'); if (isPropertyLazyLoaded(propertyName.substring(dotIx + 1))) { return true; } return getPropertyFetchType(propertyName.substring(0, dotIx)) == FetchType.LAZY; } return getPropertyFetchType(propertyName) == FetchType.LAZY; } }
PropertyList implements Serializable { public boolean isPropertyLazyLoaded(String propertyName) { if (isNestedProperty(propertyName)) { int dotIx = propertyName.indexOf('.'); if (isPropertyLazyLoaded(propertyName.substring(dotIx + 1))) { return true; } return getPropertyFetchType(propertyName.substring(0, dotIx)) == FetchType.LAZY; } return getPropertyFetchType(propertyName) == FetchType.LAZY; } PropertyList(ClassMetadata<T> metadata);  PropertyList(PropertyList<T> parentList); }
PropertyList implements Serializable { public boolean isPropertyLazyLoaded(String propertyName) { if (isNestedProperty(propertyName)) { int dotIx = propertyName.indexOf('.'); if (isPropertyLazyLoaded(propertyName.substring(dotIx + 1))) { return true; } return getPropertyFetchType(propertyName.substring(0, dotIx)) == FetchType.LAZY; } return getPropertyFetchType(propertyName) == FetchType.LAZY; } PropertyList(ClassMetadata<T> metadata);  PropertyList(PropertyList<T> parentList); ClassMetadata<T> getClassMetadata(); PropertyList<T> getParentList(); void setSortProperty(String propertyName, String sortPropertyName); void addNestedProperty(String propertyName); boolean removeProperty(String propertyName); Set<String> getAllAvailablePropertyNames(); Set<String> getPropertyNames(); Set<String> getPersistentPropertyNames(); Map<String, String> getSortablePropertyMap(); Set<String> getNestedPropertyNames(); Class<?> getPropertyType(String propertyName); boolean isPropertyWritable(String propertyName); Object getPropertyValue(T object, String propertyName); void setPropertyValue(T object, String propertyName,
            Object propertyValue); PropertyKind getPropertyKind(String propertyName); boolean isPropertyLazyLoaded(String propertyName); }
PropertyList implements Serializable { public boolean isPropertyLazyLoaded(String propertyName) { if (isNestedProperty(propertyName)) { int dotIx = propertyName.indexOf('.'); if (isPropertyLazyLoaded(propertyName.substring(dotIx + 1))) { return true; } return getPropertyFetchType(propertyName.substring(0, dotIx)) == FetchType.LAZY; } return getPropertyFetchType(propertyName) == FetchType.LAZY; } PropertyList(ClassMetadata<T> metadata);  PropertyList(PropertyList<T> parentList); ClassMetadata<T> getClassMetadata(); PropertyList<T> getParentList(); void setSortProperty(String propertyName, String sortPropertyName); void addNestedProperty(String propertyName); boolean removeProperty(String propertyName); Set<String> getAllAvailablePropertyNames(); Set<String> getPropertyNames(); Set<String> getPersistentPropertyNames(); Map<String, String> getSortablePropertyMap(); Set<String> getNestedPropertyNames(); Class<?> getPropertyType(String propertyName); boolean isPropertyWritable(String propertyName); Object getPropertyValue(T object, String propertyName); void setPropertyValue(T object, String propertyName,
            Object propertyValue); PropertyKind getPropertyKind(String propertyName); boolean isPropertyLazyLoaded(String propertyName);  }