Update Effectstype.java

Adding generics mechanism.