|
SPT Object Database API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.prevayler.transaction.Transaction.Parameter
public static class Transaction.Parameter
A mapping object used to capture the class type and instance of a parameter to a method defined on the prevalent system.
| Field Summary | |
|---|---|
private static long |
serialVersionUID
|
private Class |
type
The class of the parameter. |
private Object |
value
The instance of the parameter. |
| Constructor Summary | |
|---|---|
Transaction.Parameter(Class type,
Object value)
Craete a new instance of the parameter with the specified values. |
|
Transaction.Parameter(Object value)
Create a new instance using the specified parameter value. |
|
| Method Summary | |
|---|---|
Class |
getType()
Return the type field. |
Object |
getValue()
Return the value field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private final Class type
private final Object value
| Constructor Detail |
|---|
public Transaction.Parameter(Class type,
Object value)
type - The type to use.value - The value to use.public Transaction.Parameter(Object value)
value - The value to use. The type is set
from Object.getClass() method.| Method Detail |
|---|
public Class getType()
type field.
type.public Object getValue()
value field.
value.
|
SPT Object Database API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||