jamescpp

Untitled

Nov 13th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.49 KB | None | 0 0
  1. public class RbdlValueType implements Serializable {
  2.     private static final long serialVersionUID = 4571961554580566759L;
  3.  
  4.     public String type;
  5.     public String enumName;
  6.  
  7.     public RbdlValueType(String type, String enumName){
  8.         this.type = type;
  9.         this.enumName = enumName;
  10.         if(!type.equals("enum")){
  11.             this.enumName = null;
  12.         }
  13.     }
  14.  
  15.     public RbdlValueType(String type){
  16.         this(type, null);
  17.     }
  18.  
  19.     public RbdlValueType(){};
  20. }
Advertisement
Add Comment
Please, Sign In to add comment