Package jadex.bridge.service
Class ProvidedServiceInfo
- java.lang.Object
- 
- jadex.bridge.service.ProvidedServiceInfo
 
- 
 public class ProvidedServiceInfo extends java.lang.ObjectInfo for provided services.
- 
- 
Field SummaryFields 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 SummaryConstructors 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 SummaryAll 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- 
nameprotected java.lang.String name The name (used for referencing).
 - 
typenameprotected java.lang.String typename The service interface type as string.
 - 
typeprotected ClassInfo type The type.
 - 
implementationprotected ProvidedServiceImplementation implementation The service implementation.
 - 
publishprotected PublishInfo publish Publish information.
 - 
scopeprotected ServiceScope scope The scope.
 - 
propertiesprotected java.util.List<UnparsedExpression> properties The service properties.
 - 
systemserviceprotected boolean systemservice Flag if it is a system service.
 
- 
 - 
Constructor Detail- 
ProvidedServiceInfopublic ProvidedServiceInfo() Create a new service info.
 - 
ProvidedServiceInfopublic 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.
 - 
ProvidedServiceInfopublic 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- 
getNamepublic java.lang.String getName() Get the name.- Returns:
- the name.
 
 - 
setNamepublic void setName(java.lang.String name) Set the name.- Parameters:
- name- The name to set.
 
 - 
getTypepublic ClassInfo getType() Get the type.- Returns:
- The type.
 
 - 
setTypepublic void setType(ClassInfo type) Set the type.- Parameters:
- type- The type to set.
 
 - 
getImplementationpublic ProvidedServiceImplementation getImplementation() Get the implementation.- Returns:
- The implementation.
 
 - 
setImplementationpublic void setImplementation(ProvidedServiceImplementation implementation) Set the implementation.- Parameters:
- implementation- The implementation to set.
 
 - 
getPublishpublic PublishInfo getPublish() Get the publish.- Returns:
- The publish.
 
 - 
setPublishpublic void setPublish(PublishInfo publish) Set the publish.- Parameters:
- publish- The publish to set.
 
 - 
getPropertiespublic java.util.List<UnparsedExpression> getProperties() - Returns:
- the properties
 
 - 
setPropertiespublic void setProperties(java.util.List<UnparsedExpression> properties) - Parameters:
- properties- the properties to set
 
 - 
getScopepublic ServiceScope getScope() Get the scope.- Returns:
- The scope.
 
 - 
setScopepublic void setScope(ServiceScope scope) Set the scope.- Parameters:
- scope- The scope to set.
 
 - 
isSystemServicepublic boolean isSystemService() Get the systemservice.- Returns:
- The systemservice
 
 - 
setSystemServicepublic void setSystemService(boolean systemservice) Set the systemservice.- Parameters:
- systemservice- The systemservice to set
 
 - 
toStringpublic java.lang.String toString() Get the string representation.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-