Class Statement
- java.lang.Object
-
- org.opennms.netmgt.config.vacuumd.Statement
-
- All Implemented Interfaces:
Serializable
public class Statement extends Object implements Serializable
Just a generic string used for SQL statements- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.
-
-
-
Constructor Detail
-
Statement
public Statement()
-
Statement
public Statement(String value, boolean transactional)
-
-
Method Detail
-
equals
public boolean equals(Object obj)
Overrides the Object.equals method.
-
getContent
public String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage- Returns:
- the value of field 'Content'.
-
getTransactional
public boolean getTransactional()
Returns the value of field 'transactional'.- Returns:
- the value of field 'Transactional'.
-
hashCode
public int hashCode()
Overrides the Object.hashCode method.The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
-
isTransactional
public boolean isTransactional()
Returns the value of field 'transactional'.- Returns:
- the value of field 'Transactional'.
-
setContent
public void setContent(String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage- Parameters:
content
- the value of field 'content'.
-
setTransactional
public void setTransactional(boolean transactional)
Sets the value of field 'transactional'.- Parameters:
transactional
- the value of field 'transactional'.
-
-