/** * Gets the value of the others 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 others property. * * <p>For example, to add a new item, do as follows: * * <pre> * getOthers().add(newItem); * </pre> * * <p>Objects of the following type(s) are allowed in the list {@link Other } */ @OneToMany( targetEntity = org.openprovenance.prov.sql.Other.class, cascade = {CascadeType.ALL}) @JoinColumn(name = "OTHERS_WASINFORMEDBY_PK") public List<Other> getOther() { if (other == null) { other = AttributeList.populateKnownAttributes( this, all, org.openprovenance.prov.model.Other.class); } return this.other; }
/** * Gets the value of the type 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 type property. * * <p>For example, to add a new item, do as follows: * * <pre> * getType().add(newItem); * </pre> * * <p>Objects of the following type(s) are allowed in the list {@link * org.openprovenance.prov.sql.Type } */ @OneToMany( targetEntity = org.openprovenance.prov.sql.Type.class, cascade = {CascadeType.ALL}) @JoinColumn(name = "TYPE__WASINFORMEDBY_PK") public List<org.openprovenance.prov.model.Type> getType() { if (type == null) { type = AttributeList.populateKnownAttributes( this, all, org.openprovenance.prov.model.Type.class); } return this.type; }