-
- All Known Subinterfaces:
ClassTypeLoader,ListableTypeLoader
public interface TypeLoaderType loader will load the definition of a given type identifier.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Optional<MetadataType>load(String typeIdentifier)Returns the MetadataType of the specified identifier if founddefault Optional<MetadataType>load(String typeIdentifier, String typeAlias)Returns the MetadataType of the specified identifier if found, optionally assigning specified type alias
-
-
-
Method Detail
-
load
Optional<MetadataType> load(String typeIdentifier)
Returns the MetadataType of the specified identifier if found- Parameters:
typeIdentifier- The identifier name- Returns:
- The type if found
-
load
default Optional<MetadataType> load(String typeIdentifier, String typeAlias)
Returns the MetadataType of the specified identifier if found, optionally assigning specified type alias- Parameters:
typeIdentifier- The identifier nametypeAlias- The nullable type alias- Returns:
- The type if found
-
-