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

com.aggrepoint.utils.linkedtable.PropObject Maven / Gradle / Ivy

The newest version!
package com.aggrepoint.utils.linkedtable;

import java.util.Hashtable;

public class PropObject {
	Hashtable m_htProps;

	public void setProp(String name, Object value) {
		if (m_htProps == null)
			m_htProps = new Hashtable();
		if (value == null)
			m_htProps.remove(name);
		else
			m_htProps.put(name, value);
	}

	public Object getProp(String name) {
		if (m_htProps == null)
			return null;
		return m_htProps.get(name);
	}

	public void clearProp() {
		m_htProps = null;
	}

	public Hashtable getProps() {
		return m_htProps;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy