2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.yangtools.sal.binding.model.api;
11 * Implementing this interface allows an object to hold information about that if
12 * is generated type suitable for boxing.
23 * Suitable type have to implements ChildOf<T>, where !(T instanceof Identifiable) and
24 * T does not place any structural requirements (must/when) on existence/value Foo.
26 public interface BoxableType {
29 * Check if generated type is suitable for boxing.
31 * @return true if generated type is suitable for boxing, false otherwise.
33 boolean isSuitableForBoxing();