cartago
Class ArtifactDescriptor
java.lang.Object
cartago.ArtifactDescriptor
public class ArtifactDescriptor
- extends java.lang.Object
Artifact descriptor, keeping track of artifact
management information
- Author:
- aricci
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactDescriptor
public ArtifactDescriptor(Artifact artifact,
AgentId creator,
AbstractArtifactAdapter adapter)
getArtifact
public Artifact getArtifact()
getAgentCreator
public AgentId getAgentCreator()
getArtifactType
public java.lang.String getArtifactType()
getAdapter
public AbstractArtifactAdapter getAdapter()
removeAllObservers
public void removeAllObservers()
addObserver
public void addObserver(AgentId id,
IEventFilter ev,
ICartagoCallback ctx)
removeObserver
public boolean removeObserver(AgentId ctxId)
isObserved
public boolean isObserved()
isObservedBy
public boolean isObservedBy(AgentId userId)
notifyObservers
public void notifyObservers(CartagoEvent ev)
notifyObserver
public void notifyObserver(AgentId id,
CartagoEvent ev)
>DEIS - University of Bologna