Class AttributePathFinder
- java.lang.Object
-
- de.hybris.platform.integrationservices.model.impl.AttributePathFinder
-
- All Implemented Interfaces:
ReferencePathFinder
public class AttributePathFinder extends java.lang.Object implements ReferencePathFinder
A helper class for findingReferencePaths.
-
-
Constructor Summary
Constructors Constructor Description AttributePathFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ReferencePath>findAllPaths(TypeDescriptor src, TypeDescriptor dest)Finds all possible reference paths between the specified given item types.
-
-
-
Method Detail
-
findAllPaths
public java.util.List<ReferencePath> findAllPaths(TypeDescriptor src, TypeDescriptor dest)
Description copied from interface:ReferencePathFinderFinds all possible reference paths between the specified given item types.- Specified by:
findAllPathsin interfaceReferencePathFinder- Parameters:
src- a type to find references fromdest- a type to find reference paths to- Returns:
- a list of paths leading from the source type to the destination type or an empty list, if there are no paths from the source to the destination. The paths are ordered from shortest to longest in the list.
-
-