Package org.openmetadata.service
Class TypeRegistry
java.lang.Object
org.openmetadata.service.TypeRegistry
Type registry used for storing Types in OpenMetadata and customProperties of entity types.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Map<String,CustomProperty> Custom property map (fully qualified customPropertyName) to (customProperty)Custom property map (fully qualified customPropertyName) to (jsonSchema)Type map used for storing both Property Types and Entity Types -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic StringgetCustomPropertyFQN(String entityType, String propertyName) static StringgetCustomPropertyFQNPrefix(String entityType) static StringgetPropertyName(String propertyFQN) com.networknt.schema.JsonSchemastatic TypeRegistryinstance()voidremoveType(String typeName) voidvalidateCustomProperties(Type type)
-
Field Details
-
TYPES
Type map used for storing both Property Types and Entity Types -
CUSTOM_PROPERTIES
Custom property map (fully qualified customPropertyName) to (customProperty) -
CUSTOM_PROPERTY_SCHEMAS
Custom property map (fully qualified customPropertyName) to (jsonSchema)
-
-
Method Details
-
instance
-
addType
-
removeType
-
getSchema
-
validateCustomProperties
-
getCustomPropertyFQNPrefix
-
getCustomPropertyFQN
-
getPropertyName
-