Interface IUnitAttribute<T>
-
- Type Parameters:
T- The class object of the attribute
- All Known Implementing Classes:
AbstractUnitAttribute
public interface IUnitAttribute<T>This class represents the complementary attributes of an unit
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TgetAttribute()Get the attributejava.lang.StringgetAttributeName()Get the attribute namevoidsetAttribute(T attribute)Set the attribute
-
-
-
Method Detail
-
setAttribute
void setAttribute(T attribute)
Set the attribute- Parameters:
attribute- the attribute to set
-
getAttribute
T getAttribute()
Get the attribute- Returns:
- the attribute the attribute
-
getAttributeName
java.lang.String getAttributeName()
Get the attribute name- Returns:
- the attribute name
-
-