public String getUnsettableFieldName(EStructuralFeature feature) { String name = DBAnnotation.COLUMN_NAME.getValue(feature); if (name != null) { return CDO_SET_PREFIX + name; } return getName( CDO_SET_PREFIX + feature.getName(), TYPE_PREFIX_FEATURE + getUniqueID(feature), getMaxFieldNameLength()); }
public String getFieldName(EStructuralFeature feature) { String name = DBAnnotation.COLUMN_NAME.getValue(feature); if (name == null) { name = getName( feature.getName(), TYPE_PREFIX_FEATURE + getUniqueID(feature), getMaxFieldNameLength()); } return name; }