DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.config
Class UserInfo

java.lang.Object
  extended by org.dlese.dpc.schemedit.config.UserInfo
All Implemented Interfaces:
Serializable

public class UserInfo
extends Object
implements 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:
Serialized Form

Field Summary
 String autoPopulate
           
 
Constructor Summary
UserInfo(Element e)
          Constructor for the UserInfo object
 
Method Summary
 String getPath(String propName)
          Gets the xpath for the specified property in the metadata record
 Iterator propNameIterator()
          Returns an Iterator over the properties specified by this UserInfo object.
 String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

autoPopulate

public String autoPopulate
Constructor Detail

UserInfo

public UserInfo(Element e)
Constructor for the UserInfo object

Parameters:
e - a userInfo element from the framework-config record
Method Detail

getPath

public String getPath(String propName)
Gets the xpath for the specified property in the metadata record

Parameters:
propName - attribute of the User object
Returns:
The path value

propNameIterator

public Iterator propNameIterator()
Returns an Iterator over the properties specified by this UserInfo object.

Returns:
iterator over avail

toString

public String toString()
Description of the Method

Overrides:
toString in class Object
Returns:
Description of the Return Value

DLESE Tools
v1.6.0