/* * Copyright (c) 2013 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 */ package org.opendaylight.yangtools.concepts; public interface ClassBasedPropertyBuilder> extends Builder

{ /** * Sets a value of property uniquely identified by its * class. * * @param value type * @param type Type of property to set * @param value Value of property * @return Builder instance */ T set(Class type, V value); /** * Gets a value of property based on its type. * * @param value type * @param type Type of property to get * @return Builder instance */ V get(Class type); }