Class AbstractUnitAttribute<T>
- java.lang.Object
-
- fr.paris.lutece.plugins.unittree.business.unit.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 Summary
Constructors Constructor Description AbstractUnitAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetAttribute()Get the attributevoidsetAttribute(T attribute)Set the attribute-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.paris.lutece.plugins.unittree.business.unit.IUnitAttribute
getAttributeName
-
-
-
-
Method Detail
-
setAttribute
public void setAttribute(T attribute)
Set the attribute- Specified by:
setAttributein interfaceIUnitAttribute<T>- Parameters:
attribute- the attribute to set
-
getAttribute
public T getAttribute()
Get the attribute- Specified by:
getAttributein interfaceIUnitAttribute<T>- Returns:
- the attribute the attribute
-
-