Package ru.curs.celesta.event
Class TriggerQuery
- java.lang.Object
-
- ru.curs.celesta.event.TriggerQuery
-
public final class TriggerQuery extends Object
Trigger parameter object.- Since:
- 2017-07-03
- Author:
- ioann
-
-
Constructor Summary
Constructors Constructor Description TriggerQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Returns trigger name parameter.String
getSchema()
Returns schema name parameter.String
getTableName()
Returns table name parameter.TriggerType
getType()
Returns trigger type parameter.TriggerQuery
withName(String name)
Sets trigger name parameter.TriggerQuery
withSchema(String schema)
Sets DB schema name parameter.TriggerQuery
withTableName(String tableName)
Sets table name parameter.TriggerQuery
withType(TriggerType type)
Sets trigger type parameter.
-
-
-
Method Detail
-
withSchema
public TriggerQuery withSchema(String schema)
Sets DB schema name parameter.- Parameters:
schema
- schema name- Returns:
this
-
withName
public TriggerQuery withName(String name)
Sets trigger name parameter.- Parameters:
name
- trigger name- Returns:
this
-
withTableName
public TriggerQuery withTableName(String tableName)
Sets table name parameter.- Parameters:
tableName
- table name- Returns:
this
-
withType
public TriggerQuery withType(TriggerType type)
Sets trigger type parameter.- Parameters:
type
- trigger type- Returns:
this
-
getSchema
public String getSchema()
Returns schema name parameter.- Returns:
-
getName
public String getName()
Returns trigger name parameter.- Returns:
-
getTableName
public String getTableName()
Returns table name parameter.- Returns:
-
getType
public TriggerType getType()
Returns trigger type parameter.- Returns:
-
-