Class Tier<T>

All Implemented Interfaces:
IExtendable, Iterable<T>

public final class Tier<T> extends ExtendableObject implements Iterable<T>
A tier in a record. A tier has a name, type and a number of groups.
  • Method Details

    • getName

      public String getName()
    • getDeclaredType

      public Class<?> getDeclaredType()
    • isGrouped

      public boolean isGrouped()
    • numberOfGroups

      public int numberOfGroups()
    • getGroup

      public T getGroup(int idx)
    • setGroup

      public void setGroup(int idx, T val)
    • addGroup

      public void addGroup()
    • addGroup

      public void addGroup(int idx)
    • addGroup

      public void addGroup(T val)
    • addGroup

      public void addGroup(int idx, T val)
    • removeGroup

      public T removeGroup(int idx)
    • removeAll

      public void removeAll()
    • iterator

      public Iterator<T> iterator()
      Specified by:
      iterator in interface Iterable<T>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • addTierListener

      public void addTierListener(TierListener<T> listener)
    • removeTierListener

      public void removeTierListener(TierListener<T> listener)