Search in sources :

Example 1 with NodeCandidat

use of mom.trd.opentheso.bdd.helper.nodes.candidat.NodeCandidat in project opentheso by miledrousset.

the class SelectedCandidat method initSelectedCandidat.

@PostConstruct
public void initSelectedCandidat() {
    selected = new NodeCandidatValue();
    selected.setEtat("");
    selected.setIdConcept("");
    selected.setValue("");
    selected.setNbProp(0);
    infoCdt = new NodeCandidat();
    infoCdt.setNodesUser(new ArrayList<>());
    infoCdt.setNodeTraductions(new ArrayList<>());
    selectedNvx = new NodeAutoCompletion();
    tradInsert = new ArrayList<>();
    setPreferences();
    nomsProp = new ArrayList<>();
}
Also used : NodeCandidatValue(mom.trd.opentheso.bdd.helper.nodes.candidat.NodeCandidatValue) NodeCandidat(mom.trd.opentheso.bdd.helper.nodes.candidat.NodeCandidat) NodeAutoCompletion(mom.trd.opentheso.bdd.helper.nodes.NodeAutoCompletion) PostConstruct(javax.annotation.PostConstruct)

Example 2 with NodeCandidat

use of mom.trd.opentheso.bdd.helper.nodes.candidat.NodeCandidat in project opentheso by miledrousset.

the class SelectedCandidat method reInit.

/**
 * RĂ©initialise le candidat (tout est vide)
 */
public void reInit() {
    selected = new NodeCandidatValue();
    selected.setEtat("");
    selected.setIdConcept("");
    selected.setValue("");
    selected.setNbProp(0);
    infoCdt = new NodeCandidat();
    infoCdt.setNodesUser(new ArrayList<>());
    infoCdt.setNodeTraductions(new ArrayList<>());
    selectedNvx = new NodeAutoCompletion();
    note = "";
    niveau = "";
    domaine = "";
    nomsProp = new ArrayList<>();
}
Also used : NodeCandidatValue(mom.trd.opentheso.bdd.helper.nodes.candidat.NodeCandidatValue) NodeCandidat(mom.trd.opentheso.bdd.helper.nodes.candidat.NodeCandidat) NodeAutoCompletion(mom.trd.opentheso.bdd.helper.nodes.NodeAutoCompletion)

Aggregations

NodeAutoCompletion (mom.trd.opentheso.bdd.helper.nodes.NodeAutoCompletion)2 NodeCandidat (mom.trd.opentheso.bdd.helper.nodes.candidat.NodeCandidat)2 NodeCandidatValue (mom.trd.opentheso.bdd.helper.nodes.candidat.NodeCandidatValue)2 PostConstruct (javax.annotation.PostConstruct)1