coras.riskanalysis
Class DocumentResult
java.lang.Object
java.util.Observable
coras.common.CorasAsset
coras.common.CorasElement
coras.riskanalysis.RiskAnalysisResult
coras.riskanalysis.DocumentResult
- All Implemented Interfaces:
- IDocument
- public final class DocumentResult
- extends RiskAnalysisResult
- implements IDocument
- Author:
- fvr
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Constructor Summary |
protected |
DocumentResult(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 |
DocumentResult
protected DocumentResult(no.sintef.assetrepository.Asset asset)
create
protected static DocumentResult create(RiskAnalysisProject project,
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
- Parameters:
project
- name
- concern
- viewpoint
-
- Returns:
-
- Throws:
no.sintef.lock.LockException
getDocumentContent
public DocumentRepresentation getDocumentContent()
- Specified by:
getDocumentContent
in interface IDocument
setDocumentContent
public void setDocumentContent(java.io.File documentFile)
throws java.io.IOException,
no.sintef.lock.LockRequiredException
- Specified by:
setDocumentContent
in interface IDocument
- Throws:
java.io.IOException
no.sintef.lock.LockRequiredException
setDocumentContent
public void setDocumentContent(DocumentRepresentation newDocument)
throws no.sintef.lock.LockRequiredException
- Specified by:
setDocumentContent
in interface IDocument
- Throws:
no.sintef.lock.LockRequiredException
Copyright © 2003-2005 SINTEF. All Rights Reserved.