private Property makeProperty( TableIdentifier table, String propertyName, Value value, boolean insertable, boolean updatable, boolean lazy, String cascade, String propertyAccessorName) { log.debug("Building property " + propertyName); Property prop = new Property(); prop.setName(propertyName); prop.setValue(value); prop.setInsertable(insertable); prop.setUpdateable(updatable); prop.setLazy(lazy); prop.setCascade(cascade == null ? "none" : cascade); prop.setPropertyAccessorName(propertyAccessorName == null ? "property" : propertyAccessorName); bindMeta(prop, table); return prop; }