io.vertigo.orchestra.domain.execution.ONode Maven / Gradle / Ivy
/*
* 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.orchestra.domain.execution;
import io.vertigo.core.lang.Generated;
import io.vertigo.datamodel.data.model.Entity;
import io.vertigo.datamodel.data.model.UID;
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
@io.vertigo.datamodel.data.stereotype.DataSpace("orchestra")
public final class ONode implements Entity {
private static final long serialVersionUID = 1L;
private Long nodId;
private String name;
private java.time.Instant heartbeat;
/** {@inheritDoc} */
@Override
public UID getUID() {
return UID.of(this);
}
/**
* Champ : ID.
* Récupère la valeur de la propriété 'Id du noeud'.
* @return Long nodId Obligatoire
*/
@Field(smartType = "STyOIdentifiant", type = "ID", cardinality = io.vertigo.core.lang.Cardinality.ONE, label = "Id du noeud")
public Long getNodId() {
return nodId;
}
/**
* Champ : ID.
* Définit la valeur de la propriété 'Id du noeud'.
* @param nodId Long Obligatoire
*/
public void setNodId(final Long nodId) {
this.nodId = nodId;
}
/**
* Champ : DATA.
* Récupère la valeur de la propriété 'Nom du noeud'.
* @return String name Obligatoire
*/
@Field(smartType = "STyOLibelle", cardinality = io.vertigo.core.lang.Cardinality.ONE, label = "Nom du noeud")
public String getName() {
return name;
}
/**
* Champ : DATA.
* Définit la valeur de la propriété 'Nom du noeud'.
* @param name String Obligatoire
*/
public void setName(final String name) {
this.name = name;
}
/**
* Champ : DATA.
* Récupère la valeur de la propriété 'Date de dernière activité'.
* @return Instant heartbeat
*/
@Field(smartType = "STyOTimestamp", label = "Date de dernière activité")
public java.time.Instant getHeartbeat() {
return heartbeat;
}
/**
* Champ : DATA.
* Définit la valeur de la propriété 'Date de dernière activité'.
* @param heartbeat Instant
*/
public void setHeartbeat(final java.time.Instant heartbeat) {
this.heartbeat = heartbeat;
}
/** {@inheritDoc} */
@Override
public String toString() {
return DataModelUtil.toString(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy