/*
 * Copyright 2018, TeamDev. All rights reserved.
 *
 * Redistribution and use in source and/or binary forms, with or without
 * modification, must retain the above copyright notice and the following
 * disclaimer.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
package io.spine.tools.compiler.field.type;

import com.squareup.javapoet.TypeName;

/**
 * Interface for obtaining type specific information.
 *
 * @author Dmytro Grankin
 */
public interface FieldType {

    /**
     * Returns the {@link TypeName} for specific {@link FieldType}.
     *
     * @return the type name
     */
    TypeName getTypeName();

    /**
     * Returns the setter prefix for specific {@link FieldType}.
     *
     * @return the setter prefix
     */
    String getSetterPrefix();
}

@@ -1101,87 +1101,62 @@
 %0A * 
-Interface for obtaining type specific information.%0A *%0A * @author Dmytro Grankin
+The type information of a field for a code-generation.
 %0A */
@@ -1197,29 +1197,29 @@
  /**%0A     * 
-Retur
+Obtai
 ns the %7B@lin
@@ -1238,34 +1238,17 @@
 for 
-specific %7B@link FieldType%7D
+the field
 .%0A  
@@ -1337,13 +1337,13 @@
   * 
-Retur
+Obtai
 ns t
@@ -1367,34 +1367,17 @@
 for 
-specific %7B@link FieldType%7D
+the field
 .%0A  

Update `FieldType` Javadocs