/**
* Gets the value of the validation property.
*
* <p>
* This accessor method returns a reference to the live list, not a
* snapshot. Therefore any modification you make to the returned list will
* be present inside the JAXB object. This is why there is not a
* <CODE>set</CODE> method for the validation property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getValidation().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Validation }
*
*
*/
@ManyToMany(targetEntity = Validation.class, cascade = {
CascadeType.ALL
})
@JoinTable(name = "VALIDATION_REPORT_VALIDATION", joinColumns = {
@JoinColumn(name = "validationreport", referencedColumnName = "HJID")
}, inverseJoinColumns = {
@JoinColumn(name = "validation", referencedColumnName = "HJID")
}, uniqueConstraints =
@UniqueConstraint(columnNames = {"validationreport", "validation"}))
@OrderColumn(name = "VALIDATION_HJORDER")
public Set<Validation> getValidation() {
if (validation == null) {
validation = new HashSet<>();
}
return this.validation;
}
ValidationReport.java 文件源码
java
阅读 41
收藏 0
点赞 0
评论 0
项目:exportlibrary
作者:
评论列表
文章目录