Package org.dmlite.model.id

Examples of org.dmlite.model.id.Oid


  protected void load(Element element) throws DmException {
    try {
      Attribute oidAttribute = element.attribute("oid");
      if (oidAttribute != null) {
        String oidString = oidAttribute.getText().trim();
        Oid oid = new Oid(Transformer.longInteger(oidString));
        entity.setOid(oid);
      }

      Element codeChild = element.element("code");
      if (codeChild != null) {
View Full Code Here


    super(domainModel);
  }

  public Personne getPersonne(final long oid)
  {
    final Oid personneOid = new Oid(new Long(oid));
    return (Personne) this.retrieveByOid(personneOid);
  }
View Full Code Here

    super(domainModel);
  }

  public Club getClub(final long oid)
  {
    final Oid clubOid = new Oid(new Long(oid));
    return (Club) this.retrieveByOid(clubOid);
  }
View Full Code Here

    this.course = course;
  }

  public Tarification getTarification(final long oid)
  {
    return (Tarification) this.retrieveByOid(new Oid(oid));
  }
View Full Code Here

    this.personne = personne;
  }

  public Inscription getInscription(final long oid)
  {
    return (Inscription) this.retrieveByOid(new Oid(oid));
  }
View Full Code Here

  {
    if (this.personne == null)
    {
      final Personnes personnes = (Personnes) this.getDomainModel().getEntry(
          "Personnes");
      this.personne = (Personne) personnes.retrieveByOid(new Oid(
          this.personneOid));
    }
    return this.personne;
  }
View Full Code Here

  }

  public Club getClub()
  {
    final Clubs clubs = (Clubs) this.getDomainModel().getEntry("Clubs");
    return (Club) clubs.retrieveByOid(new Oid(this.clubOid));
  }
View Full Code Here

  public Categorie getCategorie()
  {
    final Categories categories = (Categories) this.getDomainModel().getEntry(
        "Categories");
    return (Categorie) categories.retrieveByOid(new Oid(this.categorieOid));
  }
View Full Code Here

    this.saison = saison;
  }

  public InfoSaison getInfoSaison(final long oid)
  {
    return (InfoSaison) this.retrieveByOid(new Oid(oid));
  }
View Full Code Here

    super(domainModel);
  }

  public Saison getSaison(final long oid)
  {
    final Oid saisonOid = new Oid(new Long(oid));
    return (Saison) this.retrieveByOid(saisonOid);
  }
View Full Code Here

TOP

Related Classes of org.dmlite.model.id.Oid

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.