Re: [castor-dev] possible to create a java object which has less

2004-03-12 Thread Keith Visco
You can create a custom FieldHandler which does basically nothing in the setValue method and simply returns null in the getValue method. Then simply specify the handler in the mapping file: --Keith > Sourabh wrote: > > Suppose in my mapping file i mapped 4 different attributes for a > cla

[castor-dev] possible to create a java object which has less attributes than specified in the mapping file?

2004-03-12 Thread Sourabh
Suppose in my mapping file i mapped 4 different attributes for a class.But my java file has only 3 attributes in it  .one is missing. Now when i apply mapping to create a java object from this class , i get an exception - "the method...accepting/returning object of type...was not found"