
com.aggrepoint.utils.linkedtable.PropObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aputils Show documentation
Show all versions of aputils Show documentation
Common utilities used by both Dao and Winlet project
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