package project; /** * Ways to get and modify attributes * * * @author CSC152 2004F * @version 1.0 of November 2004 */ public interface ThingPerson extends Noun { /** * Get attribute stored as a number */ public double getNumberAttribute(String name); /** * Get atribute stored as a string */ public String getWordAttribute(String name); /** * Modify the number atribute of this thing */ public void changeNumberAttribute(String name, Double newValue); /** * Modify the string attribute of this thing */ public void changeWordAttribute(String name, String newName); } // interface ThingPerson