added get methods and javadoc to class Action