public String bindRestoreBackupStylePropertyMethod(ClientDocumentStfulDelegateWebImpl clientDoc) { StringBuilder code = new StringBuilder(); String methodName = getRestoreBackupPropertyMethodName(); if (!clientDoc.isClientMethodBounded(methodName)) code.append(bindRestoreBackupStylePropertyMethod(methodName, clientDoc)); return code.toString(); }
public String getRestoreBackupStyleProperty( String elemVarName, String propName, ClientDocumentStfulDelegateWebImpl clientDoc) { StringBuilder code = new StringBuilder(); String methodName = getRestoreBackupPropertyMethodName(); if (!clientDoc.isClientMethodBounded(methodName)) code.append(bindRestoreBackupStylePropertyMethod(methodName, clientDoc)); code.append("itsNatDoc." + methodName + "(" + elemVarName + ",\"" + propName + "\");\n"); return code.toString(); }