coras.riskanalysis
Class UMLModelResult
java.lang.Object
java.util.Observable
coras.common.CorasAsset
coras.common.CorasElement
coras.riskanalysis.RiskAnalysisResult
coras.riskanalysis.UMLModelResult
- All Implemented Interfaces:
- IUMLModel
- public final class UMLModelResult
- extends RiskAnalysisResult
- implements IUMLModel
- Author:
- fvr
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Constructor Summary |
protected |
UMLModelResult(no.sintef.assetrepository.Asset asset)
|
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 |
UMLModelResult
protected UMLModelResult(no.sintef.assetrepository.Asset asset)
create
protected static UMLModelResult 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,
UMLModelRepresentation umlModel,
DiagramRepresentation diagram)
throws no.sintef.lock.LockException
- Parameters:
project
- subtype
- name
- fullDescription
- concern
- viewpoint
-
- Returns:
-
- Throws:
no.sintef.lock.LockException
getUMLModel
public UMLModelRepresentation getUMLModel()
- Specified by:
getUMLModel
in interface IUMLModel
setUMLModel
public void setUMLModel(java.io.File umlFile)
throws no.sintef.lock.LockRequiredException,
java.io.IOException,
no.sintef.xml.XmlException
- Specified by:
setUMLModel
in interface IUMLModel
- Throws:
no.sintef.lock.LockRequiredException
java.io.IOException
no.sintef.xml.XmlException
setUMLModel
public void setUMLModel(UMLModelRepresentation newModel)
throws no.sintef.lock.LockRequiredException
- Specified by:
setUMLModel
in interface IUMLModel
- Throws:
no.sintef.lock.LockRequiredException
getXmiLight
public XmiLightRepresentation getXmiLight()
- Specified by:
getXmiLight
in interface IUMLModel
getUMLDiagram
public DiagramRepresentation getUMLDiagram()
- Specified by:
getUMLDiagram
in interface IUMLModel
setUMLDiagram
public void setUMLDiagram(java.io.File umlDiagramFile)
throws java.io.IOException,
no.sintef.lock.LockRequiredException
- Specified by:
setUMLDiagram
in interface IUMLModel
- Throws:
java.io.IOException
no.sintef.lock.LockRequiredException
setUMLDiagram
public void setUMLDiagram(DiagramRepresentation newDiagram)
throws no.sintef.lock.LockRequiredException
- Specified by:
setUMLDiagram
in interface IUMLModel
- Throws:
no.sintef.lock.LockRequiredException
Copyright © 2003-2005 SINTEF. All Rights Reserved.