All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bell.mf.repository.ParameterName Maven / Gradle / Ivy

There is a newer version: 1.6.3.RELEASE
Show newest version
package com.bell.mf.repository;

import java.util.ArrayList;
import java.util.List;

/**
 * 支持的参数名
 * @author bell.zhouxiaobing
 * @since 1.2
 */
public enum ParameterName {
	DEVICE_ID("deviceId"), MESSAGE_FRAME("messageFrame"), MESSAGE("message"), SYS_DATE("sysDate");
	String name;
	private ParameterName(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}
	public static List getAllName() {
		List result = new ArrayList();
		ParameterName[] values = ParameterName.values();
		for (int i = 0; i < values.length; i++) {
			result.add(values[i].getName());
		}
		return result;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy