Home /Modules/stanford-math/SMBrand.sleela

SMBrand.sleela

stanford-math/SMBrand.sleela · 85 line(s) · sleela

<< stanford-math/SMBrand.sleela
   SLeeLa Standard Library Definition.
   Definition: Records the Stanford Math brand itself -- the Stanford
   University Department of Mathematics as a named, public institution. >>
#sleela 2.1
< Executive+ class: a jurisdictional artifact, full metadata record. >
class SMBrand {
  < ---- 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 = 9001;
  String metaAuthor = "Stanford University Department of Mathematics";
  String metaDate = "2026-10-25";
  String metaCopyright = "The Board of Trustees of the Leland Stanford Junior University";
  String metaTrademark = "Stanford";
  String metaCorporation = "The Leland Stanford Junior University";
  < metaOrigin: National | <nation> | International | Galactic >
  String metaOrigin = "United States of America";
  String metaBirthDate = "1891-10-01";
  < metaScienceRating: maturity/robustness on a 1..10 scale >
  int metaScienceRating = 10;
  < metaNationalSchedule: a real, citable instrument or "none" >
  String metaNationalSchedule = "The Leland Stanford Junior University Founding Grant (1885)";

  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; }

  < ---- Scientific record (purpose / method / gains / bedrock) ---- >
  << Spec-sanctioned extension (SLEELA.syntax §15: ordinary fields + accessors)
     stating what this record is for, the method it follows, what its authors
     gain, and the bedrock it rests on. >>
  String metaPurpose = "Record the Stanford Math brand as a named public institution, faithfully.";
  String metaScientificMethod = "Documentary: attribute the institution from its own public record (bulletins, department pages).";
  String metaAuthorialGains = "Curatorial credit for the record; no claim over the Stanford name or trademark.";
  String metaBedrock = "Stanford University's public institutional record and founding instruments.";
  String metaIntegrityGoal = "Record a great institution by its own public record -- honor the name, never trade on it.";
  String getPurpose() { return metaPurpose; }
  void setPurpose(String v) { metaPurpose = v; }
  String getScientificMethod() { return metaScientificMethod; }
  void setScientificMethod(String v) { metaScientificMethod = v; }
  String getAuthorialGains() { return metaAuthorialGains; }
  void setAuthorialGains(String v) { metaAuthorialGains = v; }
  String getBedrock() { return metaBedrock; }
  void setBedrock(String v) { metaBedrock = v; }
  String getIntegrityGoal() { return metaIntegrityGoal; }
  void setIntegrityGoal(String v) { metaIntegrityGoal = v; }

  < ---- Brand facts (public record) ---- >
  String institution = "Stanford University Department of Mathematics";
  String city = "Stanford, California";
  String homepage = "mathematics.stanford.edu";
  String motto = "Die Luft der Freiheit weht";

  String getInstitution() { return institution; }
  String getCity() { return city; }
  String getHomepage() { return homepage; }
  String getMotto() { return motto; }

  String describe() {
    return institution + " (" + city + ") -- founded " + metaBirthDate;
  }
}