MetadataService¶
-
public interface
MetadataService
¶ A service that allows access to JDO metadata for MDS. Allows lookups for actual table names. Exposed by the generated MDS entities bundle, since it needs it
javax.jdo.PersistenceManagerFactory
for retrieving accurate metadata.
Methods¶
getComboboxTableName¶
-
String
getComboboxTableName
(String entityClassName, String cbFieldName)¶ Returns the datastore table for the given combobox field in an entity.
Parameters: - entityClassName – the class name of the entity
- cbFieldName – the name of the combobox field
Throws: - IllegalArgumentException – if there is no table name available in the metadta for this field
Returns: the table name for the combobox