<commit_before>/*
  $Id$
*/

package jade.domain;

import jade.core.Agent;

import java.util.Hashtable;


/**************************************************************

  Name: AgentManagementOntology

  Responsibility and Collaborations:

  + Holds in a single place all constants and data of
    'fipa-agent-management' ontology.

  + Provides access methods to check message correctness with respect
    to 'fipa-agent-management' ontology.

****************************************************************/
public class AgentManagementOntology {


  public static class APLifeCycle {

    // These String constants are the states of AP Life-Cycle
    public static final String INITIATED = "initiated";
    public static final String ACTIVE = "active";
    public static final String SUSPENDED = "suspended";
    public static final String WAITING = "waiting";
    public static final String DELETED = "deleted";

    // Table of AP Life-Cycle states
    private static Hashtable states = new Hashtable(5, 1.0f);

    // Utility class; can't be instantiated
    private APLifeCycle() {
    }

  }

  public static class DomainLifeCycle {

    // These String constants are the states of Domain Life-Cycle
    public static final String ACTIVE = "active";
    public static final String SUSPENDED = "suspended";
    public static final String RETIRED = "retired";
    public static final String UNKNOWN = "unknown";

    // Table of Domain Life-Cycle states
    private static Hashtable states = new Hashtable(4, 1.0f);

    // Utility class; can't be instantiated
    private DomainLifeCycle() {
    }

  }


  public static class DFAgentDescription {

    // These String constants are the keywords in
    // 'fipa-man-df-agent-description' objects
    static final String NAME = ":agent-name";
    static final String SERVICES = ":agent-services";
    static final String TYPE = ":agent-type";
    static final String PROTOCOLS = ":interaction-protocols";
    static final String ONTOLOGY = ":ontology";
    static final String ADDRESS = ":agent-address";
    static final String OWNERSHIP = ":ownership";
    static final String DFSTATE = ":df-state";

    // Table of allowed keywords in 'fipa-man-df-agent-description'
    // objects
    private static Hashtable keywords = new Hashtable(8, 1.0f);

    // Utility class; can't be instantiated
    private DFAgentDescription() {
    }

  } // End of DFAgentDescription class


  public static class PlatformProfile {

    // These String constants are the keywords in
    // 'fipa-man-platform-profile' objects.
    static final String NAME = ":platform-name";
    static final String IIOP = ":iiop-url";
    static final String DYNAMICREG = ":dynamic-registration";
    static final String MOBILITY = ":mobility";
    static final String OWNERSHIP = ":ownership";
    static final String CERTAUTH = ":certification-authority";
    static final String DEFAULTDF = ":default-df";

    // Table of allowed keywords in 'fipa-man-platform-profile'
    // objects
    private static Hashtable keywords = new Hashtable(7, 1.0f);

    // Utility class; can't be instantiated
    private PlatformProfile() {
    }

  } // End of PlatformProfile class


  public static class ServiceDescription {

    // These String constants are the keywords in
    // 'fipa-man-service-description' objects
    static final String TYPE = ":service-type";
    static final String ONTOLOGY = ":service-ontology";
    static final String DESCRIPTION = ":service-description";
    static final String CONDITION = ":service-condition";

    // Table of allowed keywords in 'fipa-man-service-description'
    // objects
    private static Hashtable keywords = new Hashtable(4, 1.0f);

    // Utility class; can't be instantiated
    private ServiceDescription() {
    }

  } // End of ServiceDescription class


  public static class AMSAgentDescription {

    // These String constants are the keywords in
    // 'fipa-man-ams-agent-description' objects<commit_msg>Added FIPA 'service-types' String constants.<commit_after>/*
  $Id$
*/

package jade.domain;

import jade.core.Agent;

import java.util.Hashtable;


/**************************************************************

  Name: AgentManagementOntology

  Responsibility and Collaborations:

  + Holds in a single place all constants and data of
    'fipa-agent-management' ontology.

  + Provides access methods to check message correctness with respect
    to 'fipa-agent-management' ontology.

****************************************************************/
public class AgentManagementOntology {


  public static class APLifeCycle {

    // These String constants are the states of AP Life-Cycle
    public static final String INITIATED = "initiated";
    public static final String ACTIVE = "active";
    public static final String SUSPENDED = "suspended";
    public static final String WAITING = "waiting";
    public static final String DELETED = "deleted";

    // Table of AP Life-Cycle states
    private static Hashtable states = new Hashtable(5, 1.0f);

    // Utility class; can't be instantiated
    private APLifeCycle() {
    }

  }

  public static class DomainLifeCycle {

    // These String constants are the states of Domain Life-Cycle
    public static final String ACTIVE = "active";
    public static final String SUSPENDED = "suspended";
    public static final String RETIRED = "retired";
    public static final String UNKNOWN = "unknown";

    // Table of Domain Life-Cycle states
    private static Hashtable states = new Hashtable(4, 1.0f);

    // Utility class; can't be instantiated
    private DomainLifeCycle() {
    }

  }


  public static class DFAgentDescription {

    // These String constants are the keywords in
    // 'fipa-man-df-agent-description' objects
    static final String NAME = ":agent-name";
    static final String SERVICES = ":agent-services";
    static final String TYPE = ":agent-type";
    static final String PROTOCOLS = ":interaction-protocols";
    static final String ONTOLOGY = ":ontology";
    static final String ADDRESS = ":agent-address";
    static final String OWNERSHIP = ":ownership";
    static final String DFSTATE = ":df-state";

    // Table of allowed keywords in 'fipa-man-df-agent-description'
    // objects
    private static Hashtable keywords = new Hashtable(8, 1.0f);

    // Utility class; can't be instantiated
    private DFAgentDescription() {
    }

  } // End of DFAgentDescription class


  public static class PlatformProfile {

    // These String constants are the keywords in
    // 'fipa-man-platform-profile' objects.
    static final String NAME = ":platform-name";
    static final String IIOP = ":iiop-url";
    static final String DYNAMICREG = ":dynamic-registration";
    static final String MOBILITY = ":mobility";
    static final String OWNERSHIP = ":ownership";
    static final String CERTAUTH = ":certification-authority";
    static final String DEFAULTDF = ":default-df";

    // Table of allowed keywords in 'fipa-man-platform-profile'
    // objects
    private static Hashtable keywords = new Hashtable(7, 1.0f);

    // Utility class; can't be instantiated
    private PlatformProfile() {
    }

  } // End of PlatformProfile class


  public static class ServiceDescription {

    // These String constants are the keywords in
    // 'fipa-man-service-description' objects
    static final String TYPE = ":service-type";
    static final String ONTOLOGY = ":service-ontology";
    static final String DESCRIPTION = ":service-description";
    static final String CONDITION = ":service-condition";

    // Table of allowed keywords in 'fipa-man-service-description'
    // objects
    private static Hashtable keywords = new Hashtable(4, 1.0f);

    // Utility class; can't be instantiated
    private ServiceDescription() {
    }

  } // End of ServiceDescription class


  public static class ServiceTypes {

    // These String constants are the names of FIPA special services
    static final String FIPADF = "fipa-df";
    static final String FIPAAMS = "fipa-ams";
    static final String FIPAACC = "fipa-acc";
    static final String FIPAAGENT = "fipa-agent";

    // Utility class; can't be instantiated
    private ServiceTypes() {
    }

  } // End of ServiceTypes class


  public static class AMSAgentDescription {

    // These String constants are the keywords in
    // 'fipa-man-ams-agent-description' objects
{'fraction_non_alphanumeric': 0.1164058795637743, 'fraction_numerical': 0.0035561877667140826, 'mean_word_length': 3.2870934959349594, 'pattern_counts': {'":': 38, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '665089', 'n_tokens_mistral': 2390, 'n_tokens_neox': 2244, 'n_words': 808}