public class LDAPMultiValueEntryAttribute extends LDAPEntryAttribute
Constructor and Description |
---|
LDAPMultiValueEntryAttribute() |
LDAPMultiValueEntryAttribute(String name) |
LDAPMultiValueEntryAttribute(String name,
Collection<Object> values) |
LDAPMultiValueEntryAttribute(String name,
Object[] values) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(Object value) |
void |
addValues(Object[] values) |
Object |
getValue() |
List<Object> |
getValues() |
boolean |
isMultiValued() |
getName, getTypeDefinition, setName, setTypeDefinition, toLDIFString
public LDAPMultiValueEntryAttribute()
public LDAPMultiValueEntryAttribute(String name, Object[] values)
name
- values
- public LDAPMultiValueEntryAttribute(String name, Collection<Object> values)
name
- values
- public LDAPMultiValueEntryAttribute(String name)
name
- public Object getValue()
getValue
in class LDAPEntryAttribute
public List<Object> getValues()
getValues
in class LDAPEntryAttribute
public boolean isMultiValued()
isMultiValued
in class LDAPEntryAttribute
public void addValue(Object value)
value
- public void addValues(Object[] values)
values
- Copyright © 2010–2018. All rights reserved.