Class 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 Detail

      • InvocationDescription

        public InvocationDescription​(java.lang.String username)
    • 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