2 * Copyright (c) 2013 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;
10 import java.util.List;
13 * Common interface for variables and methods in class.
15 * @deprecated Use {@link org.opendaylight.mdsal.binding.model.api.TypeMember} instead.
18 public interface TypeMember {
21 * Returns comment string associated with member.
23 * @return comment string associated with member.
28 * Returns List of annotation definitions associated with generated type.
30 * @return List of annotation definitions associated with generated type.
32 List<AnnotationType> getAnnotations();
35 * Returns the access modifier of member.
37 * @return the access modifier of member.
39 AccessModifier getAccessModifier();
42 * Returns <code>true</code> if member is declared as static.
44 * @return <code>true</code> if member is declared as static.
49 * Returns <code>true</code> if member is declared as final.
51 * @return <code>true</code> if member is declared as final.
56 * Get the returning Type of member.
58 * @return the returning Type of member.
63 * Returns the name of member.
65 * @return the name of member.
70 * Returns the Type that declares member.
72 * @return the Type that declares member.
74 Type getDefiningType();