public class Trigger extends Object implements Serializable
Describes a trigger.
Constructor and Description |
---|
Trigger()
Default constructor for a new Trigger object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
The name of the trigger.
|
int |
hashCode() |
void |
setName(String name)
The name of the trigger.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Trigger |
withName(String name)
The name of the trigger.
|
public Trigger()
public String getName()
public void setName(String name)
name
- The name of the trigger.public Trigger withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The name of the trigger.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.