Package com.im.ijcs.api.ddl.dto
Class InvocationDescription
- java.lang.Object
-
- com.im.ijcs.api.ddl.dto.InvocationDescription
-
- All Implemented Interfaces:
java.io.Serializable
public class InvocationDescription extends java.lang.Object implements java.io.Serializable
Describes a set of changes applied to the DIF model.- Author:
- Tim Dudgeon
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvocationDescription(java.lang.String username)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOperationResults(java.lang.String operationID, java.util.List<ModelChangeDescription> changes)
Add the changes for a particular operation invocationlong
getDuration()
java.util.Map<java.lang.String,java.util.List<ModelChangeDescription>>
getResults()
Get all the changes as a map.java.sql.Timestamp
getStartTime()
java.lang.String
getUsername()
Get the username instigated these changesvoid
setDuration(long duration)
void
setStartTime(java.sql.Timestamp startTime)
-
-
-
Method Detail
-
getStartTime
public java.sql.Timestamp getStartTime()
-
setStartTime
public void setStartTime(java.sql.Timestamp startTime)
-
getDuration
public long getDuration()
-
setDuration
public void setDuration(long duration)
-
getUsername
public java.lang.String getUsername()
Get the username instigated these changes- Returns:
- The username
-
addOperationResults
public void addOperationResults(java.lang.String operationID, java.util.List<ModelChangeDescription> changes)
Add the changes for a particular operation invocation- Parameters:
operationID
-changes
-
-
getResults
public java.util.Map<java.lang.String,java.util.List<ModelChangeDescription>> getResults()
Get all the changes as a map. The IDs are the operation IDs- Returns:
- The map of all changes
-
-