|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Metadata
Generic interface to access metadata associated with PSDK objects.
Method Summary | |
---|---|
boolean |
containsKey(String key)
Checks if the metadata contains the specified key. |
String |
getValue(String key)
Returns the value associated with the specified key as string. |
boolean |
isEmpty()
Checks if the metadata has any mapping defined. |
Set<String> |
keySet()
Returns a Set containing the strings used as keys in this metadata. |
void |
setValue(String key,
String value)
Stores a String value into this metadata, replacing any existing value for the given key. |
byte[] |
toByteArray()
|
Method Detail |
---|
boolean containsKey(String key)
key
- the key to be looked for
String getValue(String key)
key
- a string key
void setValue(String key, String value)
key
- a stringvalue
- the value to be stored.boolean isEmpty()
Set<String> keySet()
byte[] toByteArray()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |