public void syncMappingInfo() { if (getValueMappedBy() != null) _info.clear(); else { _info.syncWith(this); ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.syncMappingInfo(); } }
public void syncMappingInfo() { if (getValueMappedBy() != null) _info.clear(); else { _info.syncWith(this); ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.syncMappingInfo(); } }
public void refSchemaComponents() { for (int i = 0; i < _cols.length; i++) _cols[i].ref(); if (_fk != null) { _fk.ref(); _fk.refColumns(); } ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.refSchemaComponents(); }
public void refSchemaComponents() { for (int i = 0; i < _cols.length; i++) _cols[i].ref(); if (_fk != null) { _fk.ref(); _fk.refColumns(); } ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.refSchemaComponents(); }
public void refSchemaComponents() { for (int i = 0; i < _cols.length; i++) _cols[i].ref(); if (_fk != null) { _fk.ref(); _fk.refColumns(); } ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.refSchemaComponents(); }
public void syncMappingInfo() { if (getValueMappedBy() != null) _info.clear(); else { _info.syncWith(this); ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.syncMappingInfo(); } }
public void syncMappingInfo() { if (getValueMappedBy() != null) _info.clear(); else { _info.syncWith(this); ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.syncMappingInfo(); } }
public void refSchemaComponents() { for (int i = 0; i < _cols.length; i++) _cols[i].ref(); if (_fk != null) { _fk.ref(); _fk.refColumns(); } ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.refSchemaComponents(); }
public void syncMappingInfo() { if (getValueMappedBy() != null) _info.clear(); else { _info.syncWith(this); ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.syncMappingInfo(); } }
public void refSchemaComponents() { for (int i = 0; i < _cols.length; i++) _cols[i].ref(); if (_fk != null) { _fk.ref(); _fk.refColumns(); } ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.refSchemaComponents(); }
public boolean resolve(int mode) { int cur = getResolve(); if (super.resolve(mode)) return true; ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.resolve(mode); if ((mode & MODE_MAPPING) != 0 && (cur & MODE_MAPPING) == 0) resolveMapping(); if ((mode & MODE_MAPPING_INIT) != 0 && (cur & MODE_MAPPING_INIT) == 0) initializeMapping(); return false; }
public boolean resolve(int mode) { int cur = getResolve(); if (super.resolve(mode)) return true; ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.resolve(mode); if ((mode & MODE_MAPPING) != 0 && (cur & MODE_MAPPING) == 0) resolveMapping(); if ((mode & MODE_MAPPING_INIT) != 0 && (cur & MODE_MAPPING_INIT) == 0) initializeMapping(); return false; }
public boolean resolve(int mode) { int cur = getResolve(); if (super.resolve(mode)) return true; ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.resolve(mode); if ((mode & MODE_MAPPING) != 0 && (cur & MODE_MAPPING) == 0) resolveMapping(); if ((mode & MODE_MAPPING_INIT) != 0 && (cur & MODE_MAPPING_INIT) == 0) initializeMapping(); return false; }
public void copyMappingInfo(ValueMapping vm) { setValueMappedBy(vm.getValueMappedBy()); setPolymorphic(vm.getPolymorphic()); _info.copy(vm.getValueInfo()); ClassMapping embed = vm.getEmbeddedMapping(); if (embed != null && getEmbeddedMapping() != null) { FieldMapping[] tmplates = embed.getFieldMappings(); FieldMapping[] fms = getEmbeddedMapping().getFieldMappings(); if (tmplates.length == fms.length) for (int i = 0; i < fms.length; i++) fms[i].copyMappingInfo(tmplates[i]); } }
public boolean resolve(int mode) { int cur = getResolve(); if (super.resolve(mode)) return true; ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.resolve(mode); if ((mode & MODE_MAPPING) != 0 && (cur & MODE_MAPPING) == 0) resolveMapping(); if ((mode & MODE_MAPPING_INIT) != 0 && (cur & MODE_MAPPING_INIT) == 0) initializeMapping(); return false; }
public void copyMappingInfo(ValueMapping vm) { setValueMappedBy(vm.getValueMappedBy()); setPolymorphic(vm.getPolymorphic()); _info.copy(vm.getValueInfo()); ClassMapping embed = vm.getEmbeddedMapping(); if (embed != null && getEmbeddedMapping() != null) { FieldMapping[] tmplates = embed.getFieldMappings(); FieldMapping[] fms = getEmbeddedMapping().getFieldMappings(); if (tmplates.length == fms.length) for (int i = 0; i < fms.length; i++) fms[i].copyMappingInfo(tmplates[i]); } }
public void copyMappingInfo(ValueMapping vm) { setValueMappedBy(vm.getValueMappedBy()); setPolymorphic(vm.getPolymorphic()); _info.copy(vm.getValueInfo()); ClassMapping embed = vm.getEmbeddedMapping(); if (embed != null && getEmbeddedMapping() != null) { FieldMapping[] tmplates = embed.getFieldMappings(); FieldMapping[] fms = getEmbeddedMapping().getFieldMappings(); if (tmplates.length == fms.length) for (int i = 0; i < fms.length; i++) fms[i].copyMappingInfo(tmplates[i]); } }
public void copyMappingInfo(ValueMapping vm) { setValueMappedBy(vm.getValueMappedBy()); setPolymorphic(vm.getPolymorphic()); _info.copy(vm.getValueInfo()); ClassMapping embed = vm.getEmbeddedMapping(); if (embed != null && getEmbeddedMapping() != null) { FieldMapping[] tmplates = embed.getFieldMappings(); FieldMapping[] fms = getEmbeddedMapping().getFieldMappings(); if (tmplates.length == fms.length) for (int i = 0; i < fms.length; i++) fms[i].copyMappingInfo(tmplates[i]); } }
public void copyMappingInfo(ValueMapping vm) { setValueMappedBy(vm.getValueMappedBy()); setPolymorphic(vm.getPolymorphic()); _info.copy(vm.getValueInfo()); ClassMapping embed = vm.getEmbeddedMapping(); if (embed != null && getEmbeddedMapping() != null) { FieldMapping[] tmplates = embed.getFieldMappings(); FieldMapping[] fms = getEmbeddedMapping().getFieldMappings(); if (tmplates.length == fms.length) for (int i = 0; i < fms.length; i++) fms[i].copyMappingInfo(tmplates[i]); } }
public boolean resolve(int mode) { int cur = getResolve(); if (super.resolve(mode)) return true; ClassMapping embed = getEmbeddedMapping(); if (embed != null) embed.resolve(mode); if ((mode & MODE_MAPPING) != 0 && (cur & MODE_MAPPING) == 0) resolveMapping(); if ((mode & MODE_MAPPING_INIT) != 0 && (cur & MODE_MAPPING_INIT) == 0) initializeMapping(); return false; }