af408e6b510eb698425df712c7bf4106dc2a02cc
[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.Status;
14 import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
15 import org.opendaylight.yangtools.yang.model.api.UnknownSchemaNode;
16
17 public class DummyType implements TypeDefinition<DummyType> {
18     QName dummyQName = TestUtils.buildQName("dummy type", "simple:uri", "2012-12-17");
19
20     @Override
21     public QName getQName() {
22         return dummyQName;
23     }
24
25     @Override
26     public Optional<String> getDescription() {
27         return Optional.empty();
28     }
29
30     @Override
31     public Optional<String> getReference() {
32         return Optional.empty();
33     }
34
35     @Override
36     public Status getStatus() {
37         // TODO Auto-generated method stub
38         return null;
39     }
40
41     @Override
42     public List<UnknownSchemaNode> getUnknownSchemaNodes() {
43         // TODO Auto-generated method stub
44         return null;
45     }
46
47     @Override
48     public DummyType getBaseType() {
49         // TODO Auto-generated method stub
50         return null;
51     }
52
53     @Override
54     public Optional<String> getUnits() {
55         return Optional.empty();
56     }
57
58     @Override
59     public Optional<? extends Object> getDefaultValue() {
60         return Optional.empty();
61     }
62 }