com.github.TKnudsen.ComplexDataObject.data.interfaces.IKeyValueProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of complex-data-object Show documentation
Show all versions of complex-data-object Show documentation
A library that models real-world objects in Java, referred to as ComplexDataObjects. Other features: IO and preprocessing of ComplexDataObjects.
The newest version!
package com.github.TKnudsen.ComplexDataObject.data.interfaces;
import java.util.Map;
import java.util.Set;
/**
*
* Title: IKeyValueStore
*
*
*
* Description: interface for objects containing key-value pairs. Keys are
* referred to attributes to avoid confusion with other types of identifiers.
*
*
*
* Copyright: Copyright (c) 2015-2017
*
*
* @author Juergen Bernard
* @version 1.08
*/
public interface IKeyValueProvider extends IDObject {
public void add(String attribute, V value);
public V getAttribute(String attribute);
public Class> getType(String attribute);
public Set keySet();
public Map> getTypes();
public V removeAttribute(String attribute);
public int hashCode();
@Override
public boolean equals(Object obj);
}