FreeTextSearch.java

package com.tradecloud.dto.freetext;
import com.tradecloud.domain.dto.base.SearchBase;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * 
 */
@Component
@Scope("view")
public class FreeTextSearch extends SearchBase {

    private String text;

    public void setText(String text) {
        this.text = text;
    }

    public String getText() {
        return text;
    }

    @Override
    public String getTableName() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}