Class ProMResource<I extends ProMID>
java.lang.Object
org.processmining.contexts.uitopia.model.ProMResource<I>
- All Implemented Interfaces:
org.deckfour.uitopia.api.model.Resource
- Direct Known Subclasses:
ProMCResource
,ProMPOResource
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected final UIContext
protected long
protected boolean
protected final I
protected boolean
protected long
protected ProMResource.Listener
protected final Set<ProMPOResource>
protected final org.deckfour.uitopia.api.model.ResourceType
protected final org.deckfour.uitopia.api.model.Action
protected org.deckfour.uitopia.api.model.View
-
Constructor Summary
ConstructorDescriptionProMResource
(UIContext context, org.deckfour.uitopia.api.model.Action sourceAction, org.deckfour.uitopia.api.model.ResourceType resType, I id, List<Collection<ProMPOResource>> parameterValues) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getID()
abstract Object
getPreview
(int maxWidth, int maxHeight) org.deckfour.uitopia.api.model.Action
org.deckfour.uitopia.api.model.ResourceType
getType()
int
hashCode()
boolean
boolean
void
setCreationTime
(long creationTime) void
setFavorite
(boolean favorite) void
setLastAccessTime
(long lastAccessTime) void
setListener
(ProMResource.Listener listener) void
setParents
(Set<ProMPOResource> parents) void
toString()
void
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.deckfour.uitopia.api.model.Resource
destroy, getName, setName
-
Field Details
-
resType
protected final org.deckfour.uitopia.api.model.ResourceType resType -
favorite
protected boolean favorite -
creationTime
protected long creationTime -
lastAccessTime
protected long lastAccessTime -
id
-
parents
-
context
-
view
protected org.deckfour.uitopia.api.model.View view -
sourceAction
protected final org.deckfour.uitopia.api.model.Action sourceAction -
isDestroyed
protected boolean isDestroyed -
listener
-
-
Constructor Details
-
ProMResource
public ProMResource(UIContext context, org.deckfour.uitopia.api.model.Action sourceAction, org.deckfour.uitopia.api.model.ResourceType resType, I id, List<Collection<ProMPOResource>> parameterValues)
-
-
Method Details
-
setListener
-
setParents
-
getCreationTime
- Specified by:
getCreationTime
in interfaceorg.deckfour.uitopia.api.model.Resource
-
getLastAccessTime
- Specified by:
getLastAccessTime
in interfaceorg.deckfour.uitopia.api.model.Resource
-
setCreationTime
public void setCreationTime(long creationTime) -
setLastAccessTime
public void setLastAccessTime(long lastAccessTime) -
getParents
-
getPreview
- Specified by:
getPreview
in interfaceorg.deckfour.uitopia.api.model.Resource
-
setView
-
getSourceAction
public org.deckfour.uitopia.api.model.Action getSourceAction()- Specified by:
getSourceAction
in interfaceorg.deckfour.uitopia.api.model.Resource
-
isFavorite
public boolean isFavorite()- Specified by:
isFavorite
in interfaceorg.deckfour.uitopia.api.model.Resource
-
setFavorite
public void setFavorite(boolean favorite) - Specified by:
setFavorite
in interfaceorg.deckfour.uitopia.api.model.Resource
-
updateLastAccessTime
public void updateLastAccessTime()- Specified by:
updateLastAccessTime
in interfaceorg.deckfour.uitopia.api.model.Resource
-
getType
public org.deckfour.uitopia.api.model.ResourceType getType()- Specified by:
getType
in interfaceorg.deckfour.uitopia.api.model.Resource
-
equals
-
hashCode
public int hashCode() -
toString
-
getID
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyed
in interfaceorg.deckfour.uitopia.api.model.Resource
-
getInstance
-