protected final class NewPlsqlPanel.PlSqlComboItem
extends java.lang.Object
Constructor and Description |
---|
NewPlsqlPanel.PlSqlComboItem(java.lang.String type, java.lang.String display, java.lang.String plsql)
Data encapsulation for an item in the Type combo box.
|
NewPlsqlPanel.PlSqlComboItem(java.lang.String type, java.lang.String display, java.lang.String plsql, java.lang.String extraPlsql, java.lang.String collType)
Data encapsulation for an item in the Type combo box.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCollectionType() |
java.lang.String |
getDisplayString() |
java.lang.String |
getExtraPlsql() |
java.lang.String |
getPlsql() |
java.lang.String |
getType() |
boolean |
isCollectionType() |
java.lang.String |
toString() |
public NewPlsqlPanel.PlSqlComboItem(java.lang.String type, java.lang.String display, java.lang.String plsql)
type
- The type of the object to be created, e.g. ObjectType.TYPEdisplay
- the integer ID of the string that gets displayed for item. The text is in ConnectionArbplsql
- The integer ID for the default plsql text for the item, e.g "CREATE FUNCTION...". The text is in ConnectionArbpublic NewPlsqlPanel.PlSqlComboItem(java.lang.String type, java.lang.String display, java.lang.String plsql, java.lang.String extraPlsql, java.lang.String collType)
type
- The type of the object to be created, e.g. ObjectType.TYPEdisplay
- the integer ID of the string that gets displayed for item. The text is in ConnectionArbplsql
- The integer ID for the default plsql text for the item, e.g "CREATE FUNCTION...". The text is in ConnectionArbextraPlsql
- The integer ID for the plsql text of any secondary object. This is the body text for packages and object typescollType
- set to true if the type is a Collection like VARRAY or nested table, as opposed to an object type. This parameter is ignored if type is not ObjectType.TYPE.public java.lang.String getType()
public java.lang.String getDisplayString()
public java.lang.String getPlsql()
public java.lang.String getExtraPlsql()
public boolean isCollectionType()
public java.lang.String getCollectionType()
public java.lang.String toString()
toString
in class java.lang.Object