Package org.openprovenance.prov.model
Interface HasOther
-
- All Known Subinterfaces:
ActedOnBehalfOf
,Activity
,Agent
,DerivedByInsertionFrom
,DerivedByRemovalFrom
,Element
,Entity
,Influence
,QualifiedAlternateOf
,QualifiedHadMember
,QualifiedRelation
,QualifiedSpecializationOf
,Used
,WasAssociatedWith
,WasAttributedTo
,WasDerivedFrom
,WasEndedBy
,WasGeneratedBy
,WasInfluencedBy
,WasInformedBy
,WasInvalidatedBy
,WasStartedBy
- All Known Implementing Classes:
ActedOnBehalfOf
,Activity
,Agent
,Entity
,QualifiedAlternateOf
,QualifiedHadMember
,QualifiedSpecializationOf
,Used
,WasAssociatedWith
,WasAttributedTo
,WasDerivedFrom
,WasEndedBy
,WasGeneratedBy
,WasInfluencedBy
,WasInformedBy
,WasInvalidatedBy
,WasStartedBy
public interface HasOther
-
-
Method Detail
-
getOther
List<Other> getOther()
Gets the list of non-PROV attributes.This accessor method returns a reference to the live list, not a snapshot. Therefore, any modification made to the returned list will be present inside the object. This is why there is not a
set
method for the role property.For example, to add a new item, do as follows:
getOther().add(newItem);
- Returns:
- a list of objects of type
Other
-
-