001    package railo.intergral.fusiondebug.server.type.simple;
002    
003    import java.util.List;
004    
005    import railo.intergral.fusiondebug.server.type.FDValueNotMutability;
006    
007    public class FDSimpleValue extends FDValueNotMutability {
008            
009            private String str;
010            private List children;
011    
012            public FDSimpleValue(List children,String str){
013                    this.children=children;
014                    this.str=str;
015                    
016            }
017            
018            /**
019             * @see java.lang.Object#toString()
020             */
021            public String toString() {
022                    return str;
023            }
024    
025            /**
026             * @see com.intergral.fusiondebug.server.IFDValue#getChildren()
027             */
028            public List getChildren() {
029                    return children;
030            }
031    
032            /**
033             * @see com.intergral.fusiondebug.server.IFDValue#hasChildren()
034             */
035            public boolean hasChildren() {
036                    return children!=null;
037            }
038    }