|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyEntry
represents an entity that is specified by various properties that may flexibly change.
DBClassStore,
JPropertyEntryComponent| Field Summary |
|---|
| Fields inherited from interface com.antelmann.db.DBEntry |
|---|
ENTRY_FLAVOR, ENTRY_LIST_FLAVOR |
| Method Summary | |
|---|---|
Map<String,Object> |
getProperties()
returns an unmodifiable view of the map that represents the existing properties. |
Object |
getProperty(String key)
allows access to some property; may return null if not set |
Object |
removeProperty(String key)
removes the given key from the properties |
Object |
setProperty(String key,
Object value)
edit/set a given property value based on the given key. |
| Methods inherited from interface com.antelmann.db.DBEntry |
|---|
getID |
| Method Detail |
|---|
Object getProperty(String key)
Object setProperty(String key,
Object value)
throws IllegalArgumentException
IllegalArgumentException - if the given key/value combination is
not allowed on the given instance.
Object removeProperty(String key)
throws IllegalArgumentException
IllegalArgumentException - if the given key cannot be removed on the given instance.Map<String,Object> getProperties()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||