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

org.ssssssss.magicapi.model.Attributes Maven / Gradle / Ivy

package org.ssssssss.magicapi.model;

import java.util.HashMap;
import java.util.Map;

public class Attributes  {

	protected Map properties = new HashMap<>();

	public void setAttribute(String key, T value) {
		properties.put(key, value);
	}

	public Object getAttribute(String key) {
		return properties.get(key);
	}

	public Map getProperties() {
		return properties;
	}

	public void setProperties(Map properties) {
		this.properties = properties;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy