coras.common
Class CorasAsset
java.lang.Object
java.util.Observable
coras.common.CorasAsset
- Direct Known Subclasses:
- CorasElement, CorasPackage
- public class CorasAsset
- extends java.util.Observable
- Author:
- fvr
TODO To change the template for this generated type comment go to
Window - Preferences - Java - Code Style - Code Templates
Constructor Summary |
protected |
CorasAsset(no.sintef.assetrepository.Asset asset)
|
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 |
SHORT_DESCRIPTION
protected static final java.lang.String SHORT_DESCRIPTION
- See Also:
- Constant Field Values
CorasAsset
protected CorasAsset(no.sintef.assetrepository.Asset asset)
- Parameters:
asset
-
isDirty
public boolean isDirty()
isDeleted
public boolean isDeleted()
markAsDeleted
public void markAsDeleted()
throws no.sintef.lock.LockException
- Returns:
-
- Throws:
no.sintef.lock.LockException
getId
public java.lang.String getId()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String newName)
throws no.sintef.lock.LockRequiredException
- Throws:
no.sintef.lock.LockRequiredException
getFullDescription
public java.lang.String getFullDescription()
setFullDescription
public void setFullDescription(java.lang.String newDescription)
throws no.sintef.lock.LockRequiredException
- Throws:
no.sintef.lock.LockRequiredException
getShortDescription
public java.lang.String getShortDescription()
setShortDescription
public void setShortDescription(java.lang.String newDescription)
throws no.sintef.lock.LockRequiredException
- Throws:
no.sintef.lock.LockRequiredException
checkOut
public void checkOut()
throws no.sintef.lock.LockException
- Throws:
no.sintef.lock.LockException
checkIn
public void checkIn(java.lang.String annotation)
throws no.sintef.lock.LockException
- Throws:
no.sintef.lock.LockException
unCheckOut
public void unCheckOut()
throws no.sintef.lock.LockException
- Throws:
no.sintef.lock.LockException
getProperty
protected java.lang.String getProperty(java.lang.String key)
setProperty
protected void setProperty(java.lang.String key,
java.lang.String value)
throws no.sintef.lock.LockRequiredException
- Throws:
no.sintef.lock.LockRequiredException
getChildAssets
protected java.util.Collection getChildAssets(SwingWorker worker)
createChildAsset
protected no.sintef.assetrepository.Asset createChildAsset(coras.common.AssetTypeEnum assetType,
java.lang.String name,
java.lang.String description,
java.util.Map properties,
java.lang.String annotation,
no.sintef.assetrepository.Representation[] representations)
throws no.sintef.lock.LockException
- Throws:
no.sintef.lock.LockException
getRepresentation
protected CorasRepresentation getRepresentation(coras.representations.RepresentationTypeEnum type)
addRepresentation
protected void addRepresentation(CorasRepresentation representation)
throws no.sintef.lock.LockRequiredException
- Throws:
no.sintef.lock.LockRequiredException
removeRepresentation
protected void removeRepresentation(CorasRepresentation representation)
throws no.sintef.lock.LockRequiredException
- Throws:
no.sintef.lock.LockRequiredException
Copyright © 2003-2005 SINTEF. All Rights Reserved.