Added getResourceType method to the WatObject interface.