X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-clustering-commons%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Fnode%2Futils%2Fstream%2FNodeTypes.java;h=6ca1f1306c50282e828dd1ae30049b1bde870c2e;hp=3ff6efbb0577b28a5b6d90b5bbcb56da5216e83f;hb=cfa32c0058c51a993e5b3e390acf49d7aaeac433;hpb=dd32d3d246ebad8b7c76afb93239a4462f329a6b diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/NodeTypes.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/NodeTypes.java index 3ff6efbb05..6ca1f1306c 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/NodeTypes.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/datastore/node/utils/stream/NodeTypes.java @@ -1,29 +1,30 @@ /* + * Copyright (c) 2014, 2015 Cisco Systems, Inc. and others. All rights reserved. * - * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - * + * This program and the accompanying materials are made available under the + * 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.controller.cluster.datastore.node.utils.stream; -public class NodeTypes { - - public static final byte LEAF_NODE = 1; - public static final byte LEAF_SET = 2; - public static final byte LEAF_SET_ENTRY_NODE = 3; - public static final byte CONTAINER_NODE = 4; - public static final byte UNKEYED_LIST = 5; - public static final byte UNKEYED_LIST_ITEM = 6; - public static final byte MAP_NODE = 7; - public static final byte MAP_ENTRY_NODE = 8; - public static final byte ORDERED_MAP_NODE = 9; - public static final byte CHOICE_NODE = 10; - public static final byte AUGMENTATION_NODE = 11; - public static final byte ANY_XML_NODE = 12; - public static final byte END_NODE = 13; +final class NodeTypes { + static final byte LEAF_NODE = 1; + static final byte LEAF_SET = 2; + static final byte LEAF_SET_ENTRY_NODE = 3; + static final byte CONTAINER_NODE = 4; + static final byte UNKEYED_LIST = 5; + static final byte UNKEYED_LIST_ITEM = 6; + static final byte MAP_NODE = 7; + static final byte MAP_ENTRY_NODE = 8; + static final byte ORDERED_MAP_NODE = 9; + static final byte CHOICE_NODE = 10; + static final byte AUGMENTATION_NODE = 11; + static final byte ANY_XML_NODE = 12; + static final byte END_NODE = 13; + static final byte ORDERED_LEAF_SET = 14; + static final byte YANG_MODELED_ANY_XML_NODE = 15; + private NodeTypes() { + throw new UnsupportedOperationException("utility class"); + } }