Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2011-2012 Barchart, Inc. <http://www.barchart.com/> All rights reserved. Licensed under the OSI BSD License. http://www.opensource.org/licenses/bsd-license.php
  
  package com.barchart.feed.ddf.historical.enums;
  
 import  com.barchart.feed.base.enums.DictEnum;
 import  com.barchart.feed.base.enums.EnumCodeString;
 import  com.barchart.feed.base.enums.ParaEnumBase;
 import  com.barchart.util.common.anno.NotMutable;
 
 // TODO: Auto-generated Javadoc
The Class DDF_QueryType.

Parameters:
<V> the value type
 
 @NotMutable
 public class DDF_QueryType<V extends DDF_Entryextends
 		ParaEnumBase<V, DDF_QueryType<V>> implements EnumCodeString {

default.
 
 	public static final DDF_QueryType<DDF_EntryTickTICKS = NEW(
 			"queryticks.ashx""ticks");
 
 	public static final DDF_QueryType<DDF_EntryTickFormTTICKS_FORM_T = NEW(
 			"queryticks.ashx""ticks_form_t");

The Constant MINUTES.
 
 	public static final DDF_QueryType<DDF_EntryBarMinMINUTES = NEW(
 			"queryminutes.ashx""mins");

The Constant MINUTES_NEARBY.
 
 	public static final DDF_QueryType<DDF_EntryBarMinNearbyMINUTES_NEARBY = NEW(
 			"queryminutes.ashx""mins_nearby");

The Constant MINUTES_FORM_T.
 
 	public static final DDF_QueryType<DDF_EntryBarMinFormTMINUTES_FORM_T = NEW(
 			"queryformtminutes.ashx""mins_form_t");

The Constant END_OF_DAY.
 
 	public static final DDF_QueryType<DDF_EntryBarEodEND_OF_DAY = NEW(
 			"queryeod.ashx""end_of_day");
 
 	//
 
The Constant TICKS_TREND.
 
 	public static final DDF_QueryType<DDF_EntryTrendTICKS_TREND = NEW(
 			"queryticks.ashx""ticks");

The Constant MINUTES_TREND.
 
 	public static final DDF_QueryType<DDF_EntryTrendMINUTES_TREND = NEW(
 			"queryminutes.ashx""mins");

The Constant END_OF_DAY_TREND.
 
 	public static final DDF_QueryType<DDF_EntryTrendEND_OF_DAY_TREND = NEW(
 			"queryeod.ashx""end_of_day");
 
 	// ##################################
 
 	private static final DDF_QueryType<?>[] ENUM_VALUES_FUTURE = //
Values future.

Returns:
the dD f_ query type[]
 
 	public final static DDF_QueryType<?>[] valuesFuture() {
 	}
 
 	private static final DDF_QueryType<?>[] ENUM_VALUES_NON_FUTURE = //
Values non future.

Returns:
the dD f_ query type[]
 
 	public final static DDF_QueryType<?>[] valuesNonFuture() {
 	}
 
 	//
 
From code.

Parameters:
code the code
Returns:
the dD f_ query type
	public static final DDF_QueryType<?> fromCode(final String code) {
		for (final DDF_QueryType<?> known : values()) {
			if (known.code.equalsIgnoreCase(code)) {
				return known;
			}
		}
		return ;
	}

Size.

Returns:
the int
	public static final int size() {
		return 0;
	}

Values.

Returns:
the dD f_ query type[]
	public static final DDF_QueryType<?>[] values() {
		return DictEnum.valuesForType(DDF_QueryType.class);
	}
	// ##################################
ddf quuery lookup page url.
	public final String queryPage;

The code.
	public final String code;

ddf query type xml encoding.

Returns:
the string
	public final String code() {
		return ;
	}
	private DDF_QueryType() {
		this. = null;
		this. = null;
	}
	private DDF_QueryType(final String queryPagefinal String code) {
		super(""null);
		this. = queryPage;
		this. = code;
	}
	private static <X extends DDF_EntryDDF_QueryType<X> NEW(
			final String queryPagefinal String code) {
		return new DDF_QueryType<X>(queryPagecode);
	}
New to GrepCode? Check out our FAQ X