/*
* Copyright 2013 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.overlord.rtgov.ui.client.model;
import java.io.Serializable;
import org.jboss.errai.common.client.api.annotations.Portable;
import org.jboss.errai.databinding.client.api.Bindable;
/**
* Models the full details of a service.
*
* @author eric.wittmann@redhat.com
*/
@Portable
@Bindable
public class ComponentServiceBean implements Serializable {
private static final long serialVersionUID = ComponentServiceBean.class.hashCode();
private String serviceId;
private QName name;
private QName application;
private String serviceInterface;
private String serviceImplementation;
/**
* Constructor.
*/
public ComponentServiceBean() {
}
/**
* @return the serviceId
*/
public String getServiceId() {
return serviceId;
}
/**
* @return the name
*/
public QName getName() {
return name;
}
/**
* @return the application
*/
public QName getApplication() {
return application;
}
/**
* @return the serviceInterface
*/
public String getServiceInterface() {
return serviceInterface;
}
/**
* @param serviceId the serviceId to set
*/
public void setServiceId(String serviceId) {
this.serviceId = serviceId;
}
/**
* @param name the name to set
*/
public void setName(QName name) {
this.name = name;
}
/**
* @param application the application to set
*/
public void setApplication(QName application) {
this.application = application;
}
/**
* @param serviceInterface the serviceInterface to set
*/
public void setServiceInterface(String serviceInterface) {
this.serviceInterface = serviceInterface;
}
/**
* @return the serviceImplementation
*/
public String getServiceImplementation() {
return serviceImplementation;
}
/**
* @param serviceImplementation the serviceImplementation to set
*/
public void setServiceImplementation(String serviceImplementation) {
this.serviceImplementation = serviceImplementation;
}
}