public class DragAndDropContainer extends Object implements XMLInterface
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_BASE_JOB_ENTRY |
static int |
TYPE_BASE_STEP_TYPE |
static int |
TYPE_BUSINESS_COLUMN |
static int |
TYPE_BUSINESS_MODEL |
static int |
TYPE_BUSINESS_TABLE |
static int |
TYPE_BUSINESS_VIEW |
static int |
TYPE_DATABASE_CONNECTION |
static int |
TYPE_JOB_ENTRY |
static int |
TYPE_PHYSICAL_COLUMN |
static int |
TYPE_PHYSICAL_TABLE |
static int |
TYPE_RELATIONSHIP |
static int |
TYPE_STEP |
static int |
TYPE_TEXT |
static int |
TYPE_TRANS_HOP |
Constructor and Description |
---|
DragAndDropContainer(int type,
String data)
Create a new DragAndDropContainer
|
DragAndDropContainer(int type,
String data,
String id)
Create a new DragAndDropContainer
|
DragAndDropContainer(String xml)
Construct a Drag and drop container from an XML String
|
Modifier and Type | Method and Description |
---|---|
String |
getData() |
String |
getId() |
int |
getType() |
static int |
getType(String typeCode) |
String |
getTypeCode() |
String |
getXML() |
void |
setData(String data) |
void |
setId(String id) |
void |
setType(int type) |
public static final int TYPE_STEP
public static final int TYPE_BASE_STEP_TYPE
public static final int TYPE_DATABASE_CONNECTION
public static final int TYPE_TRANS_HOP
public static final int TYPE_TEXT
public static final int TYPE_JOB_ENTRY
public static final int TYPE_BASE_JOB_ENTRY
public static final int TYPE_PHYSICAL_TABLE
public static final int TYPE_PHYSICAL_COLUMN
public static final int TYPE_BUSINESS_VIEW
public static final int TYPE_BUSINESS_TABLE
public static final int TYPE_BUSINESS_COLUMN
public static final int TYPE_RELATIONSHIP
public static final int TYPE_BUSINESS_MODEL
public DragAndDropContainer(int type, String data)
type
- The type of drag&drop to performdata
- The data in the form of a Stringpublic DragAndDropContainer(int type, String data, String id)
type
- The type of drag&drop to performdata
- The data in the form of a Stringid
- The id of the step in the form of a Stringpublic DragAndDropContainer(String xml) throws KettleXMLException
xml
- The XML string to convert fromKettleXMLException
public int getType()
public void setType(int type)
public String getData()
public void setData(String data)
public String getId()
public void setId(String id)
public String getTypeCode()
public static final int getType(String typeCode)
public String getXML()
getXML
in interface XMLInterface
Copyright © 2019 Hitachi Vantara. All rights reserved.