/**
* Returns null if the instance is valid, or a string representing the error.
* <p>
* @return null if the instance is valid, or a string representing the error.
*/
@Null(message = "ViolationMessage is not null, but '${validatedValue}'")
public String getViolationMessage() {
if ( model == null
|| model.getFamily() == null
|| model.getFamily().getSeries() == null
|| model.getFamily().getSeries().getBrand() == null
|| model.getFamily().getSeries().getBrand().getManufacturer().getPartNoSupport() == null )
return null;
return model.getFamily().getSeries().getBrand().getManufacturer().getPartNoSupport().violationMessages(partNo);
}
ProductSpec.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:dwoss
作者:
评论列表
文章目录