public void markAsAcknowledged() { if (isAcknowledged()) return; // mark the parent as well. super.markAsAcknowledged(); BIProperty def = getDefault(); if (def != null) def.markAsAcknowledged(); }
public void setParent(BindInfo parent) { super.setParent(parent); // fill in the remaining default values if (enumBaseTypes == null) enumBaseTypes = Collections.singleton(new QName(WellKnownNamespace.XML_SCHEMA, "string")); this.defaultProperty = new BIProperty( getLocation(), null, null, null, collectionType, fixedAttributeAsConstantProperty, optionalProperty, generateElementProperty); defaultProperty.setParent(parent); // don't forget to initialize the defaultProperty }
public void setParent(BindInfo parent) { super.setParent(parent); if (baseType != null && baseType.conv != null) baseType.conv.setParent(parent); }
public void onSetOwner() { super.onSetOwner(); // if one is given by options, use that NameConverter nc = Ring.get(Model.class).options.getNameConverter(); if (nc != null) nameConverter = nc; }