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

devutility.internal.ldap.LdapEntry Maven / Gradle / Ivy

There is a newer version: 1.3.8.1
Show newest version
package devutility.internal.ldap;

import java.util.HashMap;
import java.util.List;

/**
 * 
 * LdapEntry
 * 
 * @author: Aldwin Su
 * @version: 2019-04-19 15:31:02
 */
public class LdapEntry extends HashMap> {
	private static final long serialVersionUID = 1150936436248723995L;

	private String name;

	public LdapEntry() {

	}

	public LdapEntry(String name) {
		this.setName(name);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@SuppressWarnings("unchecked")
	public  T getValue(String key) {
		Object value = this.get(key);

		if (value == null) {
			return null;
		}

		return (T) value;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy