You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2008/11/01 05:06:24 UTC
svn commit: r709642 - in /ofbiz/trunk/framework/widget/src/org/ofbiz/widget:
form/ModelForm.java form/ModelFormField.java html/HtmlMenuRenderer.java
menu/ModelMenu.java menu/ModelMenuItem.java
Author: doogie
Date: Fri Oct 31 21:06:23 2008
New Revision: 709642
URL: http://svn.apache.org/viewvc?rev=709642&view=rev
Log:
Remove all empty javadocs, that only contain an empty @return.
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuRenderer.java
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/ModelMenu.java
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java?rev=709642&r1=709641&r2=709642&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java Fri Oct 31 21:06:23 2008
@@ -1779,16 +1779,10 @@
return this.parentFormLocation;
}
- /**
- * @return
- */
public String getDefaultEntityName() {
return this.defaultEntityName;
}
- /**
- * @return
- */
public String getDefaultMapName() {
return this.defaultMapName.getOriginalName();
}
@@ -1797,9 +1791,6 @@
return this.defaultMapName.get(context);
}
- /**
- * @return
- */
public String getDefaultRequiredFieldStyle() {
return this.defaultRequiredFieldStyle;
}
@@ -1817,93 +1808,54 @@
}
- /**
- * @return
- */
public String getDefaultServiceName() {
return this.defaultServiceName;
}
- /**
- * @return
- */
public String getFormTitleAreaStyle() {
return this.formTitleAreaStyle;
}
- /**
- * @return
- */
public String getFormWidgetAreaStyle() {
return this.formWidgetAreaStyle;
}
- /**
- * @return
- */
public String getDefaultTitleAreaStyle() {
return this.defaultTitleAreaStyle;
}
- /**
- * @return
- */
public String getDefaultWidgetAreaStyle() {
return this.defaultWidgetAreaStyle;
}
- /**
- * @return
- */
public String getOddRowStyle() {
return this.oddRowStyle;
}
- /**
- * @return
- */
public String getEvenRowStyle() {
return this.evenRowStyle;
}
- /**
- * @return
- */
public String getDefaultTableStyle() {
return this.defaultTableStyle;
}
- /**
- * @return
- */
public String getHeaderRowStyle() {
return this.headerRowStyle;
}
- /**
- * @return
- */
public String getDefaultTitleStyle() {
return this.defaultTitleStyle;
}
- /**
- * @return
- */
public String getDefaultWidgetStyle() {
return this.defaultWidgetStyle;
}
- /**
- * @return
- */
public String getDefaultTooltipStyle() {
return this.defaultTooltipStyle;
}
- /**
- * @return
- */
public String getItemIndexSeparator() {
if (UtilValidate.isNotEmpty(this.itemIndexSeparator)) {
return this.itemIndexSeparator;
@@ -1912,16 +1864,10 @@
}
}
- /**
- * @return
- */
public String getListEntryName() {
return this.listEntryName;
}
- /**
- * @return
- */
public String getListName() {
String lstNm = this.listName;
if (UtilValidate.isEmpty(lstNm)) {
@@ -1930,9 +1876,6 @@
return lstNm;
}
- /**
- * @return
- */
public String getName() {
return this.name;
}
@@ -1985,9 +1928,6 @@
return target.expandString(context);
}
- /**
- * @return
- */
public String getContainerId() {
// use the name if there is no id
if (UtilValidate.isNotEmpty(this.containerId)) {
@@ -1997,37 +1937,22 @@
}
}
- /**
- * @return
- */
public String getContainerStyle() {
return this.containerStyle;
}
- /**
- * @return
- */
public String getfocusFieldName() {
return this.focusFieldName;
}
- /**
- * @return
- */
public String getTitle() {
return this.title;
}
- /**
- * @return
- */
public String getTooltip() {
return this.tooltip;
}
- /**
- * @return
- */
public String getType() {
return this.type;
}
@@ -2389,9 +2314,6 @@
this.targetWindowExdr = FlexibleStringExpander.getInstance(val);
}
- /**
- * @return
- */
public boolean getSeparateColumns() {
return this.separateColumns;
}
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java?rev=709642&r1=709641&r2=709642&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java Fri Oct 31 21:06:23 2008
@@ -598,16 +598,10 @@
return onClickUpdateAreas;
}
- /**
- * @return
- */
public FieldInfo getFieldInfo() {
return fieldInfo;
}
- /**
- * @return
- */
public ModelForm getModelForm() {
return modelForm;
}
@@ -641,9 +635,6 @@
}
}
- /**
- * @return
- */
public String getEntityName() {
if (UtilValidate.isNotEmpty(this.entityName)) {
return this.entityName;
@@ -652,9 +643,6 @@
}
}
- /**
- * @return
- */
public String getEntryName() {
if (this.entryAcsr != null && !this.entryAcsr.isEmpty()) {
return this.entryAcsr.getOriginalName();
@@ -811,9 +799,6 @@
}
}
- /**
- * @return
- */
public String getName() {
return name;
}
@@ -840,9 +825,6 @@
}
}
- /**
- * @return
- */
public int getPosition() {
if (this.position == null) {
return 1;
@@ -851,24 +833,15 @@
}
}
- /**
- * @return
- */
public String getRedWhen() {
return redWhen;
}
- /**
- * @return
- */
public String getEvent() {
return event;
}
- /**
- * @return
- */
public String getAction(Map<String, Object> context) {
if (this.action != null && this.action.getOriginal() != null) {
return action.expandString(context);
@@ -992,9 +965,6 @@
return false;
}
- /**
- * @return
- */
public String getServiceName() {
if (UtilValidate.isNotEmpty(this.serviceName)) {
return this.serviceName;
@@ -1003,9 +973,6 @@
}
}
- /**
- * @return
- */
public String getTitle(Map<String, Object> context) {
if (this.title != null && this.title.getOriginal() != null) {
return title.expandString(context);
@@ -1047,9 +1014,6 @@
}
}
- /**
- * @return
- */
public String getTitleAreaStyle() {
if (UtilValidate.isNotEmpty(this.titleAreaStyle)) {
return this.titleAreaStyle;
@@ -1058,9 +1022,6 @@
}
}
- /**
- * @return
- */
public String getTitleStyle() {
if (UtilValidate.isNotEmpty(this.titleStyle)) {
return this.titleStyle;
@@ -1069,9 +1030,6 @@
}
}
- /**
- * @return
- */
public String getRequiredFieldStyle() {
if (UtilValidate.isNotEmpty(this.requiredFieldStyle)) {
return this.requiredFieldStyle;
@@ -1101,9 +1059,6 @@
return this.modelForm.getDefaultSortFieldDescStyle();
}
- /**
- * @return
- */
public String getTooltip(Map<String, Object> context) {
if (tooltip != null && !tooltip.isEmpty()) {
return tooltip.expandString(context);
@@ -1112,9 +1067,6 @@
}
}
- /**
- * @return
- */
public String getUseWhen(Map<String, Object> context) {
if (useWhen != null && !useWhen.isEmpty()) {
return useWhen.expandString(context);
@@ -1123,16 +1075,10 @@
}
}
- /**
- * @return
- */
public String getIdName() {
return idName;
}
- /**
- * @return
- */
public String getHeaderLink() {
return headerLink;
}
@@ -1197,9 +1143,6 @@
return true;
}
- /**
- * @return
- */
public String getWidgetAreaStyle() {
if (UtilValidate.isNotEmpty(this.widgetAreaStyle)) {
return this.widgetAreaStyle;
@@ -1208,9 +1151,6 @@
}
}
- /**
- * @return
- */
public String getWidgetStyle() {
if (UtilValidate.isNotEmpty(this.widgetStyle)) {
return this.widgetStyle;
@@ -1219,9 +1159,6 @@
}
}
- /**
- * @return
- */
public String getTooltipStyle() {
if (UtilValidate.isNotEmpty(this.tooltipStyle)) {
return this.tooltipStyle;
@@ -1371,9 +1308,6 @@
this.tooltipStyle = string;
}
- /**
- * @return
- */
public boolean getSeparateColumn() {
return this.separateColumn;
}
@@ -1393,9 +1327,6 @@
}
- /**
- * @return
- */
public boolean getRequiredField() {
return this.requiredField != null ? this.requiredField : false;
}
@@ -1407,9 +1338,6 @@
this.requiredField = required;
}
- /**
- * @return
- */
public boolean isSortField() {
return this.sortField != null ? this.sortField.booleanValue() : false;
}
@@ -1506,23 +1434,14 @@
this.modelFormField = modelFormField;
}
- /**
- * @return
- */
public ModelFormField getModelFormField() {
return modelFormField;
}
- /**
- * @return
- */
public int getFieldType() {
return fieldType;
}
- /**
- * @return
- */
public int getFieldSource() {
return this.fieldSource;
}
@@ -2118,16 +2037,10 @@
formStringRenderer.renderDisplayField(writer, context, this);
}
- /**
- * @return
- */
public boolean getAlsoHidden() {
return alsoHidden;
}
- /**
- * @return
- */
public String getDescription(Map<String, Object> context) {
String retVal = null;
if (this.description != null && !this.description.isEmpty()) {
@@ -2231,9 +2144,6 @@
}
}
- /**
- * @return
- */
public String getDescription(Map<String, Object> context) {
Locale locale = UtilMisc.ensureLocale(context.get("locale"));
@@ -2315,16 +2225,10 @@
formStringRenderer.renderHyperlinkField(writer, context, this);
}
- /**
- * @return
- */
public boolean getAlsoHidden() {
return this.alsoHidden;
}
- /**
- * @return
- */
public String getTargetType() {
if (UtilValidate.isNotEmpty(this.targetType)) {
return this.targetType;
@@ -2338,16 +2242,10 @@
return targetWindow;
}
- /**
- * @return
- */
public String getDescription(Map<String, Object> context) {
return this.description.expandString(context);
}
- /**
- * @return
- */
public String getTarget(Map<String, Object> context) {
return this.target.expandString(context);
}
@@ -2398,16 +2296,10 @@
this.targetWindowExdr = FlexibleStringExpander.getInstance(element.getAttribute("target-window"));
}
- /**
- * @return
- */
public String getLinkStyle() {
return this.linkStyle;
}
- /**
- * @return
- */
public String getTargetType() {
if (UtilValidate.isNotEmpty(this.targetType)) {
return this.targetType;
@@ -2416,9 +2308,6 @@
}
}
- /**
- * @return
- */
public String getDescription(Map<String, Object> context) {
if (this.description != null) {
return this.description.expandString(context);
@@ -2432,9 +2321,6 @@
return targetWindow;
}
- /**
- * @return
- */
public String getTarget(Map<String, Object> context) {
if (this.target != null) {
return this.target.expandString(context);
@@ -2443,9 +2329,6 @@
}
}
- /**
- * @return
- */
public String getUseWhen(Map<String, Object> context) {
if (this.useWhen != null) {
return this.useWhen.expandString(context);
@@ -2663,23 +2546,14 @@
formStringRenderer.renderTextField(writer, context, this);
}
- /**
- * @return
- */
public Integer getMaxlength() {
return maxlength;
}
- /**
- * @return
- */
public int getSize() {
return size;
}
- /**
- * @return
- */
public boolean getDisabled() {
return this.disabled;
}
@@ -2696,9 +2570,6 @@
this.clientAutocompleteField = b;
}
- /**
- * @return
- */
public String getDefaultValue(Map<String, Object> context) {
if (this.defaultValue != null) {
return this.defaultValue.expandString(context);
@@ -2787,23 +2658,14 @@
formStringRenderer.renderTextareaField(writer, context, this);
}
- /**
- * @return
- */
public int getCols() {
return cols;
}
- /**
- * @return
- */
public int getRows() {
return rows;
}
- /**
- * @return
- */
public String getDefaultValue(Map<String, Object> context) {
if (this.defaultValue != null) {
return this.defaultValue.expandString(context);
@@ -2812,23 +2674,14 @@
}
}
- /**
- * @return
- */
public boolean getVisualEditorEnable() {
return this.visualEditorEnable;
}
- /**
- * @return
- */
public String getVisualEditorButtons(Map<String, Object> context) {
return this.visualEditorButtons.expandString(context);
}
- /**
- * @return
- */
public boolean isReadOnly() {
return readOnly;
}
@@ -2906,16 +2759,10 @@
formStringRenderer.renderDateTimeField(writer, context, this);
}
- /**
- * @return
- */
public String getType() {
return type;
}
- /**
- * @return
- */
public String getDefaultValue(Map<String, Object> context) {
if (this.defaultValue != null) {
return this.defaultValue.expandString(context);
@@ -3203,16 +3050,10 @@
formStringRenderer.renderSubmitField(writer, context, this);
}
- /**
- * @return
- */
public String getButtonType() {
return buttonType;
}
- /**
- * @return
- */
public String getImageLocation() {
return imageLocation;
}
@@ -3571,29 +3412,17 @@
public void setSubHyperlink(SubHyperlink newSubHyperlink) {
this.subHyperlink = newSubHyperlink;
}
- /**
- * @return
- */
public Integer getWidth() {
return width;
}
- /**
- * @return
- */
public Integer getHeight() {
return height;
}
- /**
- * @return
- */
public int getBorder() {
return border;
}
- /**
- * @return
- */
public String getDefaultValue(Map<String, Object> context) {
if (this.defaultValue != null) {
return this.defaultValue.expandString(context);
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuRenderer.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuRenderer.java?rev=709642&r1=709641&r2=709642&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/html/HtmlMenuRenderer.java Fri Oct 31 21:06:23 2008
@@ -308,9 +308,6 @@
this.userLoginIdAtPermGrant = string;
}
- /**
- * @return
- */
public String getUserLoginIdAtPermGrant() {
return this.userLoginIdAtPermGrant;
}
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/ModelMenu.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/ModelMenu.java?rev=709642&r1=709641&r2=709642&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/ModelMenu.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/ModelMenu.java Fri Oct 31 21:06:23 2008
@@ -357,80 +357,47 @@
return this.delegator;
}
- /**
- * @return
- */
public String getDefaultEntityName() {
return this.defaultEntityName;
}
- /**
- * @return
- */
public String getDefaultAlign() {
return this.defaultAlign;
}
- /**
- * @return
- */
public String getDefaultAlignStyle() {
return this.defaultAlignStyle;
}
- /**
- * @return
- */
public String getDefaultTitleStyle() {
return this.defaultTitleStyle;
}
- /**
- * @return
- */
public String getDefaultDisabledTitleStyle() {
return this.defaultDisabledTitleStyle;
}
- /**
- * @return
- */
public String getDefaultSelectedStyle() {
return this.defaultSelectedStyle;
}
- /**
- * @return
- */
public String getDefaultWidgetStyle() {
return this.defaultWidgetStyle;
}
- /**
- * @return
- */
public String getDefaultTooltipStyle() {
return this.defaultTooltipStyle;
}
- /**
- * @return
- */
public String getDefaultMenuItemName() {
return this.defaultMenuItemName;
}
- /**
- * @return
- */
public String getFillStyle() {
return this.fillStyle;
}
- /**
- * @return
- */
public String getSelectedMenuItemContextFieldName(Map<String, Object> context) {
String menuItemName = this.selectedMenuItemContextFieldName.get(context);
if (UtilValidate.isEmpty(menuItemName)) {
@@ -443,30 +410,18 @@
return this.name;
}
- /**
- * @return
- */
public String getId() {
return this.id;
}
- /**
- * @return
- */
public String getTitle(Map<String, Object> context) {
return title.expandString(context);
}
- /**
- * @return
- */
public String getTooltip() {
return this.tooltip;
}
- /**
- * @return
- */
public String getType() {
return this.type;
}
@@ -590,15 +545,9 @@
this.menuContainerStyleExdr = FlexibleStringExpander.getInstance(string);
}
- /**
- * @return
- */
public String getDefaultAssociatedContentId(Map<String, Object> context) {
return defaultAssociatedContentId.expandString(context);
}
- /**
- * @return
- */
public String getMenuContainerStyle(Map<String, Object> context) {
return menuContainerStyleExdr.expandString(context);
}
@@ -610,9 +559,6 @@
this.defaultPermissionOperation = string;
}
- /**
- * @return
- */
public String getDefaultPermissionStatusId() {
return this.defaultPermissionStatusId;
}
@@ -631,9 +577,6 @@
this.defaultPrivilegeEnumId = string;
}
- /**
- * @return
- */
public String getDefaultPrivilegeEnumId() {
return this.defaultPrivilegeEnumId;
}
@@ -645,9 +588,6 @@
this.orientation = string;
}
- /**
- * @return
- */
public String getOrientation() {
return this.orientation;
}
@@ -659,9 +599,6 @@
this.menuWidth = string;
}
- /**
- * @return
- */
public String getMenuWidth() {
return this.menuWidth;
}
@@ -673,16 +610,10 @@
this.defaultCellWidth = string;
}
- /**
- * @return
- */
public String getDefaultCellWidth() {
return this.defaultCellWidth;
}
- /**
- * @return
- */
public String getDefaultPermissionOperation() {
return this.defaultPermissionOperation;
}
@@ -694,9 +625,6 @@
this.defaultPermissionEntityAction = string;
}
- /**
- * @return
- */
public String getDefaultPermissionEntityAction() {
return this.defaultPermissionEntityAction;
}
@@ -708,9 +636,6 @@
this.defaultHideIfSelected = val;
}
- /**
- * @return
- */
public Boolean getDefaultHideIfSelected() {
return this.defaultHideIfSelected;
}
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java?rev=709642&r1=709641&r2=709642&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/menu/ModelMenuItem.java Fri Oct 31 21:06:23 2008
@@ -261,17 +261,11 @@
}
- /**
- * @return
- */
public ModelMenu getModelMenu() {
return modelMenu;
}
- /**
- * @return
- */
public String getEntityName() {
if (UtilValidate.isNotEmpty(this.entityName)) {
return this.entityName;
@@ -282,9 +276,6 @@
}
}
- /**
- * @return
- */
public String getAlign() {
if (UtilValidate.isNotEmpty(this.align)) {
return this.align;
@@ -296,16 +287,10 @@
}
- /**
- * @return
- */
public String getName() {
return name;
}
- /**
- * @return
- */
public int getPosition() {
if (this.position == null) {
return 1;
@@ -314,16 +299,10 @@
}
}
- /**
- * @return
- */
public String getTitle(Map<String, Object> context) {
return title.expandString(context);
}
- /**
- * @return
- */
public String getTitleStyle() {
if (UtilValidate.isNotEmpty(this.titleStyle)) {
return this.titleStyle;
@@ -334,9 +313,6 @@
}
}
- /**
- * @return
- */
public String getDisabledTitleStyle() {
if (UtilValidate.isNotEmpty(this.disabledTitleStyle)) {
return this.disabledTitleStyle;
@@ -351,9 +327,6 @@
this.disabledTitleStyle = style;
}
- /**
- * @return
- */
public String getSelectedStyle() {
if (UtilValidate.isNotEmpty(this.selectedStyle)) {
return this.selectedStyle;
@@ -364,9 +337,6 @@
}
}
- /**
- * @return
- */
public String getTooltip(Map<String, Object> context) {
if (tooltip != null && !tooltip.isEmpty()) {
return tooltip.expandString(context);
@@ -376,9 +346,6 @@
}
- /**
- * @return
- */
public String getWidgetStyle() {
if (UtilValidate.isNotEmpty(this.widgetStyle)) {
return this.widgetStyle;
@@ -389,9 +356,6 @@
}
}
- /**
- * @return
- */
public String getAlignStyle() {
if (UtilValidate.isNotEmpty(this.alignStyle)) {
return this.alignStyle;
@@ -402,9 +366,6 @@
}
}
- /**
- * @return
- */
public String getTooltipStyle() {
if (UtilValidate.isNotEmpty(this.tooltipStyle)) {
return this.tooltipStyle;
@@ -481,9 +442,6 @@
this.associatedContentId = FlexibleStringExpander.getInstance(string);
}
- /**
- * @return
- */
public String getAssociatedContentId(Map<String, Object> context) {
String retStr = null;
if (this.associatedContentId != null) {
@@ -503,9 +461,6 @@
this.cellWidth = string;
}
- /**
- * @return
- */
public String getCellWidth() {
if (UtilValidate.isNotEmpty(this.cellWidth )) {
return this.cellWidth ;
@@ -521,9 +476,6 @@
this.hideIfSelected = val;
}
- /**
- * @return
- */
public Boolean getHideIfSelected() {
if (hideIfSelected != null) {
return this.hideIfSelected;
@@ -532,9 +484,6 @@
}
}
- /**
- * @return
- */
public String getDisableIfEmpty() {
return this.disableIfEmpty;
}
@@ -546,9 +495,6 @@
this.hasPermission = val;
}
- /**
- * @return
- */
public Boolean getHasPermission() {
return this.hasPermission;
}