coras.riskanalysis
Class RiskAnalysisProject

java.lang.Object
  extended byjava.util.Observable
      extended bycoras.common.CorasAsset
          extended bycoras.common.CorasPackage
              extended bycoras.riskanalysis.RiskAnalysisProject

public final class RiskAnalysisProject
extends CorasPackage

Author:
fvr TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
 
Fields inherited from class coras.common.CorasAsset
SHORT_DESCRIPTION
 
Method Summary
 DocumentResult createDocument(DocumentExperience experience)
           
 DocumentResult createDocument(java.lang.String name, java.lang.String shortDescription, java.lang.String fullDescription, coras.structure.ConcernEnum concern, coras.structure.ViewpointEnum viewpoint, DocumentRepresentation content)
           
 FaultTreeResult createFaultTree(FaultTreeExperience experience)
           
 FaultTreeResult createFaultTree(java.lang.String name, java.lang.String shortDescription, java.lang.String fullDescription, coras.structure.ConcernEnum concern, coras.structure.ViewpointEnum viewpoint, FaultTreeModel faultTreeModel, DiagramRepresentation diagram)
           
static RiskAnalysisProject createProject(java.lang.String name, java.lang.String shortDescription, java.lang.String fullDescription)
           
 TableResult createTable(coras.types.SubtypeEnum subtype, java.lang.String name, java.lang.String shortDescription, java.lang.String fullDescription, coras.structure.ConcernEnum concern, coras.structure.ViewpointEnum viewpoint, TableRepresentation table)
           
 UMLModelResult createUMLModel(coras.types.SubtypeEnum subtype, java.lang.String name, java.lang.String shortDescription, java.lang.String fullDescription, coras.structure.ConcernEnum concern, coras.structure.ViewpointEnum viewpoint, UMLModelRepresentation umlModel, DiagramRepresentation diagram)
           
 UMLModelResult createUMLModel(UMLModelExperience experience)
           
static RiskAnalysisProject getProject(java.lang.String projectId)
           
static java.util.Collection getProjects()
           
 RiskAnalysisResult getResult(coras.types.ElementTypeEnum type, coras.types.SubtypeEnum subtype)
           
 RiskAnalysisResult getResult(java.lang.String resultId)
           
 java.util.Collection getResults(SwingWorker worker)
           
 
Methods inherited from class coras.common.CorasAsset
addRepresentation, checkIn, checkOut, createChildAsset, getChildAssets, getFullDescription, getId, getName, getProperty, getRepresentation, getShortDescription, isDeleted, isDirty, markAsDeleted, removeRepresentation, setFullDescription, setName, setProperty, setShortDescription, unCheckOut
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProjects

public static java.util.Collection getProjects()
Returns:

getProject

public static RiskAnalysisProject getProject(java.lang.String projectId)

createProject

public static RiskAnalysisProject createProject(java.lang.String name,
                                                java.lang.String shortDescription,
                                                java.lang.String fullDescription)

getResults

public java.util.Collection getResults(SwingWorker worker)

getResult

public RiskAnalysisResult getResult(java.lang.String resultId)

getResult

public RiskAnalysisResult getResult(coras.types.ElementTypeEnum type,
                                    coras.types.SubtypeEnum subtype)

createUMLModel

public UMLModelResult createUMLModel(coras.types.SubtypeEnum subtype,
                                     java.lang.String name,
                                     java.lang.String shortDescription,
                                     java.lang.String fullDescription,
                                     coras.structure.ConcernEnum concern,
                                     coras.structure.ViewpointEnum viewpoint,
                                     UMLModelRepresentation umlModel,
                                     DiagramRepresentation diagram)
                              throws no.sintef.lock.LockException
Throws:
no.sintef.lock.LockException

createUMLModel

public UMLModelResult createUMLModel(UMLModelExperience experience)
                              throws no.sintef.lock.LockException
Throws:
no.sintef.lock.LockException

createTable

public TableResult createTable(coras.types.SubtypeEnum subtype,
                               java.lang.String name,
                               java.lang.String shortDescription,
                               java.lang.String fullDescription,
                               coras.structure.ConcernEnum concern,
                               coras.structure.ViewpointEnum viewpoint,
                               TableRepresentation table)
                        throws java.io.FileNotFoundException,
                               no.sintef.lock.LockException,
                               no.sintef.xml.XmlException
Throws:
java.io.FileNotFoundException
no.sintef.lock.LockException
no.sintef.xml.XmlException

createFaultTree

public FaultTreeResult createFaultTree(java.lang.String name,
                                       java.lang.String shortDescription,
                                       java.lang.String fullDescription,
                                       coras.structure.ConcernEnum concern,
                                       coras.structure.ViewpointEnum viewpoint,
                                       FaultTreeModel faultTreeModel,
                                       DiagramRepresentation diagram)
                                throws no.sintef.lock.LockException
Throws:
no.sintef.lock.LockException

createFaultTree

public FaultTreeResult createFaultTree(FaultTreeExperience experience)
                                throws no.sintef.lock.LockException
Throws:
no.sintef.lock.LockException

createDocument

public DocumentResult createDocument(java.lang.String name,
                                     java.lang.String shortDescription,
                                     java.lang.String fullDescription,
                                     coras.structure.ConcernEnum concern,
                                     coras.structure.ViewpointEnum viewpoint,
                                     DocumentRepresentation content)
                              throws no.sintef.lock.LockException
Throws:
no.sintef.lock.LockException

createDocument

public DocumentResult createDocument(DocumentExperience experience)
                              throws no.sintef.lock.LockException
Throws:
no.sintef.lock.LockException


Copyright © 2003-2005 SINTEF. All Rights Reserved.