public class Statement extends Object implements Serializable
Constructor and Description |
---|
Statement() |
Statement(String value,
boolean transactional) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
String |
getContent()
Returns the value of field 'content'.
|
boolean |
getTransactional()
Returns the value of field 'transactional'.
|
int |
hashCode()
Overrides the Object.hashCode method.
|
boolean |
isTransactional()
Returns the value of field 'transactional'.
|
void |
setContent(String content)
Sets the value of field 'content'.
|
void |
setTransactional(boolean transactional)
Sets the value of field 'transactional'.
|
public Statement()
public Statement(String value, boolean transactional)
public boolean equals(Object obj)
public String getContent()
public boolean getTransactional()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isTransactional()
public void setContent(String content)
content
- the value of field 'content'.public void setTransactional(boolean transactional)
transactional
- the value of field 'transactional'.Copyright © 2021. All rights reserved.