Package jadex.bridge.service
Class ProvidedServiceInfo
- java.lang.Object
-
- jadex.bridge.service.ProvidedServiceInfo
-
public class ProvidedServiceInfo extends java.lang.Object
Info for provided services.
-
-
Field Summary
Fields Modifier and Type Field Description protected ProvidedServiceImplementation
implementation
The service implementation.protected java.lang.String
name
The name (used for referencing).protected java.util.List<UnparsedExpression>
properties
The service properties.protected PublishInfo
publish
Publish information.protected ServiceScope
scope
The scope.protected boolean
systemservice
Flag if it is a system service.protected ClassInfo
type
The type.protected java.lang.String
typename
The 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 ProvidedServiceImplementation
getImplementation()
Get the implementation.java.lang.String
getName()
Get the name.java.util.List<UnparsedExpression>
getProperties()
PublishInfo
getPublish()
Get the publish.ServiceScope
getScope()
Get the scope.ClassInfo
getType()
Get the type.boolean
isSystemService()
Get the systemservice.void
setImplementation(ProvidedServiceImplementation implementation)
Set the implementation.void
setName(java.lang.String name)
Set the name.void
setProperties(java.util.List<UnparsedExpression> properties)
void
setPublish(PublishInfo publish)
Set the publish.void
setScope(ServiceScope scope)
Set the scope.void
setSystemService(boolean systemservice)
Set the systemservice.void
setType(ClassInfo type)
Set the type.java.lang.String
toString()
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:
toString
in classjava.lang.Object
-
-