1 18 package org.apache.beehive.netui.compiler.model; 19 20 21 24 public class ActionOutputModel 25 { 26 String _name; 27 String _type; 28 boolean _isNullable; 29 30 protected ActionOutputModel() 31 { 32 } 33 34 public ActionOutputModel( String name, String type, boolean isNullable ) 35 { 36 _name = name; 37 _type = type; 38 _isNullable = isNullable; 39 } 40 41 public String getName() 42 { 43 return _name; 44 } 45 46 public String getType() 47 { 48 return _type; 49 } 50 51 public boolean getNullable() 52 { 53 return _isNullable; 54 } 55 56 public void setName( String name ) 57 { 58 assert name != null; 59 _name = name; 60 } 61 62 public void setType( String type ) 63 { 64 assert type != null; 65 _type = type; 66 } 67 68 public void setNullable( boolean nullable ) 69 { 70 _isNullable = nullable; 71 } 72 } 73 | Popular Tags |