internal EntityBeanGetterSetterAttribute(Net.Vpc.Upa.Impl.Util.EntityBeanType entityBeanAdapter, string fieldName, System.Type fieldType, System.Type type) : base(entityBeanAdapter, fieldName, fieldType) { this.entityBeanAdapter = entityBeanAdapter; this.fieldName = fieldName; this.fieldType = fieldType; getter = entityBeanAdapter.GetMethod(type, Net.Vpc.Upa.Impl.Util.PlatformUtils.GetterName(fieldName, fieldType), fieldType); if (getter == null) { getter = entityBeanAdapter.GetMethod(type, Net.Vpc.Upa.Impl.Util.PlatformUtils.GetterName(fieldName, fieldType), fieldType); } // System.out.println("why"); if (getter != null) { //getter.SetAccessible(true); } setter = entityBeanAdapter.GetMethod(type, Net.Vpc.Upa.Impl.Util.PlatformUtils.SetterName(fieldName), typeof(void), fieldType); if (setter != null) { //setter.SetAccessible(true); } }
internal EntityBeanFieldAttribute(Net.Vpc.Upa.Impl.Util.EntityBeanType entityBeanAdapter, System.Reflection.FieldInfo field, System.Type cls) : base(entityBeanAdapter, (field).Name, field.GetType()) { this.field = field; //field.SetAccessible(true); }
internal AbstractEntityBeanAttribute(Net.Vpc.Upa.Impl.Util.EntityBeanType entityBeanAdapter, string name, System.Type fieldType) { this.entityBeanAdapter = entityBeanAdapter; this.name = name; this.fieldType = fieldType; }