coras.reuse
Class UMLModelExperience

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

public class UMLModelExperience
extends Experience
implements IUMLModel

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 UMLModelExperience(no.sintef.assetrepository.Asset asset)
           
 
Method Summary
protected static UMLModelExperience create(ExperiencePackage experiencePackage, coras.types.SubtypeEnum subtype, 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, UMLModelRepresentation umlModel, DiagramRepresentation diagram)
           
 DiagramRepresentation getUMLDiagram()
           
 UMLModelRepresentation getUMLModel()
           
 XmiLightRepresentation getXmiLight()
           
 void setUMLDiagram(DiagramRepresentation newDiagram)
           
 void setUMLDiagram(java.io.File umlDiagramFile)
           
 void setUMLModel(java.io.File umlFile)
           
 void setUMLModel(UMLModelRepresentation newModel)
           
 
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

UMLModelExperience

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

create

protected static UMLModelExperience create(ExperiencePackage experiencePackage,
                                           coras.types.SubtypeEnum subtype,
                                           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,
                                           UMLModelRepresentation umlModel,
                                           DiagramRepresentation diagram)
                                    throws no.sintef.lock.LockException
Parameters:
experiencePackage -
subtype -
name -
shortDescription -
concern -
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.