Package co.nubetech.crux.model

Examples of co.nubetech.crux.model.ValueType


  @Test
  public void testGetRowFiltersSimple() throws CruxException {
    FilterType type = new FilterType(1, "Greater Than");

    ValueType valueType = new ValueType(1, null, "java.lang.Long",
        "java.lang.Long", "java.lang.Long", true);

    RowAlias alias = new RowAlias(1, null, valueType, 8, "alias");

    RowAliasFilter rowFilter = new RowAliasFilter(null, type, "123", alias);

    FilterType type1 = new FilterType(2, "Substring");

    ValueType valueType1 = new ValueType(2, null, "java.lang.String",
        "java.lang.String", false);

    RowAlias alias1 = new RowAlias(2, null, valueType1, 6, "alias1");

    RowAliasFilter rowFilter1 = new RowAliasFilter(null, type1, "Substr",
View Full Code Here


  @Test
  public void testGetComparatorLong() throws CruxException {
    FilterType type = new FilterType();

    ValueType valueType = new ValueType();
    valueType.setClassName("java.lang.Long");

    RowAlias alias = new RowAlias();
    alias.setAlias("alias");
    alias.setValueType(valueType);
    alias.setLength(-1);
View Full Code Here

  @Test
  public void testGetComparatorInteger() throws CruxException {
    FilterType type = new FilterType();

    ValueType valueType = new ValueType();
    valueType.setClassName("java.lang.Integer");

    RowAlias alias = new RowAlias();
    alias.setAlias("alias");
    alias.setValueType(valueType);
    alias.setLength(-1);
View Full Code Here

  @Test
  public void testGetComparatorShort() throws CruxException {
    FilterType type = new FilterType();

    ValueType valueType = new ValueType();
    valueType.setClassName("java.lang.Short");

    RowAlias alias = new RowAlias();
    alias.setAlias("alias");
    alias.setValueType(valueType);
    alias.setLength(-1);
View Full Code Here

  @Test
  public void testGetComparatorFloat() throws CruxException {
    FilterType type = new FilterType();

    ValueType valueType = new ValueType();
    valueType.setClassName("java.lang.Float");

    RowAlias alias = new RowAlias();
    alias.setAlias("alias");
    alias.setValueType(valueType);
    alias.setLength(-1);
View Full Code Here

  @Test
  public void testGetComparatorDouble() throws CruxException {
    FilterType type = new FilterType();

    ValueType valueType = new ValueType();
    valueType.setClassName("java.lang.Double");

    RowAlias alias = new RowAlias();
    alias.setAlias("alias");
    alias.setValueType(valueType);
    alias.setLength(-1);
View Full Code Here

  @Test
  public void testGetComparatorBoolean() throws CruxException {
    FilterType type = new FilterType();

    ValueType valueType = new ValueType();
    valueType.setClassName("java.lang.Boolean");

    RowAlias alias = new RowAlias();
    alias.setAlias("alias");
    alias.setValueType(valueType);
    alias.setLength(-1);
View Full Code Here

  @Test
  public void testGetComparatorStringEquals() throws CruxException {
    FilterType type = new FilterType();
    type.setType("Equals");

    ValueType valueType = new ValueType();
    valueType.setClassName("java.lang.String");

    RowAlias alias = new RowAlias();
    alias.setAlias("alias");
    alias.setValueType(valueType);
    alias.setLength(-1);
View Full Code Here

  @Test
  public void testGetComparatorStringNotEquals() throws CruxException {
    FilterType type = new FilterType();
    type.setType("Not Equals");

    ValueType valueType = new ValueType();
    valueType.setClassName("java.lang.String");

    RowAlias alias = new RowAlias();
    alias.setAlias("alias");
    alias.setValueType(valueType);
    alias.setLength(-1);
View Full Code Here

  @Test
  public void testGetComparatorStringGreaterThan() throws CruxException {
    FilterType type = new FilterType();
    type.setType("Greater Than");

    ValueType valueType = new ValueType();
    valueType.setClassName("java.lang.String");

    RowAlias alias = new RowAlias();
    alias.setAlias("alias");
    alias.setValueType(valueType);
    alias.setLength(-1);
View Full Code Here

TOP

Related Classes of co.nubetech.crux.model.ValueType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.