protected void resolveSuperClassSimplePagingBean(DfPmbMetaData pmbMetaData) { final String superClassName = pmbMetaData.getSuperClassName(); if (Srl.endsWithIgnoreCase(superClassName, "Paging") // main || Srl.equalsIgnoreCase( superClassName, "SPB")) { // an old style for compatibility before 0.9.7.5 pmbMetaData.setSuperClassName("SimplePagingBean"); if (Srl.equalsIgnoreCase(superClassName, "ManualPaging")) { pmbMetaData.setPagingType(DfPagingType.MANUAL); } else if (Srl.equalsIgnoreCase(superClassName, "AutoPaging")) { pmbMetaData.setPagingType(DfPagingType.AUTO); } else { pmbMetaData.setPagingType(DfPagingType.UNKNOWN); } } }
// ----------------------------------------------------- // Common Helper // ------------- protected boolean isRevervedProperty(String propertyName) { // properties for TypedParameterBean and SimplePagingBean and so on... return Srl.equalsIgnoreCase( propertyName, "OutsideSqlPath" // TypedParameterBean , "EntityType" // TypedSelectPmb , "ProcedureName", "EscapeStatement", "CalledBySelect" // ProcedurePmb , "IsEscapeStatement", "IsCalledBySelect" // ProcedurePmb (C#) , "FetchStartIndex", "FetchSize", "FetchPageNumber" // PagingBean , "PageStartIndex", "PageEndIndex" // PagingBean , "IsPaging" // PagingBean (C#) , "OrderByClause", "OrderByComponent" // OrderByBean , "SafetyMaxResultSize" // FetchBean , "ParameterMap" // MapParameterBean ); }