Class ProvidedServiceInfo

java.lang.Object
jadex.providedservice.impl.service.ProvidedServiceInfo

public class ProvidedServiceInfo extends Object
Info for provided services.
  • Field Details

    • name

      protected String name
      The name (used for referencing).
    • typename

      protected String typename
      The service interface type as string.
    • type

      protected jadex.common.ClassInfo type
      The type.
    • implementation

      protected ProvidedServiceImplementation implementation
      The service implementation.
    • scope

      protected ServiceScope scope
      The scope.
    • scopeexpression

      protected jadex.common.UnparsedExpression scopeexpression
      The scope expression (if any).
    • security

      protected Security security
      The security settings (empty roles if unset).
    • properties

      protected List<jadex.common.UnparsedExpression> properties
      The service properties.
    • systemservice

      protected boolean systemservice
      Flag if it is a system service.
  • Constructor Details

    • ProvidedServiceInfo

      public ProvidedServiceInfo()
      Create a new service info.
    • ProvidedServiceInfo

      public ProvidedServiceInfo(String name, jadex.common.ClassInfo type, ProvidedServiceImplementation implementation)
      Create a new service info.
    • ProvidedServiceInfo

      public ProvidedServiceInfo(String name, Class<?> type, ProvidedServiceImplementation implementation)
      Create a new service info.
    • ProvidedServiceInfo

      public ProvidedServiceInfo(String name, Class<?> type, ProvidedServiceImplementation implementation, ServiceScope scope, jadex.common.UnparsedExpression scopeexpression, Security security, List<jadex.common.UnparsedExpression> properties)
      Create a new service info.
    • ProvidedServiceInfo

      public ProvidedServiceInfo(String name, jadex.common.ClassInfo type, ProvidedServiceImplementation implementation, ServiceScope scope, jadex.common.UnparsedExpression scopeexpression, Security security, List<jadex.common.UnparsedExpression> properties, boolean systemservice)
      Create a new service info.
  • Method Details

    • getName

      public String getName()
      Get the name.
      Returns:
      the name.
    • setName

      public void setName(String name)
      Set the name.
      Parameters:
      name - The name to set.
    • getType

      public jadex.common.ClassInfo getType()
      Get the type.
      Returns:
      The type.
    • setType

      public void setType(jadex.common.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.
    • getProperties

      public List<jadex.common.UnparsedExpression> getProperties()
      Returns:
      the properties
    • setProperties

      public void setProperties(List<jadex.common.UnparsedExpression> properties)
      Parameters:
      properties - the properties to set
    • getScopeExpression

      public jadex.common.UnparsedExpression getScopeExpression()
      Get the scope expression.
      Returns:
      The scope expression.
    • setScopeExpression

      public void setScopeExpression(jadex.common.UnparsedExpression expression)
      Set the scope expression.
      Parameters:
      expression - The scope expression 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.
    • getSecurity

      public Security getSecurity()
      Get the security settings.
      Returns:
      The security settings.
    • setSecurity

      public void setSecurity(Security security)
      Set the security settings.
      Parameters:
      security - The new security settings.
    • 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 String toString()
      Get the string representation.
      Overrides:
      toString in class Object