EN · DE · RU · FR · ES

#418 : ModeOfPaymentType.java

projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java Classe Java, projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java 66 lignes · 32 code · 26 commentaires · 8 vides
Objectif : Fichier source : projectforge/business/fibu/ModeOfPaymentType.java. ModeOfPaymentType.java fait partie de l'application open-source de gestion de projet ProjectForge.

Source (100 premières lignes)

/////////////////////////////////////////////////////////////////////////////
//
// Projet ProjectForge Community Edition
//         www.projectforge.org
//
// Copyright (C) 2001-2026 Micromata GmbH, Allemagne (www.micromata.com)
//
// ProjectForge est sous double licence.
//
// Cette édition communautaire est un logiciel libre ; vous pouvez la redistribuer et/ou
// la modifier selon les termes de la GNU General Public License telle que publiée
// par la Free Software Foundation ; version 3 de la Licence.
//
// Cette édition communautaire est distribuée dans l'espoir qu'elle sera utile,
// mais SANS AUCUNE GARANTIE ; sans même la garantie implicite de
// QUALITÉ MARCHANDE ou d'ADÉQUATION À UN USAGE PARTICULIER. Voir la GNU General
// Public License pour plus de détails.
//
// Vous devriez avoir reçu une copie de la GNU General Public License avec
// ce programme ; sinon, consultez http://www.gnu.org/licenses/.
//
/////////////////////////////////////////////////////////////////////////////

package org.projectforge.business.fibu;

import org.projectforge.common.i18n.I18nEnum;

public enum ModeOfPaymentType implements I18nEnum
{
  FIXED("fixed"),
  MONTHLY("monthly"),
  QUARTERLY("quarterly"),
  ANNUAL("annual");

  private String key;

  /**
   * La clé sera utilisée par ex. pour l'i18n.
   * @return
   */
  public String getKey()
  {
    return key;
  }

  ModeOfPaymentType(final String key)
  {
    this.key = key;
  }

  public boolean isIn(final ModeOfPaymentType... status)
  {
    for (final ModeOfPaymentType st : status) {
      if (this == st) {
        return true;
      }
    }
    return false;
  }

  @Override
  public String getI18nKey()
  {
    return "fibu.modeOfPayment.type." + key;
  }
}

Historique Git

868d6abb7 2025 -> 2026
63081666f En-têtes des fichiers source : 2024 -> 2025.
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
5f7ef41b8 Copyright 2021 -> 2022

868d6abb7

2025 -> 2026
868d6abb75cd191a892911ac8e45058932cf9074
diff --git a/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java b/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
index 1a0785349..32a99c6ca 100644
--- a/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
+++ b/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
@@ -3,7 +3,7 @@
 // Projet ProjectForge Community Edition
 //         www.projectforge.org
 //
-// Copyright (C) 2001-2025 Micromata GmbH, Allemagne (www.micromata.com)
+// Copyright (C) 2001-2026 Micromata GmbH, Allemagne (www.micromata.com)
 //
 // ProjectForge est sous double licence.
 //

63081666f

En-têtes des fichiers source : 2024 -> 2025.
63081666f620fb87315f01b817e560e0b2f6a33a
diff --git a/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java b/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
index ac2c0931b..1a0785349 100644
--- a/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
+++ b/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
@@ -3,7 +3,7 @@
 // Projet ProjectForge Community Edition
 //         www.projectforge.org
 //
-// Copyright (C) 2001-2024 Micromata GmbH, Allemagne (www.micromata.com)
+// Copyright (C) 2001-2025 Micromata GmbH, Allemagne (www.micromata.com)
 //
 // ProjectForge est sous double licence.
 //

b6092df09

Copyright 2023 -> 2024
b6092df0927c4a3b161e888445f31dcab57493f2
diff --git a/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java b/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
index 7dad94837..ac2c0931b 100644
--- a/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
+++ b/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
@@ -3,7 +3,7 @@
 // Projet ProjectForge Community Edition
 //         www.projectforge.org
 //
-// Copyright (C) 2001-2023 Micromata GmbH, Allemagne (www.micromata.com)
+// Copyright (C) 2001-2024 Micromata GmbH, Allemagne (www.micromata.com)
 //
 // ProjectForge est sous double licence.
 //

ab45d51fa

Copyright 2001-2022 -> 2001-2023.
ab45d51fa419ede6174b31d69987f96d4b841ff9
diff --git a/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java b/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
index 34c692276..7dad94837 100644
--- a/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
+++ b/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
@@ -3,7 +3,7 @@
 // Projet ProjectForge Community Edition
 //         www.projectforge.org
 //
-// Copyright (C) 2001-2022 Micromata GmbH, Allemagne (www.micromata.com)
+// Copyright (C) 2001-2023 Micromata GmbH, Allemagne (www.micromata.com)
 //
 // ProjectForge est sous double licence.
 //

5f7ef41b8

Copyright 2021 -> 2022
5f7ef41b8cbbf29b1bff094f0c0b708dcaecb19e
diff --git a/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java b/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
index d3b7c6446..34c692276 100644
--- a/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
+++ b/projectforge-business/src/main/java/org/projectforge/business/fibu/ModeOfPaymentType.java
@@ -3,7 +3,7 @@
 // Projet ProjectForge Community Edition
 //         www.projectforge.org
 //
-// Copyright (C) 2001-2021 Micromata GmbH, Allemagne (www.micromata.com)
+// Copyright (C) 2001-2022 Micromata GmbH, Allemagne (www.micromata.com)
 //
 // ProjectForge est sous double licence.
 //