/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
+ * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
+ *
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
import org.opendaylight.yangtools.yang.model.api.ConstraintDefinition;
import org.opendaylight.yangtools.yang.model.api.MustDefinition;
+/**
+ * @deprecated Pre-Beryllium implementation, scheduled for removal.
+ */
+@Deprecated
public interface ConstraintsBuilder extends Builder<ConstraintDefinition> {
/**
/**
* Sets mandatory status of parent node
*
- * @param mandatory
+ * @param mandatory mandatory status
*/
void setMandatory(boolean mandatory);
* Build constraint definition
*
* @return instance of ConstraintDefinition created from this builder
+ *
+ * @deprecated Use {@link #build()} instead
*/
+ @Deprecated
ConstraintDefinition toInstance();
-
}
\ No newline at end of file