public class DMLRecordFactory
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
DMLRecordFactory.FactoryYRecord |
static class |
DMLRecordFactory.PropsSupport |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,YRecord> |
propsMap |
protected java.util.Map<java.lang.String,YRecord> |
yAttributeDescriptors |
protected java.util.Map<java.lang.String,YRecord> |
yComposedTypes |
| Constructor and Description |
|---|
DMLRecordFactory(YDbModel dbModel,
Database database,
YTypeSystem typeSystem,
HybrisPlatform platform,
CodeGenerator codeGenerator,
PkFactory pkFactory,
int propertyMaxLength,
java.lang.String typeSystemName,
java.lang.String tablePrefix) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAtomicType(YAtomicType yAtomicType) |
protected DMLRecordFactory.FactoryYRecord |
addAttributeDescriptor(YComposedType enclosingType,
YAttributeDescriptor yAttributeDescriptor) |
protected void |
addCollectionType(YCollectionType yCollectionType) |
protected DMLRecordFactory.FactoryYRecord |
addComposedType(YComposedType yComposedType) |
protected YRecord |
addCustomProperty(YTypeSystemElement parentElement,
YDeployment deployment,
PK itemPK,
PK itemTypePK,
java.lang.String name,
java.lang.Object value) |
protected void |
addEnumerationValues(YEnumType yEnumType) |
protected YRecord |
addEnumType(YEnumType enumType) |
protected void |
addMapType(YMapType yMapType) |
protected YRecord |
addRelationType(YRelation yRelation) |
protected void |
addUserRights() |
protected void |
appendRelationDescriptorAttributes(DMLRecordFactory.FactoryYRecord row,
YAttributeDescriptor yAttributeDescriptor) |
protected boolean |
exists(YEnumValue yEnumValue) |
protected java.lang.String |
generateUniquePropertyKey(YTypeSystemElement parentElement,
PK itemPK,
java.lang.String name) |
protected java.lang.String |
getColumnName(YComposedType composedType,
java.lang.String qualifier) |
protected java.util.Date |
getCurrentTime() |
protected Database |
getDatabase() |
protected java.lang.String |
getDescriptorKey(YComposedType enclosingType,
YAttributeDescriptor yAttributeDescriptor) |
protected java.lang.String |
getKey(YEnumValue yEnumValue) |
protected YTypeSystem |
getTypeSystem() |
java.util.Collection<YRecord> |
getYrecords() |
protected DMLRecordFactory.FactoryYRecord |
newItemRecord(java.lang.String type) |
protected DMLRecordFactory.FactoryYRecord |
newItemRecord(YComposedType type) |
protected DMLRecordFactory.FactoryYRecord |
newItemRecord(YComposedType type,
PK ownPK) |
protected YRecord |
newRecord(YDeployment deployment) |
protected void |
prepareDefaultCurrency() |
protected void |
prepareDefaultLanguage() |
void |
prepareMediaFolders() |
protected void |
prepareMetaInformation(java.lang.String systemName) |
protected void |
prepareNumberSeries() |
protected final java.util.Map<java.lang.String,YRecord> yComposedTypes
protected final java.util.Map<java.lang.String,YRecord> yAttributeDescriptors
protected final java.util.Map<java.lang.String,YRecord> propsMap
public DMLRecordFactory(YDbModel dbModel, Database database, YTypeSystem typeSystem, HybrisPlatform platform, CodeGenerator codeGenerator, PkFactory pkFactory, int propertyMaxLength, java.lang.String typeSystemName, java.lang.String tablePrefix)
public java.util.Collection<YRecord> getYrecords()
protected YRecord addCustomProperty(YTypeSystemElement parentElement, YDeployment deployment, PK itemPK, PK itemTypePK, java.lang.String name, java.lang.Object value)
protected java.lang.String generateUniquePropertyKey(YTypeSystemElement parentElement, PK itemPK, java.lang.String name)
protected void addUserRights()
public void prepareMediaFolders()
protected DMLRecordFactory.FactoryYRecord addComposedType(YComposedType yComposedType)
protected void prepareNumberSeries()
protected void prepareMetaInformation(java.lang.String systemName)
protected void addMapType(YMapType yMapType)
protected void addCollectionType(YCollectionType yCollectionType)
protected void addEnumerationValues(YEnumType yEnumType)
protected java.lang.String getKey(YEnumValue yEnumValue)
protected DMLRecordFactory.FactoryYRecord addAttributeDescriptor(YComposedType enclosingType, YAttributeDescriptor yAttributeDescriptor)
protected void appendRelationDescriptorAttributes(DMLRecordFactory.FactoryYRecord row, YAttributeDescriptor yAttributeDescriptor)
protected java.lang.String getColumnName(YComposedType composedType, java.lang.String qualifier)
protected DMLRecordFactory.FactoryYRecord newItemRecord(java.lang.String type)
protected DMLRecordFactory.FactoryYRecord newItemRecord(YComposedType type)
protected DMLRecordFactory.FactoryYRecord newItemRecord(YComposedType type, PK ownPK)
protected YRecord newRecord(YDeployment deployment)
protected void prepareDefaultLanguage()
protected void prepareDefaultCurrency()
protected void addAtomicType(YAtomicType yAtomicType)
protected java.util.Date getCurrentTime()
protected java.lang.String getDescriptorKey(YComposedType enclosingType, YAttributeDescriptor yAttributeDescriptor)
protected Database getDatabase()
protected YTypeSystem getTypeSystem()
protected boolean exists(YEnumValue yEnumValue)
Copyright © 2018 SAP SE. All Rights Reserved.