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