Class MockMessageInterpolatorContext

java.lang.Object
nablarch.test.core.entity.MockMessageInterpolatorContext
All Implemented Interfaces:
jakarta.validation.MessageInterpolator.Context

public class MockMessageInterpolatorContext extends Object implements jakarta.validation.MessageInterpolator.Context
Bean Validationの補完用属性を保持するMessageInterpolator.Contextの実装クラス。
  • Constructor Details

    • MockMessageInterpolatorContext

      public MockMessageInterpolatorContext(Map<String,Object> interpolationMap)
      コンストラクタ。
      Parameters:
      interpolationMap - 補完用属性のマップ
  • Method Details

    • getConstraintDescriptor

      public jakarta.validation.metadata.ConstraintDescriptor<?> getConstraintDescriptor()
      Specified by:
      getConstraintDescriptor in interface jakarta.validation.MessageInterpolator.Context
    • getValidatedValue

      public Object getValidatedValue()
      Specified by:
      getValidatedValue in interface jakarta.validation.MessageInterpolator.Context
    • unwrap

      public <T> T unwrap(Class<T> type)
      Specified by:
      unwrap in interface jakarta.validation.MessageInterpolator.Context