Package org.cy3sbml.comp
Record Class ModelResolution.Resolved
java.lang.Object
java.lang.Record
org.cy3sbml.comp.ModelResolution.Resolved
- All Implemented Interfaces:
ModelResolution
- Enclosing interface:
- ModelResolution
public static record ModelResolution.Resolved(org.sbml.jsbml.Model model, org.sbml.jsbml.SBMLDocument document)
extends Record
implements ModelResolution
The referenced model and the document it is defined in, which is another
document for an external model definition.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cy3sbml.comp.ModelResolution
ModelResolution.Failed, ModelResolution.Resolved -
Constructor Summary
ConstructorsConstructorDescriptionResolved(org.sbml.jsbml.Model model, org.sbml.jsbml.SBMLDocument document) Creates an instance of aResolvedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.sbml.jsbml.SBMLDocumentdocument()Returns the value of thedocumentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.sbml.jsbml.Modelmodel()Returns the value of themodelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Resolved
public Resolved(org.sbml.jsbml.Model model, org.sbml.jsbml.SBMLDocument document) Creates an instance of aResolvedrecord class.- Parameters:
model- the value for themodelrecord componentdocument- the value for thedocumentrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
model
public org.sbml.jsbml.Model model()Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
document
public org.sbml.jsbml.SBMLDocument document()Returns the value of thedocumentrecord component.- Returns:
- the value of the
documentrecord component
-