02/28/2005
 

com.epicentric.authentication
Class AccountPropertyDescriptor

java.lang.Object
  |
  +--com.epicentric.authentication.AccountPropertyDescriptor

public class AccountPropertyDescriptor
extends Object

Description of an authentication account's attributes, such as user name and password. These are attributes required to manage an account. They help in building the website forms. Objects of this class do not contain the attribute values, but rather describe the characteristics of the attributes.

Since:
version 4.0
See Also:
AccountTypeDescriptor

Method Summary
 String getDataSourceField()
          Returns the data source field that this AccountPropertyDescriptor maps to.
 Class getDataType()
          Returns the data type of this AccountPropertyDescriptor.
 String getDescription()
          Returns the description of this AccountPropertyDescriptor.
 String getID()
          Returns the ID of this AccountPropertyDescriptor.
 int getMaxSize()
          Returns the maximum field size for this AccountPropertyDescriptor.
 String getTitle()
          Returns the printable name of this AccountPropertyDescriptor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getID

public String getID()
Returns the ID of this AccountPropertyDescriptor.
Returns:
Unique identifier of this AccountPropertyDescriptor

getDataType

public Class getDataType()
Returns the data type of this AccountPropertyDescriptor. This method is used for property value validation.
Returns:
Class (data type) for this AccountPropertyDescriptor

getMaxSize

public int getMaxSize()
Returns the maximum field size for this AccountPropertyDescriptor. This method is used for field length checking.
Returns:
Maximum field size for this AccountPropertyDescriptor

getTitle

public String getTitle()
Returns the printable name of this AccountPropertyDescriptor.
Returns:
Printable name of this AccountPropertyDescriptor

getDescription

public String getDescription()
Returns the description of this AccountPropertyDescriptor. This description can be used for administrative screens or tooltips.
Returns:
Short description of this AccountPropertyDescriptor

getDataSourceField

public String getDataSourceField()
Returns the data source field that this AccountPropertyDescriptor maps to. For SQL this would be a column name, and for JNDI it would be an attribute name (such as userid)
Returns:
Name of the data source field

02/28/2005
 

Copyright and Trademark Notices