public CFDbTestNumberDefBuff readDerivedByUNameIdx( CFSecurityAuthorization Authorization, long TenantId, long ScopeId, String Name) { final String S_ProcName = "CFDbTestRamValue.readDerivedByUNameIdx"; CFDbTestValueBuff buff = schema.getTableValue().readDerivedByUNameIdx(Authorization, TenantId, ScopeId, Name); if (buff == null) { return (null); } else if (buff instanceof CFDbTestNumberDefBuff) { return ((CFDbTestNumberDefBuff) buff); } else { return (null); } }
public CFDbTestNumberDefBuff[] readDerivedByNextIdx( CFSecurityAuthorization Authorization, Long NextTenantId, Long NextId) { final String S_ProcName = "CFDbTestRamValue.readDerivedByNextIdx"; CFDbTestValueBuff buffList[] = schema.getTableValue().readDerivedByNextIdx(Authorization, NextTenantId, NextId); if (buffList == null) { return (null); } else { CFDbTestValueBuff buff; ArrayList<CFDbTestNumberDefBuff> filteredList = new ArrayList<CFDbTestNumberDefBuff>(); for (int idx = 0; idx < buffList.length; idx++) { buff = buffList[idx]; if ((buff != null) && (buff instanceof CFDbTestNumberDefBuff)) { filteredList.add((CFDbTestNumberDefBuff) buff); } } return (filteredList.toArray(new CFDbTestNumberDefBuff[0])); } }