public boolean calculateNillable(AttributeType[] children) { return calculateNillableStatic(children); }
public ChoiceAttributeType(String name, int min, int max, AttributeType[] children, Filter restriction) { super(DefaultAttributeType.createAttributeType(name, Object.class, restriction), new NameImpl(name),min,max,calculateNillableStatic(children),null); //ensure immutable. this.children = copyChildren(children); }