public class PropertySet
extends java.lang.Object
implements java.io.Serializable
PropertySet
in a PropertySetCollection
In other words, it represents a particular search result entry from a collection of search resultsModifier and Type | Field and Description |
---|---|
protected javax.naming.directory.Attributes |
attributeSet |
protected java.util.Vector |
attributeVector |
Modifier | Constructor and Description |
---|---|
protected |
PropertySet() |
protected |
PropertySet(java.lang.String baseDN, javax.naming.directory.Attributes attributeSet, java.util.Vector attributeVector) |
|
PropertySet(java.lang.String baseDN, javax.naming.directory.SearchResult result) |
Modifier and Type | Method and Description |
---|---|
protected PropertySet |
doSearch(javax.naming.directory.DirContext ctx, java.lang.String[] attrList) |
java.lang.String[] |
getAttributeNames()
Returns an array of String containing the name of all the properties - all the attribute names returned with this particular search entry.
|
protected javax.naming.directory.Attributes |
getAttributeSet() |
java.lang.String |
getDN()
Returns the name of this property set - the DN of the search entry represented by this property set
|
protected java.lang.String[] |
getMissingAttributes(java.lang.String[] attrList) |
Property |
getProperty(int i)
Returns the i-th property of this property set - the i-th attribute of this search entry.
|
Property |
getProperty(java.lang.String attrID)
Returns the property identified by the attrID - the attrID is the attribute name
|
boolean |
isEmpty()
Returns true if the property set does not contain any properties; false otherwise
|
protected void |
mergePropertySet(PropertySet newPs) |
protected PropertySet |
returnPropertySet(java.lang.String[] attrList) |
int |
size()
Returns the size of this property set - the number of returned attributes for this particular search result entry
|
protected java.util.Vector attributeVector
protected javax.naming.directory.Attributes attributeSet
protected PropertySet()
protected PropertySet(java.lang.String baseDN, javax.naming.directory.Attributes attributeSet, java.util.Vector attributeVector)
public PropertySet(java.lang.String baseDN, javax.naming.directory.SearchResult result)
public final boolean isEmpty()
public final int size()
public final java.lang.String[] getAttributeNames()
public final Property getProperty(int i)
i
- the index of the property to be retrievedpublic final Property getProperty(java.lang.String attrID)
attrID
- the attribute to be retrievedpublic final java.lang.String getDN()
protected void mergePropertySet(PropertySet newPs)
protected java.lang.String[] getMissingAttributes(java.lang.String[] attrList)
protected PropertySet returnPropertySet(java.lang.String[] attrList)
protected javax.naming.directory.Attributes getAttributeSet()
protected PropertySet doSearch(javax.naming.directory.DirContext ctx, java.lang.String[] attrList) throws UtilException
UtilException