boolean parent(String typeRef) { checkType(); XTypeRef parent = type.getParent(); if (parent != null) { throw new SidoMoreThanOneParentException(type.getName()); } else { type.setParent(new XTypeRef(typeRef)); return true; } }
boolean abstractType() { checkType(); type.setAbstractType(true); return true; }
boolean propertyFinish() { checkProperty(); type.addProperty(property); property = null; return true; }