|
VolD 0.1
|
A Key as a part of VolD entries. More...
Public Member Functions | |
| Key (String scope, String type, String keyname) throws IllegalArgumentException | |
| Construct a Key with all necessary informations. | |
| String | get_scope () |
| Get the scope of the key. | |
| String | get_type () |
| Get the type of the key. | |
| String | get_keyname () |
| Get the name of the key. | |
| String | toString () |
| Convert the key to readable and printable version. | |
| List< String > | _buildkey () |
| Convert the key to the language used in volatilelogic. | |
| boolean | equals (Object obj) |
| Compare this key with another key. | |
| int | hashCode () |
| Compute the hash code of this key. | |
Static Public Member Functions | |
| static Key | buildkey (List< String > key) throws IllegalArgumentException |
| Construct a key from list of strings. | |
Private Attributes | |
| final String | scope |
| final String | type |
| final String | keyname |
A Key as a part of VolD entries.
A Key is defined by a scope, a type and a keyname. The scope is any valid UNIX-style path. The type and keyname are arbitrary strings.
| de.zib.vold.common.Key.Key | ( | String | scope, |
| String | type, | ||
| String | keyname | ||
| ) | throws IllegalArgumentException |
Construct a Key with all necessary informations.
| scope | The scope of the key. |
| type | The type of the key. |
| keyname | The name of the key. |
Definition at line 28 of file Key.java.
References de.zib.vold.common.Key.equals(), de.zib.vold.common.Key.keyname, de.zib.vold.common.Key.scope, and de.zib.vold.common.Key.type.
Referenced by de.zib.vold.common.Key.buildkey().
Here is the call graph for this function:
Here is the caller graph for this function:| List< String > de.zib.vold.common.Key._buildkey | ( | ) |
Convert the key to the language used in volatilelogic.
Definition at line 132 of file Key.java.
References de.zib.vold.common.Key.keyname, de.zib.vold.common.Key.scope, and de.zib.vold.common.Key.type.
Referenced by de.zib.vold.frontend.Frontend.insert(), de.zib.vold.frontend.Frontend.lookup(), de.zib.vold.frontend.Frontend.refresh(), de.zib.vold.frontend.Frontend.scopeLookup(), and de.zib.vold.common.Key.toString().
Here is the caller graph for this function:| static Key de.zib.vold.common.Key.buildkey | ( | List< String > | key | ) | throws IllegalArgumentException [static] |
Construct a key from list of strings.
| key | The key in a format used in the volatilelogic package. |
Definition at line 116 of file Key.java.
References de.zib.vold.common.Key.Key().
Referenced by de.zib.vold.replication.RESTVoldReplicator.insert(), de.zib.vold.replication.RESTVoldReplicator.refresh(), and de.zib.vold.frontend.Frontend.scopeLookup().
Here is the call graph for this function:
Here is the caller graph for this function:| boolean de.zib.vold.common.Key.equals | ( | Object | obj | ) |
Compare this key with another key.
Definition at line 148 of file Key.java.
References de.zib.vold.common.Key.get_keyname(), de.zib.vold.common.Key.get_scope(), and de.zib.vold.common.Key.get_type().
Referenced by de.zib.vold.common.Key.Key().
Here is the call graph for this function:
Here is the caller graph for this function:| String de.zib.vold.common.Key.get_keyname | ( | ) |
Get the name of the key.
Definition at line 95 of file Key.java.
References de.zib.vold.common.Key.keyname.
Referenced by de.zib.vold.client.RESTClient.delete(), de.zib.vold.common.Key.equals(), de.zib.vold.userInterface.RESTController.get(), de.zib.vold.common.Key.hashCode(), de.zib.vold.frontend.Frontend.lookup(), de.zib.vold.userInterface.ABI.main(), de.zib.vold.userInterface.RESTController.post(), de.zib.vold.client.RESTClient.refresh(), de.zib.vold.frontend.Frontend.scopeLookup(), and de.zib.vold.common.URIKey.toURIString().
Here is the caller graph for this function:| String de.zib.vold.common.Key.get_scope | ( | ) |
Get the scope of the key.
Definition at line 75 of file Key.java.
References de.zib.vold.common.Key.scope.
Referenced by de.zib.vold.client.RESTClient.delete(), de.zib.vold.common.Key.equals(), de.zib.vold.userInterface.RESTController.get(), de.zib.vold.common.Key.hashCode(), de.zib.vold.frontend.Frontend.lookup(), de.zib.vold.userInterface.ABI.main(), de.zib.vold.userInterface.RESTController.post(), de.zib.vold.client.RESTClient.refresh(), de.zib.vold.frontend.Frontend.scopeLookup(), and de.zib.vold.common.URIKey.toURIString().
Here is the caller graph for this function:| String de.zib.vold.common.Key.get_type | ( | ) |
Get the type of the key.
Definition at line 85 of file Key.java.
References de.zib.vold.common.Key.type.
Referenced by de.zib.vold.client.RESTClient.delete(), de.zib.vold.common.Key.equals(), de.zib.vold.userInterface.RESTController.get(), de.zib.vold.common.Key.hashCode(), de.zib.vold.frontend.Frontend.lookup(), de.zib.vold.userInterface.ABI.main(), de.zib.vold.userInterface.RESTController.post(), de.zib.vold.client.RESTClient.refresh(), de.zib.vold.frontend.Frontend.scopeLookup(), and de.zib.vold.common.URIKey.toURIString().
Here is the caller graph for this function:| int de.zib.vold.common.Key.hashCode | ( | ) |
Compute the hash code of this key.
Definition at line 175 of file Key.java.
References de.zib.vold.common.Key.get_keyname(), de.zib.vold.common.Key.get_scope(), and de.zib.vold.common.Key.get_type().
Here is the call graph for this function:| String de.zib.vold.common.Key.toString | ( | ) |
Convert the key to readable and printable version.
Definition at line 105 of file Key.java.
References de.zib.vold.common.Key._buildkey().
Referenced by de.zib.vold.frontend.Frontend.lookup().
Here is the call graph for this function:
Here is the caller graph for this function:final String de.zib.vold.common.Key.keyname [private] |
Definition at line 184 of file Key.java.
Referenced by de.zib.vold.common.Key._buildkey(), de.zib.vold.common.Key.get_keyname(), and de.zib.vold.common.Key.Key().
final String de.zib.vold.common.Key.scope [private] |
Definition at line 182 of file Key.java.
Referenced by de.zib.vold.common.Key._buildkey(), de.zib.vold.common.Key.get_scope(), and de.zib.vold.common.Key.Key().
final String de.zib.vold.common.Key.type [private] |
Definition at line 183 of file Key.java.
Referenced by de.zib.vold.common.Key._buildkey(), de.zib.vold.common.Key.get_type(), and de.zib.vold.common.Key.Key().