Class DefaultHybrisConstraintViolation

    • Field Detail

      • PREFIX

        @Deprecated(since="2005.0",
                    forRemoval=true)
        public static final java.lang.String PREFIX
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 2005.0 - use ConstraintViolationFactoryUtil.PREFIX instead
        See Also:
        Constant Field Values
      • SUFFIX

        @Deprecated(since="2005.0",
                    forRemoval=true)
        public static final java.lang.String SUFFIX
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 2005.0 - use ConstraintViolationFactoryUtil.SUFFIX instead
        See Also:
        Constant Field Values
      • modelService

        @Deprecated(since="2005.0",
                    forRemoval=true)
        protected ModelService modelService
        Deprecated, for removal: This API element is subject to removal in a future version.
        unused - use methods provided by factoryUtil
      • typeService

        @Deprecated(since="2005.0",
                    forRemoval=true)
        protected TypeService typeService
        Deprecated, for removal: This API element is subject to removal in a future version.
        unused - use methods provided by factoryUtil
      • bundleProvider

        @Deprecated(since="2005.0",
                    forRemoval=true)
        protected ResourceBundleProvider bundleProvider
        Deprecated, for removal: This API element is subject to removal in a future version.
        unused - use methods provided by factoryUtil
      • i18nService

        @Deprecated(since="2005.0",
                    forRemoval=true)
        protected I18NService i18nService
        Deprecated, for removal: This API element is subject to removal in a future version.
        unused - use methods provided by factoryUtil
      • constraintViolation

        protected javax.validation.ConstraintViolation constraintViolation
      • localizeMessage

        protected java.lang.String localizeMessage
      • factoryUtil

        protected de.hybris.platform.validation.services.impl.ConstraintViolationFactoryUtil factoryUtil
    • Constructor Detail

      • DefaultHybrisConstraintViolation

        @Deprecated(since="2005.0",
                    forRemoval=true)
        public DefaultHybrisConstraintViolation()
        Deprecated, for removal: This API element is subject to removal in a future version.
        use parametrized constructors
      • DefaultHybrisConstraintViolation

        public DefaultHybrisConstraintViolation​(javax.validation.ConstraintViolation constraintViolation)
      • DefaultHybrisConstraintViolation

        public DefaultHybrisConstraintViolation​(javax.validation.ConstraintViolation constraintViolation,
                                                AbstractConstraintModel constraintModel)
    • Method Detail

      • getProperty

        public java.lang.String getProperty()
        Description copied from interface: HybrisConstraintViolation
        Gets the property path from the ConstraintViolation as string.
        Specified by:
        getProperty in interface HybrisConstraintViolation
        Returns:
        the property path from the ConstraintViolation as string
      • getQualifier

        public java.lang.String getQualifier()
        Description copied from interface: HybrisConstraintViolation
        Gets the qualifier in the style getTypeName()+"."+getProperty().
        Specified by:
        getQualifier in interface HybrisConstraintViolation
        Returns:
        the qualifier in the style getTypeName()+"."+getProperty()
      • setModelService

        @Deprecated(since="2005.0",
                    forRemoval=true)
        public void setModelService​(ModelService modelService)
        Deprecated, for removal: This API element is subject to removal in a future version.
        modelService is marked as deprecated - it is no longer used in this class
      • setTypeService

        @Deprecated(since="2005.0",
                    forRemoval=true)
        public void setTypeService​(TypeService typeService)
        Deprecated, for removal: This API element is subject to removal in a future version.
        typeService is marked as deprecated - it is no longer used in this class
      • setBundleProvider

        @Deprecated(since="2005.0",
                    forRemoval=true)
        public void setBundleProvider​(ResourceBundleProvider bundleProvider)
        Deprecated, for removal: This API element is subject to removal in a future version.
        bundleProvider is marked as deprecated - it is no longer used in this class
      • setI18nService

        @Deprecated(since="2005.0",
                    forRemoval=true)
        public void setI18nService​(I18NService i18nService)
        Deprecated, for removal: This API element is subject to removal in a future version.
        i18nService is marked as deprecated - it is no longer used in this class
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setConstraintFactoryUtil

        public void setConstraintFactoryUtil​(de.hybris.platform.validation.services.impl.ConstraintViolationFactoryUtil factoryUtil)