public class DefaultConstraintsExtractor extends Object implements ConstraintsExtractor
| Constructor and Description |
|---|
DefaultConstraintsExtractor() |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
extractConstraint(AbstractConstraintModel constraint)
Creates OutputStream from list of ConstraintMappingsTypes from createConstraintMappingType(constraint) method.
|
InputStream |
extractConstraints()
Creates OutputStream from list of ConstraintMappingsTypes from createConstraintMappingType() method.
|
void |
setConstraintMappingsTypeConverter(ConstraintConverter<List<AbstractConstraintModel>,ConstraintMappingsType> constraintMappingsTypeConverter) |
void |
setConstraintModelValidator(ConstraintModelValidator constraintModelValidator) |
void |
setConstraintService(ConstraintService constraintService) |
void |
setSkipOnErrorConstraintMappingsTypeConverter(ConstraintConverter<List<AbstractConstraintModel>,ConstraintMappingsType> skipOnErrorConstraintMappingsTypeConverter) |
public InputStream extractConstraints()
extractConstraint(AbstractConstraintModel) instead.extractConstraints in interface ConstraintsExtractorpublic InputStream extractConstraint(AbstractConstraintModel constraint)
extractConstraint in interface ConstraintsExtractorpublic void setConstraintService(ConstraintService constraintService)
public void setConstraintMappingsTypeConverter(ConstraintConverter<List<AbstractConstraintModel>,ConstraintMappingsType> constraintMappingsTypeConverter)
public void setConstraintModelValidator(ConstraintModelValidator constraintModelValidator)
public void setSkipOnErrorConstraintMappingsTypeConverter(ConstraintConverter<List<AbstractConstraintModel>,ConstraintMappingsType> skipOnErrorConstraintMappingsTypeConverter)
Copyright © 2017 SAP SE. All Rights Reserved.