![JAR search and dependency download from the Maven repository](/logo.png)
io.vertigo.planning.agenda.domain.AgendaDisplay Maven / Gradle / Ivy
The newest version!
/*
* vertigo - application development platform
*
* Copyright (C) 2013-2024, Vertigo.io, [email protected]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.vertigo.planning.agenda.domain;
import io.vertigo.core.lang.Generated;
import io.vertigo.datamodel.data.model.DataObject;
import io.vertigo.datamodel.data.stereotype.Field;
import io.vertigo.datamodel.data.util.DataModelUtil;
/**
* This class is automatically generated.
* DO NOT EDIT THIS FILE DIRECTLY.
*/
@Generated
public final class AgendaDisplay implements DataObject {
private static final long serialVersionUID = 1L;
private Long ageId;
private String name;
private String overridedName;
/**
* Champ : DATA.
* Récupère la valeur de la propriété 'Id'.
* @return Long ageId Obligatoire
*/
@Field(smartType = "STyPId", cardinality = io.vertigo.core.lang.Cardinality.ONE, label = "Id")
public Long getAgeId() {
return ageId;
}
/**
* Champ : DATA.
* Définit la valeur de la propriété 'Id'.
* @param ageId Long Obligatoire
*/
public void setAgeId(final Long ageId) {
this.ageId = ageId;
}
/**
* Champ : DATA.
* Récupère la valeur de la propriété 'Name'.
* @return String name
*/
@Field(smartType = "STyPLabel", label = "Name")
public String getName() {
return name;
}
/**
* Champ : DATA.
* Définit la valeur de la propriété 'Name'.
* @param name String
*/
public void setName(final String name) {
this.name = name;
}
/**
* Champ : DATA.
* Récupère la valeur de la propriété 'Name'.
* @return String overridedName
*/
@Field(smartType = "STyPLabel", label = "Name")
public String getOverridedName() {
return overridedName;
}
/**
* Champ : DATA.
* Définit la valeur de la propriété 'Name'.
* @param overridedName String
*/
public void setOverridedName(final String overridedName) {
this.overridedName = overridedName;
}
/**
* Champ : COMPUTED.
* Récupère la valeur de la propriété calculée 'Nom agenda'.
* @return String displayName
*/
@Field(smartType = "STyPLabel", type = "COMPUTED", persistent = false, label = "Nom agenda")
@io.vertigo.datamodel.data.stereotype.DisplayField
public String getDisplayName() {
if (overridedName != null) {
return overridedName;
}
return name;
}
/** {@inheritDoc} */
@Override
public String toString() {
return DataModelUtil.toString(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy