Skip to content

Commit 883c17f

Browse files
committed
Fix JavaDocs for number of classes
1 parent 742d4ff commit 883c17f

24 files changed

Lines changed: 42 additions & 33 deletions

File tree

orienteer-camel/src/main/java/org/orienteer/camel/component/OrientDBEndpoint.java

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ public String getFetchPlan() {
222222
}
223223

224224
/**
225-
* Set fetch plan (wiew orientdb documentation, like http://orientdb.com/docs/2.0/orientdb.wiki/Fetching-Strategies.html)
225+
* Set fetch plan (view orientdb documentation, like http://orientdb.com/docs/2.0/orientdb.wiki/Fetching-Strategies.html)
226+
* @param fetchPlan fetch plan to be used
226227
*/
227228
public void setFetchPlan(String fetchPlan) {
228229
this.fetchPlan = fetchPlan;
@@ -234,6 +235,7 @@ public String getInputAsOClass() {
234235

235236
/**
236237
* Rewrite "@class" field in root document(s)
238+
* @param inputAsOClass value to be used for rewriting
237239
*/
238240
public void setInputAsOClass(String inputAsOClass) {
239241
this.inputAsOClass = inputAsOClass;
@@ -245,6 +247,7 @@ public boolean isPreload() {
245247

246248
/**
247249
* Save ODocument from input data BEFORE query
250+
* @param preload preloading flag
248251
*/
249252
public void setPreload(boolean preload) {
250253
this.preload = preload;
@@ -256,6 +259,7 @@ public boolean isMakeNew() {
256259

257260
/**
258261
* Clear ODocuments RID`s in PRELOAD phase BEFORE save
262+
* @param makeNew should document be created as new
259263
*/
260264
public void setMakeNew(boolean makeNew) {
261265
this.makeNew = makeNew;
@@ -268,7 +272,7 @@ public OrientDBCamelDataType getOutputType() {
268272
/**
269273
* Output data type of single row. Can be "map", "object", "list" or "json"
270274
* Default value - "map"
271-
*
275+
* @param outputType output type
272276
*/
273277
public void setOutputType(OrientDBCamelDataType outputType) {
274278
this.outputType = outputType;
@@ -279,7 +283,8 @@ public int getMaxDepth() {
279283
}
280284

281285
/**
282-
* Max fetch depth. Only for "map" type
286+
* Max fetch depth. Only for "map" type
287+
* @param maxDepth max depth to be loaded
283288
*/
284289
public void setMaxDepth(int maxDepth) {
285290
this.maxDepth = maxDepth;
@@ -290,7 +295,8 @@ public boolean isFetchAllEmbedded() {
290295
}
291296

292297
/**
293-
* Fetch all embedded(not linked) objects, ignore "maxDepth". Only for "map" type.
298+
* Fetch all embedded(not linked) objects, ignore "maxDepth". Only for "map" type.
299+
* @param fetchAllEmbedded should all embedded be fetched?
294300
*/
295301
public void setFetchAllEmbedded(boolean fetchAllEmbedded) {
296302
this.fetchAllEmbedded = fetchAllEmbedded;

orienteer-core/src/main/java/org/orienteer/core/component/IExportable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/**
66
* Interface to mark components which might be exportable within data-tables
7-
* @param <V>
7+
* @param <V> value type
88
*/
99
public interface IExportable<V> {
1010
public IModel<? extends V> getExportableDataModel();

orienteer-core/src/main/java/org/orienteer/core/component/command/ExportCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
/**
2020
* Command to export data into default format
21-
* @param <T>
21+
* @param <T> the type of an entity to which this command can be applied
2222
*/
2323
public class ExportCommand <T> extends Command<T> {
2424

orienteer-core/src/main/java/org/orienteer/core/component/command/SaveSchemaCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
/**
2323
* {@link Command} to save a schema specific entities: {@link OClass}, {@link OProperty}, {@link OIndex}
2424
*
25-
* @param <T>
25+
* @param <T> the type of an entity to which this command can be applied
2626
*/
2727
public class SaveSchemaCommand<T> extends SavePrototypeCommand<T> implements ISecuredComponent {
2828

orienteer-core/src/main/java/org/orienteer/core/component/command/ShowHideParentsCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ protected void onConfigure() {
3232
if(classModel!=null)
3333
{
3434
OClass oClass = classModel.getObject();
35-
setVisible(oClass!=null && oClass.getSuperClass()!=null);
35+
setVisible(oClass!=null && oClass.hasSuperClasses());
3636
}
3737
}
3838

orienteer-core/src/main/java/org/orienteer/core/component/property/AbstractLinkViewPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* {@link GenericPanel} for displaying of {@link Link}s
1010
*
11-
* @param <T>
11+
* @param <T> the type of the panel's model object
1212
*/
1313
public abstract class AbstractLinkViewPanel<T> extends GenericPanel<T> {
1414

orienteer-core/src/main/java/org/orienteer/core/component/property/BinaryViewPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
* {@link GenericPanel} to view binary parameters (download)
2222
*
23-
* @param <V>
23+
* @param <V> the type of the panel's model object
2424
*/
2525
public class BinaryViewPanel<V> extends GenericPanel<V> {
2626

orienteer-core/src/main/java/org/orienteer/core/component/property/ImageViewPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* {@link GenericPanel} to view binary images
1212
*
13-
* @param <V>
13+
* @param <V> the type of the panel's model object
1414
*/
1515
public class ImageViewPanel<V> extends GenericPanel<V> {
1616

orienteer-core/src/main/java/org/orienteer/core/component/structuretable/StructureTable.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import org.apache.wicket.ajax.AjaxRequestTarget;
88
import org.apache.wicket.event.Broadcast;
99
import org.apache.wicket.event.IEvent;
10+
import org.apache.wicket.extensions.markup.html.repeater.data.table.DataTable;
1011
import org.apache.wicket.markup.ComponentTag;
1112
import org.apache.wicket.markup.html.WebMarkupContainer;
1213
import org.apache.wicket.markup.html.basic.Label;
@@ -219,7 +220,7 @@ public void component(Component object, IVisit<Boolean> visit)
219220
}
220221

221222
/**
222-
* A caption for the table. It renders itself only if {@link DataTable#getCaptionModel()} has
223+
* A caption for the table. It renders itself only if {@link DataTable} caption has
223224
* non-empty value.
224225
*/
225226
private static class Caption extends Label

orienteer-core/src/main/java/org/orienteer/core/component/structuretable/StructureTableCommandsToolbar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* {@link AbstractStructureTableToolbar} to add {@link Command}s
1212
*
13-
* @param <P>
13+
* @param <P> the type of main object for a commands
1414
*/
1515
public class StructureTableCommandsToolbar<P> extends
1616
AbstractStructureTableToolbar<P> implements ICommandsSupportComponent<P>

0 commit comments

Comments
 (0)