Class Statement
- java.lang.Object
-
- org.opennms.netmgt.config.vacuumd.Statement
-
- All Implemented Interfaces:
java.io.Serializable
public class Statement extends java.lang.Object implements java.io.SerializableJust 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 booleanequals(java.lang.Object obj)Overrides the Object.equals method.java.lang.StringgetContent()Returns the value of field 'content'.booleangetTransactional()Returns the value of field 'transactional'.inthashCode()Overrides the Object.hashCode method.booleanisTransactional()Returns the value of field 'transactional'.voidsetContent(java.lang.String content)Sets the value of field 'content'.voidsetTransactional(boolean transactional)Sets the value of field 'transactional'.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Overrides the Object.equals method.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj-- Returns:
- true if the objects are equal.
-
getContent
public java.lang.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
- Overrides:
hashCodein classjava.lang.Object- Returns:
- a hash code value for the object.
-
isTransactional
public boolean isTransactional()
Returns the value of field 'transactional'.- Returns:
- the value of field 'Transactional'.
-
setContent
public void setContent(java.lang.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'.
-
-