/******************************************************************************* | |
* Copyright (c) 2011 Oracle. 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: | |
* dclarke/tware - initial | |
******************************************************************************/ | |
package org.eclipse.persistence.jpa.rs.websockets; | |
import javax.xml.bind.annotation.XmlAccessType; | |
import javax.xml.bind.annotation.XmlAccessorType; | |
@XmlAccessorType(XmlAccessType.FIELD) | |
public class Registration { | |
private String appName; | |
private String entityName; | |
public String getAppName() { | |
return appName; | |
} | |
public void setAppName(String appName) { | |
this.appName = appName; | |
} | |
public String getEntityName() { | |
return entityName; | |
} | |
public void setEntityName(String entityName) { | |
this.entityName = entityName; | |
} | |
@Override | |
public String toString() { | |
return "Registration [appName=" + appName + ", entityName=" | |
+ entityName + "]"; | |
} | |
} |