public static int getType(LinkSource fd) { switch (fd.getType()) { case DBDConstants.DBF_INLINK  : return INLINK_FIELD; case DBDConstants.DBF_OUTLINK : return OUTLINK_FIELD; case DBDConstants.DBF_FWDLINK : return FWDLINK_FIELD; case DBDConstants.DBF_PORT    : return PORT_FIELD; case DBDConstants.DBF_TEMPLATE_MACRO : return TEMPLATE_MACRO; default: return VARIABLE_FIELD; }
public int getType() { return type;
public static int getType(LinkSource fd) {	switch (fd.getType()) {		case DBDConstants.DBF_INLINK  : return INLINK_FIELD;		case DBDConstants.DBF_OUTLINK : return OUTLINK_FIELD;		case DBDConstants.DBF_FWDLINK : return FWDLINK_FIELD;		case DBDConstants.DBF_PORT    : return PORT_FIELD;		case DBDConstants.DBF_TEMPLATE_MACRO : return TEMPLATE_MACRO;		default: return VARIABLE_FIELD;	}}