coras.reuse
Class FaultTreeExperience

java.lang.Object
  extended byjava.util.Observable
      extended bycoras.common.CorasAsset
          extended bycoras.common.CorasElement
              extended bycoras.reuse.Experience
                  extended bycoras.reuse.FaultTreeExperience
All Implemented Interfaces:
IFaultTree

public class FaultTreeExperience
extends Experience
implements IFaultTree

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 FaultTreeExperience(no.sintef.assetrepository.Asset asset)
           
 
Method Summary
protected static FaultTreeExperience create(ExperiencePackage experiencePackage, java.lang.String name, java.lang.String shortDescription, java.lang.String fullDescription, CategoryEnum category, java.lang.String domain, coras.structure.ConcernEnum concern, coras.structure.ViewpointEnum[] viewpoints, FaultTreeModel faultTreeModel, DiagramRepresentation diagram)
           
 DiagramRepresentation getFaultTreeDiagram()
           
 FaultTreeModel getFaultTreeModel()
           
 void setFaultTreeDiagram(DiagramRepresentation newDiagram)
           
 void setFaultTreeDiagram(java.io.File faultTreeDiagramFile)
           
 void setFaultTreeModel(FaultTreeModel newModel)
           
 void setFaultTreeModel(java.io.File faultTreeModelFile)
           
 
Methods inherited from class coras.reuse.Experience
createAsset, getCategory, getDomain, getType, setDomain
 
Methods inherited from class coras.common.CorasElement
createAsset, createAsset, getConcern, getSubtype, getType, getViewpoints, setConcern, setViewpoints
 
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
 

Constructor Detail

FaultTreeExperience

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

create

protected static FaultTreeExperience create(ExperiencePackage experiencePackage,
                                            java.lang.String name,
                                            java.lang.String shortDescription,
                                            java.lang.String fullDescription,
                                            CategoryEnum category,
                                            java.lang.String domain,
                                            coras.structure.ConcernEnum concern,
                                            coras.structure.ViewpointEnum[] viewpoints,
                                            FaultTreeModel faultTreeModel,
                                            DiagramRepresentation diagram)
                                     throws no.sintef.lock.LockException
Parameters:
experiencePackage -
name -
concern -
Returns:
Throws:
no.sintef.lock.LockException

getFaultTreeModel

public FaultTreeModel getFaultTreeModel()
Specified by:
getFaultTreeModel in interface IFaultTree

setFaultTreeModel

public void setFaultTreeModel(java.io.File faultTreeModelFile)
                       throws no.sintef.lock.LockRequiredException,
                              java.io.IOException,
                              no.sintef.xml.XmlException
Specified by:
setFaultTreeModel in interface IFaultTree
Throws:
no.sintef.lock.LockRequiredException
java.io.IOException
no.sintef.xml.XmlException

setFaultTreeModel

public void setFaultTreeModel(FaultTreeModel newModel)
                       throws no.sintef.lock.LockRequiredException
Specified by:
setFaultTreeModel in interface IFaultTree
Throws:
no.sintef.lock.LockRequiredException

getFaultTreeDiagram

public DiagramRepresentation getFaultTreeDiagram()
Specified by:
getFaultTreeDiagram in interface IFaultTree

setFaultTreeDiagram

public void setFaultTreeDiagram(java.io.File faultTreeDiagramFile)
                         throws java.io.IOException,
                                no.sintef.lock.LockRequiredException
Specified by:
setFaultTreeDiagram in interface IFaultTree
Throws:
java.io.IOException
no.sintef.lock.LockRequiredException

setFaultTreeDiagram

public void setFaultTreeDiagram(DiagramRepresentation newDiagram)
                         throws no.sintef.lock.LockRequiredException
Specified by:
setFaultTreeDiagram in interface IFaultTree
Throws:
no.sintef.lock.LockRequiredException


Copyright © 2003-2005 SINTEF. All Rights Reserved.