* Implement getPropertyNames() to enable high level type.properties introspection

This commit is contained in:
hns 2005-11-10 17:04:12 +00:00
parent d18ae12d12
commit da0502ecfe

View file

@ -747,6 +747,13 @@ public final class DbMapping {
return subRelation;
}
/**
* Return the list of defined property names as String array.
*/
public String[] getPropertyNames() {
return (String[]) prop2db.keySet().toArray(new String[prop2db.size()]);
}
/**
*
*