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-5001voidvoid
-
Constructor Details
-
PropertyValueManagerImpl
@Autowired public PropertyValueManagerImpl(List<PropertyTypeProvider> typeProviders, MetadataManager metadataManager)
-
-
Method Details
-
getPropertyType
- Specified by:
getPropertyTypein interfacePropertyValueManager
-
getPropertyType
Description copied from interface:PropertyValueManagerReturns 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:
getPropertyTypein interfacePropertyValueManager- Parameters:
attributeMetadata- script field metadataimplRef- impl Ref, can be null- Returns:
- PropertyType<?>
-
getImplClassMetadata
- Specified by:
getImplClassMetadatain interfacePropertyValueManager
-
metadataUpdated
public void metadataUpdated()- Specified by:
metadataUpdatedin interfaceMetadataListener
-
metadataUpdateFailed
public void metadataUpdateFailed()- Specified by:
metadataUpdateFailedin interfaceMetadataListener
-