Clearspace API (2.0.15) Web Services Client Javadocs

com.jivesoftware.community.webservices
Class WSUserProfile

java.lang.Object
  extended by com.jivesoftware.community.webservices.WSUserProfile

public class WSUserProfile
extends java.lang.Object

Contains user data for a particular WSProfileField.

See Also:
WSProfileField, WSProfileFieldOption

Constructor Summary
WSUserProfile()
           
 
Method Summary
 long getFieldID()
          Gets the id of the profile field.
 java.lang.String getValue()
          Gets the value that the user selected for the profile field.
 java.lang.String[] getValues()
          Gets the array of values that the user selected for the profile field.
 void setFieldID(long fieldID)
          Sets the id of the profile field.
 void setValue(java.lang.String value)
          Sets the value that the user selected for the profile field.
 void setValues(java.lang.String[] values)
          Sets the array of values that the user selected for the profile field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSUserProfile

public WSUserProfile()
Method Detail

getFieldID

public long getFieldID()
Gets the id of the profile field.

Returns:
the id of the profile field.

setFieldID

public void setFieldID(long fieldID)
Sets the id of the profile field.

Parameters:
fieldID - the id of the profile field.

getValues

public java.lang.String[] getValues()
Gets the array of values that the user selected for the profile field. If the field does not allow multiple selections, this method will return null. To get the single value, use getValue().

Returns:
the array of values that the user selected

setValues

public void setValues(java.lang.String[] values)
Sets the array of values that the user selected for the profile field. If the field does not allow multiple selections, the value should be set using setValue(String).

Parameters:
values - the array of values that the user selected

getValue

public java.lang.String getValue()
Gets the value that the user selected for the profile field. If the field can contain multiple selections, this method will return null. To get the array of values, use getValues().

Returns:
the value that the user entered

setValue

public void setValue(java.lang.String value)
Sets the value that the user selected for the profile field. If the field can contain multiple selections, the values should be set using setValues(String[]).

Parameters:
value - the value that the user entered

Clearspace Project Page

Copyright © 1999-2007 Jive Software.