Class PropertyValueManagerImpl
java.lang.Object
ru.cg.webbpm.studio.subsystems.script_editor.serialization.impl.PropertyValueManagerImpl
- All Implemented Interfaces:
PropertyValueManager
,MetadataListener
@Component
public class PropertyValueManagerImpl
extends Object
implements PropertyValueManager, MetadataListener
- Author:
- krylov
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyValueManagerImpl
(List<PropertyTypeProvider> typeProviders, MetadataManager metadataManager) -
Method Summary
Modifier and TypeMethodDescriptiongetImplClassMetadata
(PropertyValue propertyValue) PropertyType<?>
getPropertyType
(AttributeMetadata attributeMetadata) PropertyType<?>
getPropertyType
(AttributeMetadata attributeMetadata, ClassRef implRef) Returns property type, considers implRef (for example, for property of type any and string implRef this returns string property type) if implRef is null, simply callsPropertyValueManager.getPropertyType(AttributeMetadata)
TODO WEBBPMNEXT-5001void
void
-
Constructor Details
-
PropertyValueManagerImpl
@Autowired public PropertyValueManagerImpl(List<PropertyTypeProvider> typeProviders, MetadataManager metadataManager)
-
-
Method Details
-
getPropertyType
- Specified by:
getPropertyType
in interfacePropertyValueManager
-
getPropertyType
Description copied from interface:PropertyValueManager
Returns property type, considers implRef (for example, for property of type any and string implRef this returns string property type) if implRef is null, simply callsPropertyValueManager.getPropertyType(AttributeMetadata)
TODO WEBBPMNEXT-5001- Specified by:
getPropertyType
in interfacePropertyValueManager
- Parameters:
attributeMetadata
- script field metadataimplRef
- impl Ref, can be null- Returns:
- PropertyType<?>
-
getImplClassMetadata
- Specified by:
getImplClassMetadata
in interfacePropertyValueManager
-
metadataUpdated
public void metadataUpdated()- Specified by:
metadataUpdated
in interfaceMetadataListener
-
metadataUpdateFailed
public void metadataUpdateFailed()- Specified by:
metadataUpdateFailed
in interfaceMetadataListener
-