io.vertigo.orchestra.domain.execution.OActivityExecution 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.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;
import io.vertigo.datastore.impl.entitystore.StoreVAccessor;
/**
* This class is automatically generated.
* DO NOT EDIT THIS FILE DIRECTLY.
*/
@Generated
@io.vertigo.datamodel.data.stereotype.DataSpace("orchestra")
public final class OActivityExecution implements Entity {
private static final long serialVersionUID = 1L;
private Long aceId;
private java.time.Instant creationTime;
private java.time.Instant beginTime;
private java.time.Instant endTime;
private String engine;
private String token;
@io.vertigo.datamodel.data.stereotype.Association(
name = "AAceAct",
fkFieldName = "actId",
primaryDtDefinitionName = "DtOActivity",
primaryIsNavigable = true,
primaryRole = "Activity",
primaryLabel = "Activity",
primaryMultiplicity = "1..1",
foreignDtDefinitionName = "DtOActivityExecution",
foreignIsNavigable = false,
foreignRole = "ExecutionActivity",
foreignLabel = "ExecutionActivity",
foreignMultiplicity = "0..*")
private final StoreVAccessor actIdAccessor = new StoreVAccessor<>(io.vertigo.orchestra.domain.definition.OActivity.class, "Activity");
@io.vertigo.datamodel.data.stereotype.Association(
name = "AAcePre",
fkFieldName = "preId",
primaryDtDefinitionName = "DtOProcessExecution",
primaryIsNavigable = true,
primaryRole = "ProcessusExecution",
primaryLabel = "Processus",
primaryMultiplicity = "1..1",
foreignDtDefinitionName = "DtOActivityExecution",
foreignIsNavigable = false,
foreignRole = "ExecutionActivity",
foreignLabel = "ExecutionActivity",
foreignMultiplicity = "0..*")
private final StoreVAccessor preIdAccessor = new StoreVAccessor<>(io.vertigo.orchestra.domain.execution.OProcessExecution.class, "ProcessusExecution");
@io.vertigo.datamodel.data.stereotype.Association(
name = "AAceNod",
fkFieldName = "nodId",
primaryDtDefinitionName = "DtONode",
primaryIsNavigable = true,
primaryRole = "Node",
primaryLabel = "Node",
primaryMultiplicity = "1..1",
foreignDtDefinitionName = "DtOActivityExecution",
foreignIsNavigable = false,
foreignRole = "ExecutionActivity",
foreignLabel = "ExecutionActivity",
foreignMultiplicity = "0..*")
private final StoreVAccessor nodIdAccessor = new StoreVAccessor<>(io.vertigo.orchestra.domain.execution.ONode.class, "Node");
@io.vertigo.datamodel.data.stereotype.Association(
name = "AAceEst",
fkFieldName = "estCd",
primaryDtDefinitionName = "DtOExecutionState",
primaryIsNavigable = true,
primaryRole = "ExecutionState",
primaryLabel = "ExecutionState",
primaryMultiplicity = "1..1",
foreignDtDefinitionName = "DtOActivityExecution",
foreignIsNavigable = false,
foreignRole = "ExecutionActivity",
foreignLabel = "ExecutionActivity",
foreignMultiplicity = "0..*")
private final StoreVAccessor estCdAccessor = new StoreVAccessor<>(io.vertigo.orchestra.domain.referential.OExecutionState.class, "ExecutionState");
/** {@inheritDoc} */
@Override
public UID getUID() {
return UID.of(this);
}
/**
* Champ : ID.
* Récupère la valeur de la propriété 'Id de l'execution d'un processus'.
* @return Long aceId Obligatoire
*/
@Field(smartType = "STyOIdentifiant", type = "ID", cardinality = io.vertigo.core.lang.Cardinality.ONE, label = "Id de l'execution d'un processus")
public Long getAceId() {
return aceId;
}
/**
* Champ : ID.
* Définit la valeur de la propriété 'Id de l'execution d'un processus'.
* @param aceId Long Obligatoire
*/
public void setAceId(final Long aceId) {
this.aceId = aceId;
}
/**
* Champ : DATA.
* Récupère la valeur de la propriété 'Date de création'.
* @return Instant creationTime Obligatoire
*/
@Field(smartType = "STyOTimestamp", cardinality = io.vertigo.core.lang.Cardinality.ONE, label = "Date de création")
public java.time.Instant getCreationTime() {
return creationTime;
}
/**
* Champ : DATA.
* Définit la valeur de la propriété 'Date de création'.
* @param creationTime Instant Obligatoire
*/
public void setCreationTime(final java.time.Instant creationTime) {
this.creationTime = creationTime;
}
/**
* Champ : DATA.
* Récupère la valeur de la propriété 'Date de début'.
* @return Instant beginTime
*/
@Field(smartType = "STyOTimestamp", label = "Date de début")
public java.time.Instant getBeginTime() {
return beginTime;
}
/**
* Champ : DATA.
* Définit la valeur de la propriété 'Date de début'.
* @param beginTime Instant
*/
public void setBeginTime(final java.time.Instant beginTime) {
this.beginTime = beginTime;
}
/**
* Champ : DATA.
* Récupère la valeur de la propriété 'Date de fin'.
* @return Instant endTime
*/
@Field(smartType = "STyOTimestamp", label = "Date de fin")
public java.time.Instant getEndTime() {
return endTime;
}
/**
* Champ : DATA.
* Définit la valeur de la propriété 'Date de fin'.
* @param endTime Instant
*/
public void setEndTime(final java.time.Instant endTime) {
this.endTime = endTime;
}
/**
* Champ : DATA.
* Récupère la valeur de la propriété 'Implémentation effective de l'execution'.
* @return String engine
*/
@Field(smartType = "STyOClasse", label = "Implémentation effective de l'execution")
public String getEngine() {
return engine;
}
/**
* Champ : DATA.
* Définit la valeur de la propriété 'Implémentation effective de l'execution'.
* @param engine String
*/
public void setEngine(final String engine) {
this.engine = engine;
}
/**
* Champ : DATA.
* Récupère la valeur de la propriété 'Token d'identification'.
* @return String token
*/
@Field(smartType = "STyOToken", label = "Token d'identification")
public String getToken() {
return token;
}
/**
* Champ : DATA.
* Définit la valeur de la propriété 'Token d'identification'.
* @param token String
*/
public void setToken(final String token) {
this.token = token;
}
/**
* Champ : FOREIGN_KEY.
* Récupère la valeur de la propriété 'Activity'.
* @return Long actId Obligatoire
*/
@io.vertigo.datamodel.data.stereotype.ForeignKey(smartType = "STyOIdentifiant", label = "Activity", fkDefinition = "DtOActivity", cardinality = io.vertigo.core.lang.Cardinality.ONE )
public Long getActId() {
return (Long) actIdAccessor.getId();
}
/**
* Champ : FOREIGN_KEY.
* Définit la valeur de la propriété 'Activity'.
* @param actId Long Obligatoire
*/
public void setActId(final Long actId) {
actIdAccessor.setId(actId);
}
/**
* Champ : FOREIGN_KEY.
* Récupère la valeur de la propriété 'Processus'.
* @return Long preId Obligatoire
*/
@io.vertigo.datamodel.data.stereotype.ForeignKey(smartType = "STyOIdentifiant", label = "Processus", fkDefinition = "DtOProcessExecution", cardinality = io.vertigo.core.lang.Cardinality.ONE )
public Long getPreId() {
return (Long) preIdAccessor.getId();
}
/**
* Champ : FOREIGN_KEY.
* Définit la valeur de la propriété 'Processus'.
* @param preId Long Obligatoire
*/
public void setPreId(final Long preId) {
preIdAccessor.setId(preId);
}
/**
* Champ : FOREIGN_KEY.
* Récupère la valeur de la propriété 'Node'.
* @return Long nodId Obligatoire
*/
@io.vertigo.datamodel.data.stereotype.ForeignKey(smartType = "STyOIdentifiant", label = "Node", fkDefinition = "DtONode", cardinality = io.vertigo.core.lang.Cardinality.ONE )
public Long getNodId() {
return (Long) nodIdAccessor.getId();
}
/**
* Champ : FOREIGN_KEY.
* Définit la valeur de la propriété 'Node'.
* @param nodId Long Obligatoire
*/
public void setNodId(final Long nodId) {
nodIdAccessor.setId(nodId);
}
/**
* Champ : FOREIGN_KEY.
* Récupère la valeur de la propriété 'ExecutionState'.
* @return String estCd Obligatoire
*/
@io.vertigo.datamodel.data.stereotype.ForeignKey(smartType = "STyOCodeIdentifiant", label = "ExecutionState", fkDefinition = "DtOExecutionState", cardinality = io.vertigo.core.lang.Cardinality.ONE )
public String getEstCd() {
return (String) estCdAccessor.getId();
}
/**
* Champ : FOREIGN_KEY.
* Définit la valeur de la propriété 'ExecutionState'.
* @param estCd String Obligatoire
*/
public void setEstCd(final String estCd) {
estCdAccessor.setId(estCd);
}
/**
* Association : Activity.
* @return l'accesseur vers la propriété 'Activity'
*/
public StoreVAccessor activity() {
return actIdAccessor;
}
/**
* Association : ExecutionState.
* @return l'accesseur vers la propriété 'ExecutionState'
*/
public StoreVAccessor executionState() {
return estCdAccessor;
}
/**
* Association : Node.
* @return l'accesseur vers la propriété 'Node'
*/
public StoreVAccessor node() {
return nodIdAccessor;
}
/**
* Association : Processus.
* @return l'accesseur vers la propriété 'Processus'
*/
public StoreVAccessor processusExecution() {
return preIdAccessor;
}
/** {@inheritDoc} */
@Override
public String toString() {
return DataModelUtil.toString(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy