Class AbstractUnitAttribute<T>

  • Type Parameters:
    T - The class object of the attribute
    All Implemented Interfaces:
    IUnitAttribute<T>

    public abstract class AbstractUnitAttribute<T>
    extends java.lang.Object
    implements IUnitAttribute<T>
    AbstractUnitAttribute
    • Constructor Detail

      • AbstractUnitAttribute

        public AbstractUnitAttribute()
    • Method Detail

      • setAttribute

        public void setAttribute​(T attribute)
        Set the attribute
        Specified by:
        setAttribute in interface IUnitAttribute<T>
        Parameters:
        attribute - the attribute to set
      • getAttribute

        public T getAttribute()
        Get the attribute
        Specified by:
        getAttribute in interface IUnitAttribute<T>
        Returns:
        the attribute the attribute