public class Model extends TopLevel
COLLECTION, COMPONENT_DEFINITION, GENERIC_TOP_LEVEL, MODEL, MODULE_DEFINITION, SEQUENCE
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
URI |
getFramework()
Returns the URI of the framework property of this Model object.
|
URI |
getLanguage()
Returns this model's language property.
|
URI |
getSource()
Returns the this model's source property.
|
int |
hashCode() |
void |
setFramework(URI framework)
Sets the framework property to the given one.
|
void |
setLanguage(URI language)
Sets the language property to the given one.
|
void |
setSource(URI source)
Sets the source property to the given one.
|
String |
toString() |
getDocument
addWasDerivedFrom, clearAnnotations, clearWasDerivedFroms, containsWasDerivedFrom, createAnnotation, createAnnotation, createAnnotation, createAnnotation, createAnnotation, createAnnotation, getAnnotation, getAnnotations, getDescription, getDisplayId, getIdentity, getName, getPersistentIdentity, getVersion, getWasDerivedFrom, getWasDerivedFroms, hasAnnotations, isSetDescription, isSetDisplayId, isSetName, isSetPersistentIdentity, isSetVersion, isSetWasDerivedFrom, removeAnnotation, removeWasDerivedFrom, setDescription, setName, setWasDerivedFrom, setWasDerivedFroms, unsetDescription, unsetName, unsetWasDerivedFrom
public URI getSource()
public void setSource(URI source) throws SBOLValidationException
source
- the source property to setSBOLValidationException
- if the following SBOL validation rule was violated: 11502.public URI getLanguage()
public void setLanguage(URI language) throws SBOLValidationException
language
- the language property to set toSBOLValidationException
- if the following SBOL validation rule was violated: 11504.public URI getFramework()
public void setFramework(URI framework) throws SBOLValidationException
framework
- the framework to set toSBOLValidationException
- if the following SBOL validation rule was violated: 11508.public int hashCode()
hashCode
in class Identified
public boolean equals(Object obj)
equals
in class Identified
public String toString()
toString
in class Identified
Copyright © 2017. All rights reserved.