2 * Copyright (c) 2016 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
9 package org.opendaylight.mdsal.binding2.model.api;
11 import com.google.common.annotations.Beta;
14 * Generated Property extends interface {@link TypeMember} interface. <br>
15 * The Generated Property interface is designed to store information of fields
16 * (or members) declared in Java Transfer Objects (or any java classes) and
17 * their access counterparts (getters and setters).
19 * @see MethodSignature
22 public interface GeneratedProperty extends TypeMember {
25 * @return String format of generated property value
30 * Returns <code>true</code> if the property si declared as read-only. <br>
31 * If the property has flag <code>isReadOnly == true</code> the property
32 * SHOULD be generated as getter only.
34 * @return <code>true</code> if the property si declared as read-only.