|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antelmann.db.WrappedDBClassStore<T>
com.antelmann.sql.WrappedDBClassStoreMapping<T>
com.antelmann.sql.PropertyEntryHeaderStore<T>
public class PropertyEntryHeaderStore<T extends EntryHeader<?>>
useful for mapping EntryHeader objects transparently to
support the PropertyEntry interface on the header store (for filtering purposes)
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.antelmann.sql.PropertyEntryMapping |
|---|
PropertyEntryMapping.DetailKey |
| Nested classes/interfaces inherited from interface com.antelmann.db.DBClassStore |
|---|
DBClassStore.DBMethod |
| Field Summary |
|---|
| Fields inherited from class com.antelmann.sql.WrappedDBClassStoreMapping |
|---|
mi |
| Fields inherited from class com.antelmann.db.WrappedDBClassStore |
|---|
store |
| Constructor Summary | |
|---|---|
PropertyEntryHeaderStore(DBClassStore<T> store,
Class<E> propertyEntryType)
|
|
PropertyEntryHeaderStore(DBClassStore<T> headerStore,
DBClassStore<E> propertyEntryStore)
|
|
PropertyEntryHeaderStore(DBClassStore<T> headerStore,
PropertyEntryMapping pm,
MappingInfo propertyEntryMappingInfo)
|
|
| Method Summary | |
|---|---|
void |
deleteAttributeKey(String key)
deletes all property entries with the given key |
String |
getMappingForTopic(Object topic)
allows to determine whether a specific given topic maps to a distinct table, query or column name. |
Set<String> |
getPropertyKeys()
returns all property keys currently in the database |
Set<?> |
getValuesForProperty(String key)
returns all values for a given property key; if the key is null, all values are returned |
void |
renameAttributeKey(String oldName,
String newName)
allows to rename an attribute key; note that only those attribute keys can be renamed where the new attribute key doesn't yet exist |
void |
replaceValuesForKey(String key,
String oldValue,
String newValue)
replaces all old values for the given key with the new value |
| Methods inherited from class com.antelmann.sql.WrappedDBClassStoreMapping |
|---|
addColumnsForTopic, addTopicMapping, getColumnDisplayMapping, getColumnNames, getColumnsForTopic, getColumnSize, getDisplayColumn, getDisplayNameForColumn, getIDColumn, getSQLTypeforColumn, getSupportedTopicColumns, getTableName, getTableQuery, removeColumnTopics, removeTopicMapping, setColumnsForTopic |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyEntryHeaderStore(DBClassStore<T> store,
Class<E> propertyEntryType)
public PropertyEntryHeaderStore(DBClassStore<T> headerStore,
DBClassStore<E> propertyEntryStore)
public PropertyEntryHeaderStore(DBClassStore<T> headerStore,
PropertyEntryMapping pm,
MappingInfo propertyEntryMappingInfo)
| Method Detail |
|---|
public void deleteAttributeKey(String key)
throws SQLException
PropertyEntryMapping
deleteAttributeKey in interface PropertyEntryMappingSQLException
public Set<String> getPropertyKeys()
throws SQLException
PropertyEntryMapping
getPropertyKeys in interface PropertyEntryMappingSQLException
public Set<?> getValuesForProperty(String key)
throws SQLException
PropertyEntryMapping
getValuesForProperty in interface PropertyEntryMappingSQLException
public void renameAttributeKey(String oldName,
String newName)
throws SQLException,
NullPointerException
PropertyEntryMapping
renameAttributeKey in interface PropertyEntryMappingSQLException
NullPointerException
public void replaceValuesForKey(String key,
String oldValue,
String newValue)
throws SQLException
PropertyEntryMapping
replaceValuesForKey in interface PropertyEntryMappingSQLExceptionpublic String getMappingForTopic(Object topic)
MappingInfo
getMappingForTopic in interface MappingInfogetMappingForTopic in class WrappedDBClassStoreMapping<T extends EntryHeader<?>>
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||