Package moise.reorg

Class ReorgPlan

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

    public class ReorgPlan
    extends java.util.ArrayList
    implements java.io.Serializable
    A reorganisation plan
    Author:
    jomi
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ReorgPlan​(java.lang.String proposer)  
    • Method Summary

      Modifier and Type Method Description
      boolean contains​(java.lang.Class c)
      returns true if the plan contains some action of the class c
      static boolean contains​(java.lang.Class c1, java.lang.Class c2)
      returns true if c1 is a super class of c2
      void execute​(OE oe)  
      java.lang.Class getFocus()  
      java.lang.String getProposer()  
      static void main​(java.lang.String[] a)  
      private static java.lang.Class mostGeneral​(java.lang.Class c1, java.lang.Class c2)  
      java.lang.String toString()  
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Field Detail

      • classChangeRoleDefProperties

        public static java.lang.Class classChangeRoleDefProperties
      • classChangeDS

        public static java.lang.Class classChangeDS
      • proposer

        java.lang.String proposer
    • Constructor Detail

      • ReorgPlan

        public ReorgPlan​(java.lang.String proposer)
    • Method Detail

      • getProposer

        public java.lang.String getProposer()
      • getFocus

        public java.lang.Class getFocus()
      • contains

        public boolean contains​(java.lang.Class c)
        returns true if the plan contains some action of the class c
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.util.AbstractCollection
      • mostGeneral

        private static java.lang.Class mostGeneral​(java.lang.Class c1,
                                                   java.lang.Class c2)
      • contains

        public static boolean contains​(java.lang.Class c1,
                                       java.lang.Class c2)
        returns true if c1 is a super class of c2
      • main

        public static void main​(java.lang.String[] a)