blob: 69699a47f4ca7f85dca1852c0755ea2d93c5ceab [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
* which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* Contributors:
* Roman Grigoriadi
******************************************************************************/
package org.eclipse.persistence.json.bind.customization.model;
import javax.json.bind.annotation.JsonbProperty;
/**
* @author Roman Grigoriadi
*/
public class JsonbPropertyName {
@JsonbProperty("fieldAnnotatedNameCustomized")
private String fieldAnnotatedName;
private String methodAnnotName;
@JsonbProperty("fieldAnnotatedNameToOverride")
private String fieldOverridedWithMethodAnnot;
public String getFieldAnnotatedName() {
return fieldAnnotatedName;
}
public void setFieldAnnotatedName(String fieldAnnotatedName) {
this.fieldAnnotatedName = fieldAnnotatedName;
}
@JsonbProperty("getterAnnotatedName")
public String getMethodAnnotName() {
return methodAnnotName;
}
@JsonbProperty("setterAnnotatedName")
public void setMethodAnnotName(String methodAnnotName) {
this.methodAnnotName = methodAnnotName;
}
@JsonbProperty("getterOverriddenName")
public String getFieldOverridedWithMethodAnnot() {
return fieldOverridedWithMethodAnnot;
}
@JsonbProperty("setterOverriddenName")
public void setFieldOverridedWithMethodAnnot(String fieldOverridedWithMethodAnnot) {
this.fieldOverridedWithMethodAnnot = fieldOverridedWithMethodAnnot;
}
}