public static void build(final JPAEdmComplexPropertyView complexView,
final String parentComplexTypeName, final boolean skipDefaultNaming) {
ComplexProperty complexProperty = complexView.getEdmComplexProperty();
JPAEdmMappingModelAccess mappingModelAccess = complexView.getJPAEdmMappingModelAccess();
JPAEdmPropertyView propertyView = ((JPAEdmPropertyView) complexView);
String jpaAttributeName = propertyView.getJPAAttribute().getName();
String propertyName = null;
if (mappingModelAccess != null && mappingModelAccess.isMappingModelExists()) {
propertyName = mappingModelAccess.mapJPAEmbeddableTypeAttribute(parentComplexTypeName, jpaAttributeName);
}
if (skipDefaultNaming == false && propertyName == null) {
propertyName = Character.toUpperCase(jpaAttributeName.charAt(0)) + jpaAttributeName.substring(1);
} else if (propertyName == null) {
propertyName = jpaAttributeName;