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

net.hycube.environment.NodeProperties Maven / Gradle / Ivy

Go to download

HyCube is a distributed hash table based on a hierarchical hypercube geometry, employing a novel variable metric adopting the Steinhaus transform.

There is a newer version: 1.0.5
Show newest version
package net.hycube.environment;

import java.io.Serializable;
import java.util.List;

import net.hycube.utils.ObjectToStringConverter.MappedType;

public interface NodeProperties extends Serializable {

	public boolean containsKey(String key);

	public boolean containsKey(String key, String elem);

	public String getProperty(String key);

	public String getProperty(String key, String elem);

	public Object getProperty(String key, MappedType type)
			throws NodePropertiesConversionException;

	public Object getProperty(String key, String elem, MappedType type)
			throws NodePropertiesConversionException;

	public Object getEnumProperty(String key,
			Class> enumClass)
			throws NodePropertiesConversionException;

	public Object getEnumProperty(String key, String elem,
			Class> enumClass)
			throws NodePropertiesConversionException;

	public List getStringListProperty(String key)
			throws NodePropertiesConversionException;

	public List getListProperty(String key, MappedType type)
			throws NodePropertiesConversionException;

	public List getStringListProperty(String key, String elem)
			throws NodePropertiesConversionException;

	public List getListProperty(String key, String elem,
			MappedType type) throws NodePropertiesConversionException;

	public List getStringListPropertyDel(String key,
			String delimiter) throws NodePropertiesConversionException;

	public List getListProperty(String key, MappedType type,
			String delimiter) throws NodePropertiesConversionException;

	public List getStringListProperty(String key, String elem,
			String delimiter) throws NodePropertiesConversionException;

	public List getListProperty(String key, String elem,
			MappedType type, String delimiter)
			throws NodePropertiesConversionException;

	public List> getEnumListProperty(String key,
			Class> enumClass)
			throws NodePropertiesConversionException;

	public List> getEnumListProperty(String key, String elem,
			Class> enumClass)
			throws NodePropertiesConversionException;

	public List> getEnumListProperty(String key,
			Class> enumClass, String delimiter)
			throws NodePropertiesConversionException;

	public List> getEnumListProperty(String key, String elem,
			Class> enumClass, String delimiter)
			throws NodePropertiesConversionException;

	public NodeProperties getNestedProperty(String key);

	public NodeProperties getNestedProperty(String key, String elem);

	public String getAbsoluteKey();

	public String getAbsoluteKey(String key);

	public String getAbsoluteKey(String key, String elem);

}