org.n52.security.common.authentication
Class Field

java.lang.Object
  extended byorg.n52.security.common.authentication.Field

public class Field
extends java.lang.Object

Fields are associated with Credentials. They can be used to (auto-)generate GUI-components for the input of the "Credential-values"

Author:
Arne Broering

Constructor Summary
Field(java.lang.String pName, java.lang.String pDescription)
          Creates an editable credential field.
Field(java.lang.String pName, java.lang.String pDescription, java.lang.String pValue, boolean pIsReadOnly)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 java.lang.String getValue()
           
 boolean isReadonly()
           
 void setValue(java.lang.String pValue)
          Sets the value of this credential field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Field

public Field(java.lang.String pName,
             java.lang.String pDescription)
Creates an editable credential field.

Parameters:
pName -
pDescription -

Field

public Field(java.lang.String pName,
             java.lang.String pDescription,
             java.lang.String pValue,
             boolean pIsReadOnly)
Method Detail

setValue

public void setValue(java.lang.String pValue)
Sets the value of this credential field. The call has no effect, if the field isReadonly() evaluates to true.

Parameters:
pValue -

getValue

public java.lang.String getValue()

getDescription

public java.lang.String getDescription()

getName

public java.lang.String getName()

isReadonly

public boolean isReadonly()


Copyright © 2004-2007 52 North. All Rights Reserved.