Top Description Fields Constructors Methods
com.mysql.cj.xdevapi

public Class DatabaseObjectDescription

extends Object
Class Inheritance

Represents the item of XPLUGIN_STMT_LIST_OBJECTS operation result.

Field Summary

Modifier and TypeField and Description
private String
private DatabaseObject.DbObjectType

Constructor Summary

AccessConstructor and Description
public
DatabaseObjectDescription(String
database object name
name
,
String
database object type, one of COLLECTION, TABLE, VIEW or COLLECTION_VIEW
type
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

database object name
getObjectName
()

Get database object name.

public DatabaseObject.DbObjectType
getObjectType()

Get database object type

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

objectNameback to summary
private String objectName
objectTypeback to summary
private DatabaseObject.DbObjectType objectType

Constructor Detail

DatabaseObjectDescriptionback to summary
public DatabaseObjectDescription(String name, String type)

Constructor.

Parameters
name:String

database object name

type:String

database object type, one of COLLECTION, TABLE, VIEW or COLLECTION_VIEW

Method Detail

getObjectNameback to summary
public String getObjectName()

Get database object name.

Returns:String

database object name

getObjectTypeback to summary
public DatabaseObject.DbObjectType getObjectType()

Get database object type

Returns:DatabaseObject.DbObjectType

DatabaseObject.DbObjectType