public NonNativeObjectInfo(NeoDatis.Odb.Core.Layers.Layer2.Meta.ObjectInfoHeader oip, NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo classInfo) : base(null) { // private List attributeValues; this.classInfo = classInfo; this.objectHeader = oip; if (classInfo != null) { this.maxNbattributes = classInfo.GetMaxAttributeId(); this.attributeValues = new NeoDatis.Odb.Core.Layers.Layer2.Meta.AbstractObjectInfo [maxNbattributes]; } this.allNonNativeObjects = null; }
public NonNativeObjectInfo(NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo classInfo ) : base(null) { //new OdbArrayList<NonNativeObjectInfo>(); this.classInfo = classInfo; this.objectHeader = new NeoDatis.Odb.Core.Layers.Layer2.Meta.ObjectInfoHeader(-1, null, null, (classInfo != null ? classInfo.GetId() : null), null, null); if (classInfo != null) { this.maxNbattributes = classInfo.GetMaxAttributeId(); this.attributeValues = new NeoDatis.Odb.Core.Layers.Layer2.Meta.AbstractObjectInfo [maxNbattributes]; } this.allNonNativeObjects = null; }
public NonNativeObjectInfo(object @object, NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo info, NeoDatis.Odb.Core.Layers.Layer2.Meta.AbstractObjectInfo[] values, long[] attributesIdentification, int[] attributeIds) : base(NeoDatis.Odb.Core.Layers.Layer2.Meta.ODBType .GetFromName(info.GetFullClassName())) { //new OdbArrayList<NonNativeObjectInfo>(); this.@object = @object; this.classInfo = info; this.attributeValues = values; this.maxNbattributes = classInfo.GetMaxAttributeId(); if (attributeValues == null) { this.attributeValues = new NeoDatis.Odb.Core.Layers.Layer2.Meta.AbstractObjectInfo [maxNbattributes]; } this.objectHeader = new NeoDatis.Odb.Core.Layers.Layer2.Meta.ObjectInfoHeader(-1, null, null, (classInfo != null ? classInfo.GetId() : null), attributesIdentification , attributeIds); this.allNonNativeObjects = new NeoDatis.Tool.Wrappers.List.OdbArrayList <NeoDatis.Odb.Core.Layers.Layer2.Meta.NonNativeObjectInfo >(); }
public NonNativeObjectInfo(object @object, NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo info, NeoDatis.Odb.Core.Layers.Layer2.Meta.AbstractObjectInfo[] values, long[] attributesIdentification, int[] attributeIds) : base(NeoDatis.Odb.Core.Layers.Layer2.Meta.ODBType .GetFromName(info.GetFullClassName())) { //new OdbArrayList<NonNativeObjectInfo>(); this.@object = @object; this.classInfo = info; this.attributeValues = values; this.maxNbattributes = classInfo.GetMaxAttributeId(); if (attributeValues == null) { this.attributeValues = new NeoDatis.Odb.Core.Layers.Layer2.Meta.AbstractObjectInfo [maxNbattributes]; } this.objectHeader = new NeoDatis.Odb.Core.Layers.Layer2.Meta.ObjectInfoHeader(-1, null, null, (classInfo != null ? classInfo.GetId() : null), attributesIdentification , attributeIds); this.allNonNativeObjects = new NeoDatis.Tool.Wrappers.List.OdbArrayList<NeoDatis.Odb.Core.Layers.Layer2.Meta.NonNativeObjectInfo >(); }