Reduce the use of AttrBuilders
[netconf.git] / restconf / restconf-nb-bierman02 / src / test / java / org / opendaylight / controller / sal / restconf / impl / test / DummyType.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.sal.restconf.impl.test;
9
10 import java.util.List;
11 import java.util.Optional;
12 import org.opendaylight.yangtools.yang.common.QName;
13 import org.opendaylight.yangtools.yang.model.api.SchemaPath;
14 import org.opendaylight.yangtools.yang.model.api.Status;
15 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
16 import org.opendaylight.yangtools.yang.model.api.UnknownSchemaNode;
17
18 public class DummyType implements TypeDefinition<DummyType> {
19     QName dummyQName = TestUtils.buildQName("dummy type", "simple:uri", "2012-12-17");
20
21     @Override
22     public QName getQName() {
23         return dummyQName;
24     }
25
26     @Override
27     public SchemaPath getPath() {
28         // TODO Auto-generated method stub
29         return null;
30     }
31
32     @Override
33     public Optional<String> getDescription() {
34         return Optional.empty();
35     }
36
37     @Override
38     public Optional<String> getReference() {
39         return Optional.empty();
40     }
41
42     @Override
43     public Status getStatus() {
44         // TODO Auto-generated method stub
45         return null;
46     }
47
48     @Override
49     public List<UnknownSchemaNode> getUnknownSchemaNodes() {
50         // TODO Auto-generated method stub
51         return null;
52     }
53
54     @Override
55     public DummyType getBaseType() {
56         // TODO Auto-generated method stub
57         return null;
58     }
59
60     @Override
61     public Optional<String> getUnits() {
62         return Optional.empty();
63     }
64
65     @Override
66     public Optional<? extends Object> getDefaultValue() {
67         return Optional.empty();
68     }
69 }