Fixing sonar issues 2
[yangtools.git] / code-generator / binding-generator-spi / src / main / java / org / opendaylight / yangtools / sal / binding / generator / spi / YANGModuleIdentifier.java
1 /*
2  * Copyright (c) 2013 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.yangtools.sal.binding.generator.spi;
9
10 import java.net.URI;
11 import java.util.Date;
12
13
14 public class YANGModuleIdentifier {
15     private String name;
16     private URI namespace;
17     private Date revision;
18
19     /**
20      * Returns name.
21      * 
22      * @return string with name
23      */
24     public String getName() {
25         return this.name;
26     }
27
28     /**
29      * Returns URI namespace.
30      * 
31      * @return URI with namespace
32      */
33     public URI getNamespace() {
34         return this.namespace;
35     }
36
37     /**
38      * Returns the revision date.
39      * 
40      * @return date of revision
41      */
42     public Date getRevision() {
43         return this.revision;
44     }
45 }