Class TypeFactory
java.lang.Object
com.polarion.subterra.base.data.model.TypeFactory
- Author:
- Stepan Roh, Polarion Software
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStructType
(IStructType struct) Internal API, do not use.getEnumType
(String enumId) static TypeFactory
getListType
(String typeId) getListType
(String typeId, IType itemType) getPrimitiveType
(Class clazz) getPrimitiveType
(Class clazz, String subtype) getPrimitiveType
(String typeName) getPrimitiveType
(String typeName, String subtype) getReferenceType
(String prototypeName) getStructType
(String id) getStructType
(String id, Map keys) getStructType
(String id, Map keys, IStructValueSerializer serializer) boolean
-
Method Details
-
getInstance
-
getPrimitiveType
-
getPrimitiveType
-
getPrimitiveType
- Returns:
- primitive type (not
null
) - Since:
- 3.4
-
getPrimitiveType
- Returns:
- primitive type (not
null
) - Since:
- 3.4
-
getListType
-
getListType
- Since:
- 3.6.3
-
getStructType
-
getStructType
@NotNull public IStructType getStructType(@NotNull String id, @NotNull Map keys, @Nullable IStructValueSerializer serializer) - Since:
- 3.2.0
-
addStructType
Internal API, do not use.- Since:
- 3.21.1
-
getStructType
- Since:
- 3.6.3
-
getReferenceType
-
getEnumType
-
isBoolean
- Since:
- 3.8.1
-