/*******************************************************************************
* Copyright (c) 2011, 2015 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:
* 06/03/2011-2.3.1 Guy Pelletier
* - 347563: transient field/property in embeddable entity
******************************************************************************/
package org.eclipse.persistence.testing.models.jpa.xml.inherited;
import javax.persistence.Embeddable;
public class RedStripe {
private Double alcoholContent;
// Marked as transient in XML (to expose bug 347563)
private String transientString;
public RedStripe() {}
public RedStripe(Double content) {
this.alcoholContent = content;
}
public Double getAlcoholContent() {
return alcoholContent;
}
public String getTransientString() {
return transientString;
}
public void setAlcoholContent(Double alcoholContent) {
this.alcoholContent = alcoholContent;
}
public void setTransientString(String transientString) {
this.transientString = transientString;
}
}