Update Effectstype.java

Adding generics mechanism and security mechanism.