tigase.server.sreceiver
Class PropertyItem

java.lang.Object
  extended by tigase.server.sreceiver.PropertyItem

public class PropertyItem
extends java.lang.Object

Describe class PropertyItem here. Created: Fri May 18 12:14:03 2007

Version:
$Rev: 630 $
Author:
Artur Hefczyc

Constructor Summary
PropertyItem(java.lang.String name, java.lang.Object def_value)
          Creates a new PropertyItem instance.
PropertyItem(java.lang.String name, java.lang.String display_name, java.lang.Object def_value)
          Creates a new PropertyItem instance.
PropertyItem(java.lang.String name, java.lang.String display_name, java.lang.Object def_value, java.lang.String[] possible_values, java.lang.String description)
          Creates a new PropertyItem instance.
 
Method Summary
 java.lang.String getDescription()
          Gets the value of description
 java.lang.String getDisplay_name()
          Gets the value of display_name
 java.lang.String getName()
          Gets the value of name
 java.lang.String[] getPossible_values()
          Gets the value of possible_values
 java.lang.Object getValue()
          Gets the value of the property
 void setDescription(java.lang.String argDescription)
          Sets the value of description
 void setDisplay_name(java.lang.String argDisplay_name)
          Sets the value of display_name
 void setName(java.lang.String argName)
          Sets the value of name
 void setPossible_values(java.lang.String[] argPossible_values)
          Sets the value of possible_values
 void setValue(java.lang.Object argValue)
          Sets the value of the property
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyItem

public PropertyItem(java.lang.String name,
                    java.lang.String display_name,
                    java.lang.Object def_value,
                    java.lang.String[] possible_values,
                    java.lang.String description)
Creates a new PropertyItem instance.


PropertyItem

public PropertyItem(java.lang.String name,
                    java.lang.Object def_value)
Creates a new PropertyItem instance.


PropertyItem

public PropertyItem(java.lang.String name,
                    java.lang.String display_name,
                    java.lang.Object def_value)
Creates a new PropertyItem instance.

Method Detail

getName

public java.lang.String getName()
Gets the value of name

Returns:
the value of name

setName

public void setName(java.lang.String argName)
Sets the value of name

Parameters:
argName - Value to assign to this.name

getDisplay_name

public java.lang.String getDisplay_name()
Gets the value of display_name

Returns:
the value of display_name

setDisplay_name

public void setDisplay_name(java.lang.String argDisplay_name)
Sets the value of display_name

Parameters:
argDisplay_name - Value to assign to this.display_name

getValue

public java.lang.Object getValue()
Gets the value of the property

Returns:
the value of value

setValue

public void setValue(java.lang.Object argValue)
Sets the value of the property

Parameters:
argValue - Value to assign to this.value

getPossible_values

public java.lang.String[] getPossible_values()
Gets the value of possible_values

Returns:
the value of possible_values

setPossible_values

public void setPossible_values(java.lang.String[] argPossible_values)
Sets the value of possible_values

Parameters:
argPossible_values - Value to assign to this.possible_values

getDescription

public java.lang.String getDescription()
Gets the value of description

Returns:
the value of description

setDescription

public void setDescription(java.lang.String argDescription)
Sets the value of description

Parameters:
argDescription - Value to assign to this.description

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008 Tigase. All Rights Reserved.