coras.common
Class CorasElement

java.lang.Object
  extended byjava.util.Observable
      extended bycoras.common.CorasAsset
          extended bycoras.common.CorasElement
Direct Known Subclasses:
Experience, RiskAnalysisResult

public abstract class CorasElement
extends CorasAsset

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 CorasElement(no.sintef.assetrepository.Asset asset)
           
 
Method Summary
protected static no.sintef.assetrepository.Asset createAsset(CorasPackage parent, coras.common.AssetTypeEnum assetType, coras.types.ElementTypeEnum type, coras.types.SubtypeEnum subtype, java.lang.String name, java.lang.String shortDescription, java.lang.String fullDescription, coras.structure.ConcernEnum concern, coras.structure.ViewpointEnum[] viewpoints, CorasRepresentation[] corasRepresentations)
           
protected static no.sintef.assetrepository.Asset createAsset(CorasPackage parent, coras.common.AssetTypeEnum assetType, coras.types.ElementTypeEnum type, coras.types.SubtypeEnum subtype, java.lang.String name, java.lang.String shortDescription, java.lang.String fullDescription, coras.structure.ConcernEnum concern, coras.structure.ViewpointEnum[] viewpoints, java.util.Map properties, CorasRepresentation[] corasRepresentations)
           
 coras.structure.ConcernEnum getConcern()
           
 coras.types.SubtypeEnum getSubtype()
           
 coras.types.ElementTypeEnum getType()
           
protected static coras.types.ElementTypeEnum getType(no.sintef.assetrepository.Asset child)
           
 coras.structure.ViewpointEnum[] getViewpoints()
           
 void setConcern(coras.structure.ConcernEnum newConcern)
           
 void setViewpoints(coras.structure.ViewpointEnum[] viewpoints)
           
 
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

CorasElement

protected CorasElement(no.sintef.assetrepository.Asset asset)
Method Detail

createAsset

protected static no.sintef.assetrepository.Asset createAsset(CorasPackage parent,
                                                             coras.common.AssetTypeEnum assetType,
                                                             coras.types.ElementTypeEnum type,
                                                             coras.types.SubtypeEnum subtype,
                                                             java.lang.String name,
                                                             java.lang.String shortDescription,
                                                             java.lang.String fullDescription,
                                                             coras.structure.ConcernEnum concern,
                                                             coras.structure.ViewpointEnum[] viewpoints,
                                                             CorasRepresentation[] corasRepresentations)
                                                      throws no.sintef.lock.LockException
Throws:
no.sintef.lock.LockException

createAsset

protected static no.sintef.assetrepository.Asset createAsset(CorasPackage parent,
                                                             coras.common.AssetTypeEnum assetType,
                                                             coras.types.ElementTypeEnum type,
                                                             coras.types.SubtypeEnum subtype,
                                                             java.lang.String name,
                                                             java.lang.String shortDescription,
                                                             java.lang.String fullDescription,
                                                             coras.structure.ConcernEnum concern,
                                                             coras.structure.ViewpointEnum[] viewpoints,
                                                             java.util.Map properties,
                                                             CorasRepresentation[] corasRepresentations)
                                                      throws no.sintef.lock.LockException
Throws:
no.sintef.lock.LockException

getConcern

public coras.structure.ConcernEnum getConcern()

setConcern

public void setConcern(coras.structure.ConcernEnum newConcern)
                throws no.sintef.lock.LockRequiredException
Throws:
no.sintef.lock.LockRequiredException

getViewpoints

public coras.structure.ViewpointEnum[] getViewpoints()

setViewpoints

public void setViewpoints(coras.structure.ViewpointEnum[] viewpoints)
                   throws no.sintef.lock.LockRequiredException
Throws:
no.sintef.lock.LockRequiredException

getType

public coras.types.ElementTypeEnum getType()

getSubtype

public coras.types.SubtypeEnum getSubtype()

getType

protected static coras.types.ElementTypeEnum getType(no.sintef.assetrepository.Asset child)
Parameters:
child -
Returns:


Copyright © 2003-2005 SINTEF. All Rights Reserved.