Package jadex.bridge.service
Class ProvidedServiceInfo
- java.lang.Object
 - 
- jadex.bridge.service.ProvidedServiceInfo
 
 
- 
public class ProvidedServiceInfo extends java.lang.ObjectInfo for provided services. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected ProvidedServiceImplementationimplementationThe service implementation.protected java.lang.StringnameThe name (used for referencing).protected java.util.List<UnparsedExpression>propertiesThe service properties.protected PublishInfopublishPublish information.protected ServiceScopescopeThe scope.protected booleansystemserviceFlag if it is a system service.protected ClassInfotypeThe type.protected java.lang.StringtypenameThe service interface type as string. 
- 
Constructor Summary
Constructors Constructor Description ProvidedServiceInfo()Create a new service info.ProvidedServiceInfo(java.lang.String name, ClassInfo type, ProvidedServiceImplementation implementation, ServiceScope scope, PublishInfo publish, java.util.List<UnparsedExpression> properties, boolean systemservice)Create a new service info.ProvidedServiceInfo(java.lang.String name, java.lang.Class<?> type, ProvidedServiceImplementation implementation, ServiceScope scope, PublishInfo publish, java.util.List<UnparsedExpression> properties)Create a new service info. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProvidedServiceImplementationgetImplementation()Get the implementation.java.lang.StringgetName()Get the name.java.util.List<UnparsedExpression>getProperties()PublishInfogetPublish()Get the publish.ServiceScopegetScope()Get the scope.ClassInfogetType()Get the type.booleanisSystemService()Get the systemservice.voidsetImplementation(ProvidedServiceImplementation implementation)Set the implementation.voidsetName(java.lang.String name)Set the name.voidsetProperties(java.util.List<UnparsedExpression> properties)voidsetPublish(PublishInfo publish)Set the publish.voidsetScope(ServiceScope scope)Set the scope.voidsetSystemService(boolean systemservice)Set the systemservice.voidsetType(ClassInfo type)Set the type.java.lang.StringtoString()Get the string representation. 
 - 
 
- 
- 
Field Detail
- 
name
protected java.lang.String name
The name (used for referencing). 
- 
typename
protected java.lang.String typename
The service interface type as string. 
- 
type
protected ClassInfo type
The type. 
- 
implementation
protected ProvidedServiceImplementation implementation
The service implementation. 
- 
publish
protected PublishInfo publish
Publish information. 
- 
scope
protected ServiceScope scope
The scope. 
- 
properties
protected java.util.List<UnparsedExpression> properties
The service properties. 
- 
systemservice
protected boolean systemservice
Flag if it is a system service. 
 - 
 
- 
Constructor Detail
- 
ProvidedServiceInfo
public ProvidedServiceInfo()
Create a new service info. 
- 
ProvidedServiceInfo
public ProvidedServiceInfo(java.lang.String name, java.lang.Class<?> type, ProvidedServiceImplementation implementation, ServiceScope scope, PublishInfo publish, java.util.List<UnparsedExpression> properties)Create a new service info. 
- 
ProvidedServiceInfo
public ProvidedServiceInfo(java.lang.String name, ClassInfo type, ProvidedServiceImplementation implementation, ServiceScope scope, PublishInfo publish, java.util.List<UnparsedExpression> properties, boolean systemservice)Create a new service info. 
 - 
 
- 
Method Detail
- 
getName
public java.lang.String getName()
Get the name.- Returns:
 - the name.
 
 
- 
setName
public void setName(java.lang.String name)
Set the name.- Parameters:
 name- The name to set.
 
- 
getType
public ClassInfo getType()
Get the type.- Returns:
 - The type.
 
 
- 
setType
public void setType(ClassInfo type)
Set the type.- Parameters:
 type- The type to set.
 
- 
getImplementation
public ProvidedServiceImplementation getImplementation()
Get the implementation.- Returns:
 - The implementation.
 
 
- 
setImplementation
public void setImplementation(ProvidedServiceImplementation implementation)
Set the implementation.- Parameters:
 implementation- The implementation to set.
 
- 
getPublish
public PublishInfo getPublish()
Get the publish.- Returns:
 - The publish.
 
 
- 
setPublish
public void setPublish(PublishInfo publish)
Set the publish.- Parameters:
 publish- The publish to set.
 
- 
getProperties
public java.util.List<UnparsedExpression> getProperties()
- Returns:
 - the properties
 
 
- 
setProperties
public void setProperties(java.util.List<UnparsedExpression> properties)
- Parameters:
 properties- the properties to set
 
- 
getScope
public ServiceScope getScope()
Get the scope.- Returns:
 - The scope.
 
 
- 
setScope
public void setScope(ServiceScope scope)
Set the scope.- Parameters:
 scope- The scope to set.
 
- 
isSystemService
public boolean isSystemService()
Get the systemservice.- Returns:
 - The systemservice
 
 
- 
setSystemService
public void setSystemService(boolean systemservice)
Set the systemservice.- Parameters:
 systemservice- The systemservice to set
 
- 
toString
public java.lang.String toString()
Get the string representation.- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -