Hi,
I already ask this question under a different thread but maybe somebody who can
answere didn't read it. I think, it is my last question on the project I'm
working at the moment.
In one class I'm already using the constructor with null parameters and while
unmarshalling happens a mistake then. I think what
happens is that everything within the constructor gets performed.
What can I do about it?
I know the tag <field> has an attribute create-method. Can I use this? If yes,
I don't know how because I don't have a field of this type. Following is an
example of a class with this problem. This class gets instantiated because it
is a childclass of one element of a hashmap-what I'm marshalling.
For example:
public class Demos_F_EntityStart extends DemosFunction implements Serializable{
static ResourceBundle res = ResourceBundle.getBundle("Core.CoreRes");
public Demos_F_EntityStart() throws COREPropertyException {
super();
setName(this.toString()+"1");
//diese Eigenschaft wird nur beim ProjectEntity (Demos-Objekt)benutzt
MUSObjectProperty myprop= new MUSObjectProperty(res.getString
("graphicalUse"),res.getString("graphicalUse_Dialog"),
T_MUSProperty.MUSProp_Bool, new Boolean(true));
myprop.setF_Description(res.getString
("PropertyDescription_graphicalUse"));
addProperty(myprop);
myprop = new MUSObjectProperty(res.getString("Comment"),res.getString
("Comment_Dialog"),T_MUSProperty.MUSProp_Comment,null);
myprop.setF_Description(res.getString("PropertyDesciption_Comment"));
addProperty(myprop);
}....
Kind regards.
Katja
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev