/** * Get node type * * @return node type */ public String getNodeType() { return value.isComplex() ? COMPLEX : SIMPLE; }
/** * Create instance of a node * * @param value description of a data table field * @param root if true, then this node is root */ public DataTableTreeNode(DataTableField value, boolean root) { this.value = value; this.root = root; editForeignKey = value.isComplex(); // set default value }
/** * Get node type * * @return node type */ public String getNodeType() { return value.isComplex() ? COMPLEX : SIMPLE; }
/** * Create instance of a node * * @param value description of a data table field * @param root if true, then this node is root */ public DataTableTreeNode(DataTableField value, boolean root) { this.value = value; this.root = root; editForeignKey = value.isComplex(); // set default value }
public boolean isComplex() { return value.isComplex(); }
public boolean isComplex() { return value.isComplex(); }