Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.embl.ebi.escience.scufl.talisman
Class ScuflModelBean  view ScuflModelBean download ScuflModelBean.java

java.lang.Object
  extended byorg.embl.ebi.escience.scufl.talisman.ScuflModelBean
All Implemented Interfaces:
java.io.Serializable

public class ScuflModelBean
extends java.lang.Object
implements java.io.Serializable

This bean allows you to load a ScuflModel with attached XScuflView and DotView representations into a Talisman bean field. It exposes the XML and Dot representations by the getXScufl and getDot methods, which can therefore be accessed by Talisman's bean accessor proxy fields, see the documentation for the Talisman resolver for more details of how to do this.


Field Summary
private  org.embl.ebi.escience.scufl.view.DotView dotView
           
private  org.embl.ebi.escience.scufl.ScuflModel model
           
private  org.embl.ebi.escience.scufl.view.XScuflView xscuflView
           
 
Constructor Summary
ScuflModelBean()
          Must have a default constructor to comply with the Talisman bean requirements.
 
Method Summary
 java.lang.String getDot()
          Get the Dot description
 org.embl.ebi.escience.scufl.ScuflModel getModel()
          Get the underlying model for this bean
 java.lang.String getXScufl()
          Get the XML text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

private org.embl.ebi.escience.scufl.ScuflModel model

dotView

private org.embl.ebi.escience.scufl.view.DotView dotView

xscuflView

private org.embl.ebi.escience.scufl.view.XScuflView xscuflView
Constructor Detail

ScuflModelBean

public ScuflModelBean()
Must have a default constructor to comply with the Talisman bean requirements. In this case, it creates an empty ScuflModel, and attaches a DotView and XScuflView to it.

Method Detail

getModel

public org.embl.ebi.escience.scufl.ScuflModel getModel()
Get the underlying model for this bean


getXScufl

public java.lang.String getXScufl()
Get the XML text


getDot

public java.lang.String getDot()
Get the Dot description