Examples of saveString()


Examples of net.sourceforge.processdash.data.ListData.saveString()

        List<String> list = StringData.create(value).asList().asList();
        ListData newVal = new ListData();
        for (String elem : list)
            newVal.add(pathNameMapper.getString(elem));
        return newVal.saveString().substring(1);
    }

    @EnabledFor("^Subproject_.*/Hierarchy_Path$")
    public String hashMasterSubprojectPath(String value) {
        return pathNameMapper.getString(value);
View Full Code Here

Examples of net.sourceforge.processdash.data.ListData.saveString()

        ListData newVal = new ListData();
        for (String elem : taskLists) {
            elem = taskListMapper.hashTaskListName(elem);
            newVal.add(elem);
        }
        return newVal.saveString().substring(1);
    }

    @EnabledFor("^Project_Schedule_Name$")
    public String hashTeamProjectScheduleName(String taskListName) {
        return taskListMapper.hashTaskListName(taskListName);
View Full Code Here

Examples of net.sourceforge.processdash.data.ListData.saveString()

                String label = elem.substring(tag.length());
                elem = tag + labelMapper.getString(label);
            }
            newVal.add(elem);
        }
        return newVal.saveString().substring(1);
    }

    private static final String LABEL_PREFIX = "label:";

    private static final String MILESTONE_PREFIX = "label:Milestone:";
View Full Code Here

Examples of net.sourceforge.processdash.data.SaveableData.saveString()

                    if (sd == null)
                        continue;

                    String value = null;
                    if (style != DUMP_STYLE_TEXT) {
                        value = sd.saveString();
                    } else if (sd instanceof DateData) {
                        value = ((DateData) sd).formatDate();
                    } else if (sd instanceof StringData) {
                        value = StringData.escapeString(((StringData) sd)
                                .getString());
View Full Code Here

Examples of net.sourceforge.processdash.data.SaveableData.saveString()

                                // possibly mark the datafile as modified.
          if (checkDatafileModification &&
              d.datafile != null &&
              value != oldValue &&
              (oldValue == null || value == null ||
               !value.saveString().equals(oldValue.saveString()))) {

            // This data element has been changed and should be saved.

            if (PHANTOM_DATAFILES.contains(d.datafile)) {
              // move the item OUT of the phantom datafile so it will be saved.
View Full Code Here

Examples of net.sourceforge.processdash.data.SaveableData.saveString()

            SaveableData value = element.getValue();
            String valStr = null;
            boolean editable = true;

            if (value != null) {
                valStr = value.saveString();
                editable = value.isEditable();
            } else if (element.isDefaultName()) {
                // store the fact that the default is overwritten with null
                valStr = "null";
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.