Added javaDoc to all methods in the Attribute class