/** * If not already created, a new <code>auth-constraint</code> element with the given value will be created. * Otherwise, the existing <code>auth-constraint</code> element will be returned. * @return a new or existing instance of <code>AuthConstraintType<SecurityConstraintType<T>></code> */ public AuthConstraintType<SecurityConstraintType<T>> getOrCreateAuthConstraint() { Node node = childNode.getOrCreate("auth-constraint"); AuthConstraintType<SecurityConstraintType<T>> authConstraint = new AuthConstraintTypeImpl<SecurityConstraintType<T>>(this, "auth-constraint", childNode, node); return authConstraint; }
/** * If not already created, a new <code>auth-constraint</code> element with the given value will be created. * Otherwise, the existing <code>auth-constraint</code> element will be returned. * @return a new or existing instance of <code>AuthConstraintType<SecurityConstraintType<T>></code> */ public AuthConstraintType<SecurityConstraintType<T>> getOrCreateAuthConstraint() { Node node = childNode.getOrCreate("auth-constraint"); AuthConstraintType<SecurityConstraintType<T>> authConstraint = new AuthConstraintTypeImpl<SecurityConstraintType<T>>(this, "auth-constraint", childNode, node); return authConstraint; }