org.activecomponents.webservice.ServiceInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-platform-webservice-websocket Show documentation
Show all versions of jadex-platform-webservice-websocket Show documentation
Jadex websocket webservice implementation
package org.activecomponents.webservice;
import java.util.HashSet;
import java.util.Set;
import jadex.bridge.service.IServiceIdentifier;
/**
* Service info.
* Provides also method names because otherwise JS side would have to inspect Java interfaces.
*/
public class ServiceInfo
{
/** The service identifier. */
protected IServiceIdentifier sid;
/** The method names. */
protected Set methodnames = new HashSet();
/**
* Create the service proxy.
*/
public ServiceInfo()
{
}
/**
* Create the service proxy.
* @param sid The service identifier.
* @param methodnames The method names.
*/
public ServiceInfo(IServiceIdentifier sid, Set methodnames)
{
this.sid = sid;
this.methodnames = methodnames;
}
/**
* Get the methodNames.
* @return The methodNames
*/
public Set getMethodNames()
{
return methodnames;
}
/**
* Set the methodNames.
* @param methodnames The methodNames to set
*/
public void setMethodNames(Set methodnames)
{
this.methodnames = methodnames;
}
/**
* Get the serviceIdentifier.
* @return The serviceIdentifier
*/
public IServiceIdentifier getServiceIdentifier()
{
return sid;
}
/**
* Set the serviceIdentifier.
* @param sid The serviceIdentifier to set
*/
public void setServiceIdentifier(IServiceIdentifier sid)
{
this.sid = sid;
}
/**
* Get the serviceIdentifier.
* @return The serviceIdentifier
*/
public String getServiceIdentifierString()
{
return ""+sid;
}
/**
* Set the serviceIdentifier.
* @param sid The serviceIdentifier to set
*/
public void setServiceIdentifierString(String sid)
{
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy