public class SavePointAttributes
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static SavePointAttributes |
EMPTY_SAVEPOINT_ATTRIBUTES
Not updateable empty save point attributes.
|
| Constructor and Description |
|---|
SavePointAttributes(java.lang.String name,
java.lang.String description,
java.util.Map<java.lang.String,java.io.Serializable> attrs)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.util.Map<java.lang.String,java.io.Serializable> |
getUserAttributes() |
void |
setDescription(java.lang.String description)
Set the description field.
|
void |
setName(java.lang.String name)
Set the name field.
|
void |
setUserAttributes(java.util.Map<java.lang.String,java.io.Serializable> attrs) |
java.lang.String |
toString() |
public static final SavePointAttributes EMPTY_SAVEPOINT_ATTRIBUTES
public SavePointAttributes(java.lang.String name,
java.lang.String description,
java.util.Map<java.lang.String,java.io.Serializable> attrs)
name - the name for the save point.description - the escription for the save point.attrs - a map of extra attributes for this save point keyed
by attribute name. These attributes need to be serializable.public java.lang.String getName()
public void setName(java.lang.String name)
name - the value of the name field to set to.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the value of the description field to set to.public java.util.Map<java.lang.String,java.io.Serializable> getUserAttributes()
public void setUserAttributes(java.util.Map<java.lang.String,java.io.Serializable> attrs)
attrs - the custom user attributespublic java.lang.String toString()
toString in class java.lang.Object