bonjour,
j'ai une erreur dans l'importation d'un value type dans un autre:
voila mon code:
module intervenant {
valuetype Intervenant {
private long id;
private string nom;
private string prenom;
private string mobile;
long getId();
string getNom();
string getPrenom();
string getMobile();
void setId(in long id);
void setNom(in string nom);
void setPrenom(in string prenom);
void setMobile(in string mobile);
};
};
et aussi j'ai
# include "intervenant.idl"
module intervention {
valuetype Intervention {
private long id;
private string datedebut;
private string datefin;
private string status;
private string nom;
private string prenom;
private string adresse;
private intervenant :: Intervenant intervenant;
long getId();
string getDatedebut();
string getDateFin();
string getStatus();
string getNom();
string getPrenom();
string getAdresse();
intervenant :: Intervenant getIntervenant();
void setId(in double id);
void setDatedebut(in string datedebut);
void setDatefin(in string datefin);
void setStatus(in string status);
void setNom(in string nom);
void setPrenom(in string prenom);
void setAdresse(in string adresse);
void setIntervenant(in intervenant :: Intervenant intervenant);
};
};
et quand je compile avec idlj, j'ai l'erreur suivante:
intervenant/Intervenant is unudeclared type, malgé comme vous voyez, j'ai fais un "include" !! et aussi j'ai compilé intervenant avant intervention !!
merci
Partager