Class ConsistManager

    • Method Detail

      • newConsist

        public Consist newConsist​(java.lang.String name)
        Create a new Consist
        Parameters:
        name - string name for this Consist
        Returns:
        Consist
      • deleteConsist

        public void deleteConsist​(java.lang.String name)
        Delete a Consist by name
        Parameters:
        name - string name for the Consist
      • getConsistByName

        public Consist getConsistByName​(java.lang.String name)
        Get a Consist by name
        Parameters:
        name - string name for the Consist
        Returns:
        named Consist
      • replaceConsistName

        public void replaceConsistName​(java.lang.String oldName,
                                       java.lang.String newName)
      • load

        public void load​(org.jdom2.Element root)
      • store

        public void store​(org.jdom2.Element root)
        Create an XML element to represent this Entry. This member has to remain synchronized with the detailed DTD in operations-engines.dtd.
        Parameters:
        root - The common Element for operations-engines.dtd.
      • setDirtyAndFirePropertyChange

        protected void setDirtyAndFirePropertyChange​(java.lang.String p,
                                                     java.lang.Object old,
                                                     java.lang.Object n)