Class BasicDirRecord
- java.lang.Object
-
- org.bedework.util.directory.common.DirRecord
-
- org.bedework.util.directory.common.BasicDirRecord
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LdifRecord
public class BasicDirRecord extends DirRecord
This class represents a directory record which may be built from a number of attributes represented as a BasicAttributes object.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.bedework.util.directory.common.DirRecord
changeTypeAdd, changeTypeDelete, changeTypeInvalid, changeTypeModdn, changeTypeModify
-
-
Constructor Summary
Constructors Constructor Description BasicDirRecord()Create a record which can have values added.BasicDirRecord(Attributes attrs)Create a record with the given attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Should be overriden to clear attributes.AttributesgetAttributes()StringtoString()-
Methods inherited from class org.bedework.util.directory.common.DirRecord
addAttr, attrElements, attrEquals, attrValCompare, attrValCompare, contains, dnEquals, equals, equals, equals, equalsAllBut, findAttr, getAttrStr, getAttrVal, getChangeType, getDn, getIsContent, getMods, getName, setAttr, setChangeType, setDn, setIsContent, setName
-
-
-
-
Constructor Detail
-
BasicDirRecord
public BasicDirRecord()
Create a record which can have values added.
-
BasicDirRecord
public BasicDirRecord(Attributes attrs)
Create a record with the given attributes.- Parameters:
attrs- Attributes object
-
-
Method Detail
-
getAttributes
public Attributes getAttributes()
- Specified by:
getAttributesin classDirRecord- Returns:
- Attributes
-
clear
public void clear()
Description copied from class:DirRecordShould be overriden to clear attributes.
-
-