Home /Modules/coorenagraph/Utilitarianism.sleela

Utilitarianism.sleela

lib/coorenagraph/moral/Utilitarianism.sleela · 114 line(s) · sleela

<< Utilitarianism.sleela
   COORENAGRAPH moral vocabulary.
   Part of speech: noun
   Definition: An ethical framework that evaluates an action by its benefits or happiness for the greatest number. >>

#sleela 2.5
material;
class Utilitarianism {
  < ---- Descriptive metadata (version 1.11 nested-friendly accessors) ---- >
  << Eleven catalogued attributes with getter/setter pairs, so a GUI, loader,
     or catalog can read and (where appropriate) override this record.
     Values are faithful to the subject's real origin where publicly known. >>
  String metaVersion = "1.0.0";
  int metaId = 11333;
  String metaAuthor = "Max Rupplin vs. Dr. Mrs. Elisabeth Harkins";
  String metaDate = "2026-10-19";
  String metaCopyright = "SLeeLa project";
  String metaTrademark = "none";
  String metaCorporation = "none";
  < metaOrigin: National | <nation> | International | Galactic >
  String metaOrigin = "International";
  String metaBirthDate = "2026-09-29";
  < metaScienceRating: maturity/robustness on a 1..10 scale >
  int metaScienceRating = 9;
  < metaNationalSchedule: a real, citable instrument or "none" >
  String metaNationalSchedule = "none";

  String getMetaVersion() { return metaVersion; }
  void setMetaVersion(String v) { metaVersion = v; }
  int getMetaId() { return metaId; }
  void setMetaId(int v) { metaId = v; }
  String getAuthor() { return metaAuthor; }
  void setAuthor(String v) { metaAuthor = v; }
  String getDate() { return metaDate; }
  void setDate(String v) { metaDate = v; }
  String getCopyright() { return metaCopyright; }
  void setCopyright(String v) { metaCopyright = v; }
  String getTrademark() { return metaTrademark; }
  void setTrademark(String v) { metaTrademark = v; }
  String getCorporation() { return metaCorporation; }
  void setCorporation(String v) { metaCorporation = v; }
  String getOrigin() { return metaOrigin; }
  void setOrigin(String v) { metaOrigin = v; }
  String getBirthDate() { return metaBirthDate; }
  void setBirthDate(String v) { metaBirthDate = v; }
  int getScienceRating() { return metaScienceRating; }
  void setScienceRating(int v) { metaScienceRating = v; }
  String getNationalSchedule() { return metaNationalSchedule; }
  void setNationalSchedule(String v) { metaNationalSchedule = v; }
    String term() {
        return "Utilitarianism";
    }

    String partOfSpeech() {
        return "noun";
    }

    String definition() {
        return "An ethical framework that evaluates an action by its benefits or happiness for the greatest number.";
    }

    < --- COORENAGRAPH linguistic / graph members, specific to "Utilitarianism" >

    < Related adverb form(s) of this object. >
    int adverbCount() { return 1; }
    String[] adverbs() {
        String[] a = new String[1];
        a[0] = "utilitarianly";
        return a;
    }

    < Related verb form(s) of this object. >
    int verbCount() { return 1; }
    String[] verbs() {
        String[] v = new String[1];
        v[0] = "maximize";
        return v;
    }

    < Related noun form(s) of this object. >
    int nounCount() { return 3; }
    String[] nouns() {
        String[] n = new String[3];
        n[0] = "utilitarianism";
        n[1] = "utility";
        n[2] = "utilitarian";
        return n;
    }

    < Co-sections: sibling concepts co-located with this object in the graph. >
    int cosectCount() { return 3; }
    String[] cosects() {
        String[] c = new String[3];
        c[0] = "Deontology";
        c[1] = "VirtueEthics";
        c[2] = "Beneficence";
        return c;
    }

    < The moral dimension / axis this object occupies. >
    String dimension() {
        return "framework";
    }

    < Interchangeable (near-synonym) terms for this object. >
    int interchangeCount() { return 2; }
    String[] interchanges() {
        String[] i = new String[2];
        i[0] = "consequentialism";
        i[1] = "greatest-good ethics";
        return i;
    }
}