package step.core; public abstract class StepValue { public int getId() { throw new ClassCastException("tried to call abstract method"); } public void setId(int id) { throw new ClassCastException("tried to call abstract method"); } public String toString() { return toString(""); } public abstract String toString(String tab); public abstract void accept(StepAbstractRepositoryVisitor visitor) throws Exception ; }