Package org.dlese.dpc.schemedit.config
Class UserInfo
java.lang.Object
org.dlese.dpc.schemedit.config.UserInfo
- All Implemented Interfaces:
Serializable
Bean to handle the "userInfo" element of the framework_config record, which
is used to specify where information about the current user is to be placed
in metadata records.
The userInfo element contains a "autoPopulate" attribute that specifies WHEN the user info is to be inserted (e.g., at record creation time) and the repeating "property" elements specify a) the value (obtained from the User object) and b) the xpath of the metadataData record at which the value is to be inserted.
- Author:
- ostwald
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
autoPopulate
-
-
Constructor Details
-
UserInfo
public UserInfo(org.dom4j.Element e) Constructor for the UserInfo object- Parameters:
e- a userInfo element from the framework-config record
-
-
Method Details
-
getPath
Gets the xpath for the specified property in the metadata record- Parameters:
propName- attribute of the User object- Returns:
- The path value
-
propNameIterator
Returns an Iterator over the properties specified by this UserInfo object.- Returns:
- iterator over avail
-
toString
Description of the Method
-