| |
|
| java.lang.Object org.jpox.ResourceType
ResourceType | public class ResourceType implements Serializable(Code) | | Representation of a resource type. A Resource is a connection to the
datastore. There are two kinds of resources: JTA or RESOURCE_LOCAL
A transaction of a JTA resource is managed by a JTA TransactionManager,
while RESOURCE_LOCAL is managed by JPOX TransactionManager
since: 1.1 version: $Revision: 1.1 $ |
Method Summary | |
public boolean | equals(Object o) Indicates whether some other object is "equal to" this one.
Parameters: o - the reference object with which to compare. | public int | getType() | public static ResourceType | getValue(String value) Return Sequence strategy from String.
Parameters: value - sequence strategy Instance of SequenceStrategy. | public String | toString() Returns a string representation of the object. |
equals | public boolean equals(Object o)(Code) | | Indicates whether some other object is "equal to" this one.
Parameters: o - the reference object with which to compare. true if this object is the same as the obj argument; false otherwise. |
getType | public int getType()(Code) | | Accessor to the sequence strategy type
the type |
getValue | public static ResourceType getValue(String value)(Code) | | Return Sequence strategy from String.
Parameters: value - sequence strategy Instance of SequenceStrategy. If parse failed, return null. |
toString | public String toString()(Code) | | Returns a string representation of the object.
a string representation of the object. |
|
|
|