Package moise.reorg

Class ReorgPlan

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
moise.reorg.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
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.Class classChangeDS  
    static java.lang.Class classChangeRoleDefProperties  
    (package private) java.lang.String proposer  
    private static long serialVersionUID  

    Fields inherited from class java.util.AbstractList

    modCount
  • 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 Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
      Constant Field Values
    • classChangeRoleDefProperties

      public static java.lang.Class classChangeRoleDefProperties
    • classChangeDS

      public static java.lang.Class classChangeDS
    • proposer

      java.lang.String proposer
  • Constructor Details

    • ReorgPlan

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

    • 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
    • execute

      public void execute​(OE oe) throws MoiseException
      Throws:
      MoiseException
    • 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)