Package de.fu_berlin.inf.dpp.activities.serializable

Examples of de.fu_berlin.inf.dpp.activities.serializable.IActivityDataObject


    public static boolean containsNoFileCreationActivities(
        List<TimedActivityDataObject> timedActivities) {

        for (TimedActivityDataObject timedActivity : timedActivities) {

            IActivityDataObject activityDataObject = timedActivity
                .getActivity();

            if (activityDataObject instanceof FileActivityDataObject
                && ((FileActivityDataObject) activityDataObject).getType()
                    .equals(FileActivity.Type.Created)) {
View Full Code Here


                log.debug(msg);
        }

        for (TimedActivityDataObject timedActivity : timedActivities) {

            IActivityDataObject activityDataObject = timedActivity
                .getActivity();

            /*
             * Some activityDataObjects save space in the message by not setting
             * the source and the XML parser needs to provide the source
             */
            assert activityDataObject.getSource() != null : "Received activityDataObject without source:"
                + activityDataObject;

            try {
                // Ask sequencer to execute or queue until missing
                // activityDataObjects
View Full Code Here

        List<IActivityDataObject> result, TextEditActivityDataObject textEdit) {
        if (result.size() == 0) {
            return textEdit;
        }

        IActivityDataObject lastActivity = result.get(result.size() - 1);
        if (lastActivity instanceof TextEditActivityDataObject) {
            TextEditActivityDataObject lastTextEdit = (TextEditActivityDataObject) lastActivity;

            if (((lastTextEdit.getSource() == null) || lastTextEdit.getSource()
                .equals(textEdit.getSource()))
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.activities.serializable.IActivityDataObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.