public virtual object GetDefaultValue() /* throws Net.Vpc.Upa.Exceptions.UPAException */ { Net.Vpc.Upa.Entity entity = entityBeanAdapter.GetEntity(); Net.Vpc.Upa.Field field = null; if (entity != null) { field = entity.FindField(GetName()); if (field == null) { entity = null; } } if (entity == null || field == null) { return(Net.Vpc.Upa.Impl.FwkConvertUtils.GetMapValue <System.Type, object>(Net.Vpc.Upa.Impl.Util.PlatformUtils.DEFAULT_VALUES_BY_TYPE, GetFieldType())); } else { return(field.GetUnspecifiedValueDecoded()); } }