* Twirl is transformed to Scala and compiled. Then, *
* it can be called from Java with particular input *
* parameters to render desired output code. *
-* *
-* Note: we should introduce our own format instead of txt *
***********************************************************@
@import org.opendaylight.yangtools.yang.model.api.FeatureDefinition
+@import org.opendaylight.yangtools.yang.model.api.Status
@(feature: FeatureDefinition)
feature @{feature.getQName().getLocalName()} {
@if(feature.getReference() != null && !feature.getReference().isEmpty()) {
reference "@{feature.getReference()}";
}
- @if(feature.getStatus() != null) {
+ @if(feature.getStatus() != Status.CURRENT) {
status @{feature.getStatus()};
}
}
\ No newline at end of file