Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
When a node is going down, remove edges in both directions associated with the node.
[controller.git]
/
opendaylight
/
sal
/
yang-prototype
/
code-generator
/
yang-model-parser-impl
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
yang
/
parser
/
builder
/
api
/
DataSchemaNodeBuilder.java
diff --git
a/opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/src/main/java/org/opendaylight/controller/yang/parser/builder/api/DataSchemaNodeBuilder.java
b/opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/src/main/java/org/opendaylight/controller/yang/parser/builder/api/DataSchemaNodeBuilder.java
index de0453105fa2c846403b9accfc16f66b0f43b51c..a21775068d53eb4252b151da9cc461be0d0c38c8 100644
(file)
--- a/
opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/src/main/java/org/opendaylight/controller/yang/parser/builder/api/DataSchemaNodeBuilder.java
+++ b/
opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/src/main/java/org/opendaylight/controller/yang/parser/builder/api/DataSchemaNodeBuilder.java
@@
-16,12
+16,43
@@
import org.opendaylight.controller.yang.parser.builder.impl.ConstraintsBuilder;
*/
public interface DataSchemaNodeBuilder extends SchemaNodeBuilder {
*/
public interface DataSchemaNodeBuilder extends SchemaNodeBuilder {
+ /**
+ * Build DataSchemaNode object from this builder.
+ */
DataSchemaNode build();
DataSchemaNode build();
+ /**
+ *
+ * @return true, if this node is added by augmentation, false otherwise
+ */
+ boolean isAugmenting();
+
+ /**
+ * Set if this node is added by augmentation.
+ *
+ * @param augmenting
+ */
void setAugmenting(boolean augmenting);
void setAugmenting(boolean augmenting);
- void setConfiguration(boolean configuration);
+ /**
+ * Get value of config statement.
+ *
+ * @return value of config statement
+ */
+ Boolean isConfiguration();
+
+ /**
+ * Set config statement.
+ *
+ * @param config
+ */
+ void setConfiguration(Boolean config);
+ /**
+ * Get constraints of this builder.
+ *
+ * @return constraints of this builder
+ */
ConstraintsBuilder getConstraints();
}
ConstraintsBuilder getConstraints();
}