FromClass fromClass = new FromClass();
fromClass.setId(1);
fromClass.setName("Pervez");
fromClass.setDob(new Date());
ToClass toClass = SetEntityByModel.setFields(fromClass, ToClass.class);
System.out.println(toClass.getId());
System.out.println(toClass.getName());
System.out.println(toClass.getDob());
-
Notifications
You must be signed in to change notification settings - Fork 0
pervez8ktt/SetEntity
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This class is used to copy values from One object to another object
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published