public final class Binding
extends java.lang.Object
UserContext
or CumulusSession
without getting them again when needed.Modifier and Type | Method and Description |
---|---|
Catalog |
getCatalog()
Returns the catalog of this binding.
|
CumulusSession |
getCumulusSession()
Returns a bound
CumulusSession . |
Item |
getItem()
Returns the item of this binding if bound to an item.
|
Server |
getServer()
Returns the server if this is a server binding.
|
int |
getSourceType()
Returns the bindings source type.
|
java.lang.String |
getTableName()
Returns the table name for this binding if the current source type is
TriggerManager.SOURCE_TYPE_RECORD or TriggerManager.SOURCE_TYPE_CATEGORY . |
UserContext |
getUserContext()
Returns a bound
UserContext . |
public final Catalog getCatalog()
public Item getItem()
public final Server getServer()
public final int getSourceType()
TriggerManager.SOURCE_TYPE_CATALOG
, TriggerManager.SOURCE_TYPE_CATEGORIES
, TriggerManager.SOURCE_TYPE_CATEGORY
, TriggerManager.SOURCE_TYPE_RECORD
, TriggerManager.SOURCE_TYPE_RECORDS
and TriggerManager.SOURCE_TYPE_SERVER
.public java.lang.String getTableName()
TriggerManager.SOURCE_TYPE_RECORD
or TriggerManager.SOURCE_TYPE_CATEGORY
.TriggerManager.SOURCE_TYPE_RECORD
or TriggerManager.SOURCE_TYPE_CATEGORY
public final CumulusSession getCumulusSession()
CumulusSession
.CumulusSession
instancepublic final UserContext getUserContext()
UserContext
.UserContext
instancewww.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.