/** * 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.xml.Type } */ 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; }
public List<org.openprovenance.prov.model.Other> getOther() { if (others == null) { others = AttributeList.populateKnownAttributes( this, all, org.openprovenance.prov.model.Other.class); } return this.others; }
/** * Gets the value of the role 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 role property. * * <p>For example, to add a new item, do as follows: * * <pre> * getRole().add(newItem); * </pre> * * <p>Objects of the following type(s) are allowed in the list {@link * org.openprovenance.prov.xml.Role } */ public List<org.openprovenance.prov.model.Role> getRole() { if (role == null) { role = AttributeList.populateKnownAttributes( this, all, org.openprovenance.prov.model.Role.class); } return this.role; }