Package fr.soleil.data.service

Examples of fr.soleil.data.service.GenericDescriptor


        // nothing to do
    }

    @Override
    public GenericDescriptor getSourceType() {
        return new GenericDescriptor(String.class);
    }
View Full Code Here


        if (key != null && key instanceof SimulatedKey) {
            result = new SimulatedKey();
            SimulatedKey.registerColoration(result, ColorationLevel.ATTRIBUTE_QUALITY,
                    ((SimulatedKey) key)
                    .getExpectedSourceType());
            result.setExpectedSourceType(new GenericDescriptor(String.class));
        }

        return result;
    }
View Full Code Here

        return IDataArrayTarget.class;
    }

    @Override
    protected GenericDescriptor getTargetType() {
        GenericDescriptor[] desc = new GenericDescriptor[] { new GenericDescriptor(String.class),
                new GenericDescriptor(Object.class) };
        return new GenericDescriptor(String.class, desc);
    }
View Full Code Here

        return "%d";
    }

    @Override
    public GenericDescriptor getSourceType() {
        GenericDescriptor numberDesc = new GenericDescriptor(AbstractNumberMatrix.class,
                new GenericDescriptor[] { new GenericDescriptor(Number.class) });

        return new GenericDescriptor(List.class, new GenericDescriptor[] { numberDesc });
    }
View Full Code Here

        SimulatedKey result = null;

        if (key != null && key instanceof SimulatedKey) {
            result = new SimulatedKey();
            SimulatedKey.registerFormat(result, ((SimulatedKey) key).getExpectedSourceType());
            result.setExpectedSourceType(new GenericDescriptor(String.class));
        }

        return result;
    }
View Full Code Here

    notifyMediators();
  }

  @Override
    public GenericDescriptor getSourceType() {
        return new GenericDescriptor(AbstractMatrix.class,
                new GenericDescriptor[] { new GenericDescriptor(String.class) });
    }
View Full Code Here

        return "4.2f";
    }

    @Override
    public GenericDescriptor getSourceType() {
        return new GenericDescriptor(Map.class, new GenericDescriptor[] {
                new GenericDescriptor(String.class), new GenericDescriptor(Object.class) });
    }
View Full Code Here

        }
  }

  @Override
    public GenericDescriptor getSourceType() {
        return new GenericDescriptor(AbstractMatrix.class,
                new GenericDescriptor[] { new GenericDescriptor(Boolean.class) });
    }
View Full Code Here

        return "%5.3f";
    }

    @Override
    public GenericDescriptor getSourceType() {
        GenericDescriptor mapDesc = new GenericDescriptor(Map.class, new GenericDescriptor[] {
                new GenericDescriptor(String.class), new GenericDescriptor(Object.class) });

        return new GenericDescriptor(List.class, new GenericDescriptor[] { mapDesc });
    }
View Full Code Here

    return "%4.2f";
  }

  @Override
    public GenericDescriptor getSourceType() {
        return new GenericDescriptor(AbstractNumberMatrix.class,
                new GenericDescriptor[] { new GenericDescriptor(Double.class) });
    }
View Full Code Here

TOP

Related Classes of fr.soleil.data.service.GenericDescriptor

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.