information-system-model-do.../src/main/java/org/gcube/informationsystem/utils/documentation/model/relations/IsRelatedToDocumentationGen...

25 lines
644 B
Java

package org.gcube.informationsystem.utils.documentation.model.relations;
import org.gcube.informationsystem.base.reference.AccessType;
import org.gcube.informationsystem.types.reference.Type;
import org.gcube.informationsystem.utils.documentation.rst.table.Table;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class IsRelatedToDocumentationGenerator extends RelationDocumentationGenerator {
public IsRelatedToDocumentationGenerator(Type type) {
super(type, AccessType.IS_RELATED_TO);
}
@Override
protected Table getTable() {
Table table = new Table();
table.appendRow(getPropertyFieldsHeadingRow());
return table;
}
}