GanttObjectType.javaprojectforge-business/src/main/java/org/projectforge/business/gantt/GanttObjectType.java que contiene código Java para la capa del Diagrama de Gantt.Paquete: org.projectforge.business.gantt
Enums: GanttObjectType
Implementa: I18nEnum
Métodos (3): isIn, getKey, getI18nKey
Campos (1): key
Importaciones: 1 paquete
package org.projectforge.business.gantt;
import org.projectforge.common.i18n.I18nEnum;
public enum GanttObjectType implements I18nEnum
{
ACTIVITY("activity"), SUMMARY("summary"), MILESTONE("milestone");
private String key;
public boolean isIn(final GanttObjectType... types)
{
for (final GanttObjectType type : types) {
if (this == type) {
return true;
}
}
return false;
}
/**
* La clave se usará, p. ej., para i18n.
*/
public String getKey()
{
return key;
}
public String getI18nKey()
{
return "gantt.objectType." + key;
}
GanttObjectType(final String key)
{
this.key = key;
}
}
868d6abb7 2025 -> 2026 63081666f Encabezados de archivos fuente: 2024-> 2025. b6092df09 Derechos de autor 2023 -> 2024 ab45d51fa Derechos de autor 2001-2022 -> 2001-2023. 5f7ef41b8 Derechos de autor 2021 -> 2022