Package org.mule.metadata.catalog.api
Class PrimitiveTypesTypeLoader
- java.lang.Object
-
- org.mule.metadata.catalog.api.PrimitiveTypesTypeLoader
-
- All Implemented Interfaces:
TypeLoader
public class PrimitiveTypesTypeLoader extends Object implements TypeLoader
Default types that will be accessible when accessing theTypeResolver.resolveType(String)method. The complete list of primitive types can be read from thePRIMITIVE_TYPESmap's keys (each value represents the type in theMetadataTypemodel)- Since:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringANYstatic StringBINARYstatic StringBOOLEANstatic StringDATEstatic StringDATETIMEstatic StringLOCALDATETIMEstatic StringLOCALTIMEstatic StringNUMBERstatic Map<String,MetadataType>PRIMITIVE_TYPESUnmodifiable map with the supported primitive typesstatic StringREGEXstatic StringSTRINGstatic StringTIMEstatic StringTIMEZONE
-
Constructor Summary
Constructors Constructor Description PrimitiveTypesTypeLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<MetadataType>load(String typeIdentifier)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mule.metadata.api.TypeLoader
load
-
-
-
-
Field Detail
-
PRIMITIVE_TYPES
public static final Map<String,MetadataType> PRIMITIVE_TYPES
Unmodifiable map with the supported primitive types
-
STRING
public static final String STRING
- See Also:
- Constant Field Values
-
BOOLEAN
public static final String BOOLEAN
- See Also:
- Constant Field Values
-
NUMBER
public static final String NUMBER
- See Also:
- Constant Field Values
-
DATE
public static final String DATE
- See Also:
- Constant Field Values
-
DATETIME
public static final String DATETIME
- See Also:
- Constant Field Values
-
LOCALDATETIME
public static final String LOCALDATETIME
- See Also:
- Constant Field Values
-
TIME
public static final String TIME
- See Also:
- Constant Field Values
-
LOCALTIME
public static final String LOCALTIME
- See Also:
- Constant Field Values
-
TIMEZONE
public static final String TIMEZONE
- See Also:
- Constant Field Values
-
BINARY
public static final String BINARY
- See Also:
- Constant Field Values
-
ANY
public static final String ANY
- See Also:
- Constant Field Values
-
REGEX
public static final String REGEX
- See Also:
- Constant Field Values
-
-
Method Detail
-
load
public Optional<MetadataType> load(String typeIdentifier)
- Specified by:
loadin interfaceTypeLoader
-
-