coras.riskanalysis
Class TableResult

java.lang.Object
  extended byjava.util.Observable
      extended bycoras.common.CorasAsset
          extended bycoras.common.CorasElement
              extended bycoras.riskanalysis.RiskAnalysisResult
                  extended bycoras.riskanalysis.TableResult
All Implemented Interfaces:
ITable

public final class TableResult
extends RiskAnalysisResult
implements ITable

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
 
Constructor Summary
protected TableResult(no.sintef.assetrepository.Asset asset)
           
 
Method Summary
protected static TableResult create(RiskAnalysisProject project, 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)
           
 CorasTableModel getTableModel()
           
 boolean isDirty()
           
 void unCheckOut()
           
 void updateRepresentation()
           
 
Methods inherited from class coras.riskanalysis.RiskAnalysisResult
createAsset, getType, getViewpoint, setViewpoint, setViewpoints
 
Methods inherited from class coras.common.CorasElement
createAsset, createAsset, getConcern, getSubtype, getType, getViewpoints, setConcern
 
Methods inherited from class coras.common.CorasAsset
addRepresentation, checkIn, checkOut, createChildAsset, getChildAssets, getFullDescription, getId, getName, getProperty, getRepresentation, getShortDescription, isDeleted, markAsDeleted, removeRepresentation, setFullDescription, setName, setProperty, setShortDescription
 
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
 

Constructor Detail

TableResult

protected TableResult(no.sintef.assetrepository.Asset asset)
Parameters:
asset -
Method Detail

create

protected static TableResult create(RiskAnalysisProject project,
                                    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 no.sintef.lock.LockException,
                                    java.io.FileNotFoundException,
                                    no.sintef.xml.XmlException
Parameters:
project -
name -
shortDescription -
concern -
viewpoint -
Returns:
Throws:
no.sintef.lock.LockException
no.sintef.xml.XmlException
java.io.FileNotFoundException

isDirty

public boolean isDirty()
Overrides:
isDirty in class CorasAsset

getTableModel

public CorasTableModel getTableModel()
Specified by:
getTableModel in interface ITable

unCheckOut

public void unCheckOut()
                throws no.sintef.lock.LockException
Overrides:
unCheckOut in class CorasAsset
Throws:
no.sintef.lock.LockException

updateRepresentation

public void updateRepresentation()
                          throws no.sintef.lock.LockRequiredException
Specified by:
updateRepresentation in interface ITable
Throws:
no.sintef.lock.LockRequiredException


Copyright © 2003-2005 SINTEF. All Rights Reserved.