-package org.opendaylight.yangtools.yang.model.api;
-
-import java.net.URI;
-import java.util.Date;
-
/*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
+package org.opendaylight.yangtools.yang.model.api;
+
+import java.net.URI;
+import java.util.Optional;
+import org.opendaylight.yangtools.yang.common.Revision;
+
+// FIXME: 5.0.0: this really is QNameModuleAware (or some such)
public interface NamespaceRevisionAware {
URI getNamespace();
- Date getRevision();
+
+ Optional<Revision> getRevision();
}