org.eclipse.persistence.internal.xr.XRServiceModel Maven / Gradle / Ivy
Show all versions of eclipselink Show documentation
/*
* Copyright (c) 1998, 2020 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 v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
*/
// Contributors:
// Oracle - initial API and implementation from Oracle TopLink
package org.eclipse.persistence.internal.xr;
// Javase imports
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
// Java extension imports
// EclipseLink imports
/**
* INTERNAL: internal DBWS model object allows conformity across APIs
*
* @author Mike Norman - [email protected]
* @since EclipseLink 1.x
*/
public class XRServiceModel {
protected String name;
protected Map operations = new HashMap();
protected String sessionsFile;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Map getOperations() {
return operations;
}
public void setOperations(Map operations) {
this.operations = operations;
}
public Collection getOperationsList() {
return operations.values();
}
public Operation getOperation(String operationName) {
return operations.get(operationName);
}
public String getSessionsFile() {
return sessionsFile;
}
public void setSessionsFile(String sessionsFile) {
this.sessionsFile = sessionsFile;
}
}