* interface.
*
* @see LeafrefTypeDefinition
+ * @deprecated Use {@link org.opendaylight.yangtools.yang.model.util.type.BaseTypes#leafrefTypeBuilder(SchemaPath)} instead
*/
+@Deprecated
public final class Leafref implements LeafrefTypeDefinition {
private static final QName NAME = BaseTypes.constructQName("leafref");
private static final SchemaPath PATH = SchemaPath.create(true, NAME);
@Override
public String toString() {
- StringBuilder builder = new StringBuilder();
- builder.append("type ");
- builder.append(NAME);
- builder.append(" [xpath=");
- builder.append(xpath);
- builder.append("]");
- return builder.toString();
+ return "type " +
+ NAME +
+ " [xpath=" +
+ xpath +
+ "]";
}
}