|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.rgma.Storage
public class Storage
Storage location for tuples. The following static methods and constants are available:
Storage.MEMORY
Storage.DATABASE
Storage.getDatabase(logicalName)
Field Summary | |
---|---|
static Storage |
DATABASE
The default DATABASE storage location. |
static Storage |
FILE
The default FILE storage location. |
static Storage |
MEMORY
The default MEMORY storage location. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this object with the specified object. |
static Storage |
getDatabase(java.lang.String logicalName)
Gets a DATABASE Storage object for the specified database. |
static Storage |
getDatabase(java.lang.String location,
java.lang.String userName,
java.lang.String password)
Deprecated. |
static Storage |
getFile(java.lang.String logicalName)
Deprecated. |
java.lang.String |
getLocation()
Deprecated. |
java.lang.String |
getLogicalName()
Gets the logical name for this storage system. |
java.lang.String |
getPassword()
Deprecated. |
java.lang.String |
getUserName()
Deprecated. |
boolean |
hasDetails()
Determines if this Storage contains storage details. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isDatabase()
Determines if this storage system is a database. |
boolean |
isFile()
Deprecated. |
boolean |
isMemory()
Determines if this storage system is memory. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Storage MEMORY
public static final Storage DATABASE
public static final Storage FILE
Method Detail |
---|
public static Storage getDatabase(java.lang.String location, java.lang.String userName, java.lang.String password)
location
- The URL of the storage system (e.g. dbms)userName
- The user name for the storage system.password
- The password for the storage system.
public static Storage getDatabase(java.lang.String logicalName)
logicalName
- The logical name of the storage system
public static Storage getFile(java.lang.String logicalName)
logicalName
- The logical name of the file location.
public boolean isDatabase()
public boolean isFile()
public boolean isMemory()
public java.lang.String getLogicalName()
public java.lang.String getPassword()
public java.lang.String getLocation()
public java.lang.String getUserName()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object to compare.
true
if this object and the specified object are
equal.Object.equals(java.lang.Object)
public boolean hasDetails()
true
if it has storage details, otherwise false.public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |