public class Experiment extends TopLevel
ACTIVITY, AGENT, ANNOTATION, ATTACHMENT, COLLECTION, COMBINATORIAL_DERIVATION, COMPONENT_DEFINITION, EXPERIMENT, EXPERIMENTAL_DATA, GENERIC_TOP_LEVEL, IMPLEMENTATION, MODEL, MODULE_DEFINITION, PLAN, SEQUENCE| Modifier and Type | Method and Description |
|---|---|
boolean |
addExperimentalData(URI experimentalDataURI)
Adds the given experimentalData URI to this Experiment's
set of reference experimentalData URIs.
|
void |
clearExperimentalData()
Removes all entries of this Experiment's set of reference
experimentalData URIs.
|
boolean |
containsExperimentalData(URI experimentalDataURI)
Checks if the given URI is included in this Experiment
instance's set of experimentalData URIs.
|
boolean |
equals(Object obj) |
Set<ExperimentalData> |
getExperimentalData()
Returns the set of objects referenced by this Experiment's experimentalData.
|
Set<URI> |
getExperimentalDataIdentities()
Returns the set of experimentalData identities referenced by this Experiment instance.
|
Set<URI> |
getExperimentalDataURIs()
Returns the set of experimentalData URIs referenced by this Experiment instance.
|
int |
hashCode() |
boolean |
removeExperimentalData(URI experimentalDataURI)
Removes the given experimentalData from this Experiment's set of experimentalData.
|
void |
setExperimentalData(Set<URI> experimentalData)
Clears the existing set of experimentalData of this Experiment instance first, then adds the given
set of the experimentalData references to it.
|
String |
toString() |
addAttachment, addAttachment, addAttachment, clearAttachments, containsAttachment, getAttachments, getAttachmentURIs, removeAttachment, setAttachmentsaddWasDerivedFrom, addWasGeneratedBy, clearAnnotations, clearWasDerivedFroms, clearWasGeneratedBys, containsWasDerivedFrom, containsWasGeneratedBy, createAnnotation, createAnnotation, createAnnotation, createAnnotation, createAnnotation, createAnnotation, getAnnotation, getAnnotations, getDescription, getDisplayId, getIdentity, getName, getPersistentIdentity, getVersion, getWasDerivedFrom, getWasDerivedFroms, getWasGeneratedBys, hasAnnotations, isSetDescription, isSetDisplayId, isSetName, isSetPersistentIdentity, isSetVersion, isSetWasDerivedFrom, removeAnnotation, removeWasDerivedFrom, removeWasGeneratedBy, setDescription, setName, setWasDerivedFrom, setWasDerivedFroms, setWasGeneratedBys, unsetDescription, unsetName, unsetWasDerivedFrompublic boolean addExperimentalData(URI experimentalDataURI) throws SBOLValidationException
experimentalDataURI - References to a ExperimentalData instancetrue if the matching experimentalData reference has been added successfully,
false otherwise.SBOLValidationException - if the following SBOL validation rule was violated: 1xxxx.public boolean removeExperimentalData(URI experimentalDataURI)
experimentalDataURI - the experimentalData identity URI to be removed from this Experiment's experimentalDatatrue if the matching experimentalData is removed successfully,
false otherwise.public void setExperimentalData(Set<URI> experimentalData) throws SBOLValidationException
experimentalData - a set of identity URIs of zero or more TopLevel instances to be addedSBOLValidationException - see SBOL validation rule violation at addExperimentalData(URI)public Set<URI> getExperimentalDataURIs()
public Set<URI> getExperimentalDataIdentities()
public Set<ExperimentalData> getExperimentalData()
public boolean containsExperimentalData(URI experimentalDataURI)
experimentalDataURI - a URI that is checked against this Experiment's list of experimentalData URIstrue if its experimentalData contain the given URI, false otherwise.public void clearExperimentalData()
public String toString()
toString in class Identified