Advertisement
Guest User

Untitled

a guest
Jul 29th, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. public Object numInput{get;set}
  2.  
  3. public String fieldType
  4. {
  5. get
  6. {
  7. return String.valueOf(field.getDescribe().getType()).toUpperCase();
  8. }
  9. set;
  10. }
  11.  
  12. public void castInput()
  13. {
  14. castValue = typeCast(fieldType, numInput);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement